Files
seerr/cypress.config.ts
fallenbagel 08bb6cdc00 test(override-rules): add component tests for service id resolution
Attempt at testing components via cypress
2026-04-19 00:03:11 +08:00

28 lines
570 B
TypeScript

import { defineConfig } from 'cypress';
export default defineConfig({
projectId: 'onnqy3',
e2e: {
baseUrl: 'http://localhost:5055',
video: true,
},
component: {
devServer: {
framework: 'next',
bundler: 'webpack',
},
supportFile: 'cypress/support/component.ts',
indexHtmlFile: 'cypress/support/component-index.html',
},
env: {
ADMIN_EMAIL: 'admin@seerr.dev',
ADMIN_PASSWORD: 'test1234',
USER_EMAIL: 'friend@seerr.dev',
USER_PASSWORD: 'test1234',
},
retries: {
runMode: 2,
openMode: 0,
},
});