Skip to main content

🖱️ To-Do

You can look into the issues here, on what features are missing from the frontend.

E2E tests already exist in apps/frontend/e2e. They use Cypress with the cucumber preprocessor: the specs are Gherkin .feature files under test/features, backed by page objects in test/pages and step definitions in test/step_definitions. They currently cover login, duplicates, stacks and user settings — more coverage is very welcome.

To run them, first bring up the dedicated stack from deploy/compose (it serves the app on http://localhost:8080 and seeds an admin/admin account, which is what cypress.config.js expects):

cd deploy/compose
docker compose --env-file librephotos.env -f docker-compose.e2e.yml up -d

Then, in a second shell, install and run the suite:

cd apps/frontend/e2e
yarn install
yarn test # or `yarn start` for the interactive runner

The E2E suite is not wired into CI, so please run it locally before opening a PR.

You can also help by expanding the documentation.