483e034e63
- 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)
23 lines
543 B
TypeScript
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',
|
|
},
|
|
},
|
|
})
|