mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2026-05-02 06:55:49 +00:00
master
- Drop `await clearCache()` from login/auth helpers; clearing cache before every login is no longer necessary now that charlie isolates sessions. - Replace `logout` helpers with `clearCache` directly in `it()` calls; the helpers were either thin wrappers around `clearCache()` or did real navigation that is no longer worth the maintenance. - Simplify `xpath=//button[text()=...]` / `[contains(., ...)]` button text selectors to charlie's bare-string (or RegExp for OR-clauses) form.
Syncthing Cloudron App
This repository contains the Cloudron app package source for Syncthing.
Installation
or using the Cloudron command line tooling
cloudron install --appstore-id net.syncthing.cloudronapp
Building
The app package can be built using the Cloudron command line tooling.
cd syncthing-app
cloudron build
cloudron install
Testing
The e2e tests are located in the test/ folder and require nodejs. They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the repos are still ok. The tests expect port 29418 to be available.
cd syncthing-app/test
npm install
PATH=$PATH:node_modules/.bin USERNAME=user PASSWORD=password mocha --bail test.js
Languages
JavaScript
53.3%
Shell
35.2%
Dockerfile
11.5%