test: add initial Cypress e2e test infrastructure

Smoke tests for verifying Cypress runs, plus basic API tests
for health and sessions endpoints.
This commit is contained in:
2026-02-15 23:05:56 +01:00
parent 3feedd5698
commit 991080ae2b
6 changed files with 2333 additions and 0 deletions

12
cypress.config.js Normal file
View File

@@ -0,0 +1,12 @@
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
supportFile: 'cypress/support/e2e.js',
specPattern: 'cypress/e2e/**/*.cy.{js,ts}',
defaultCommandTimeout: 10000,
requestTimeout: 10000,
video: false,
screenshotOnRunFailure: true,
},
});