Files
gnezim 483e034e63 fix: update routing to show online board at /, fix component tests
- Changed root route (/) to show OnlineBoardStartPage directly instead of redirecting
- Updated component tests to visit /components route
- Fixed button component test assertions (CSS checks and disabled state verification)
2026-04-06 00:31:58 +03:00

23 lines
543 B
TypeScript

import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
baseUrl: 'http://127.0.0.1:3001',
supportFile: 'cypress/support/index.ts',
specPattern: ['cypress/integration/**/*.cy.ts', 'cypress/integration/**/*.spec.ts'],
viewportWidth: 1440,
viewportHeight: 900,
video: false,
screenshotOnRunFailure: true,
requestTimeout: 10000,
responseTimeout: 10000,
defaultCommandTimeout: 10000,
},
component: {
devServer: {
framework: 'react',
bundler: 'vite',
},
},
})