f08a86c453
- Implement NotFoundPage with required test IDs for 404 error page - Add data-testids: error-404-title, error-message, back-button, home-link, error-heading - Fix Cypress baseUrl config from 3003/components to localhost:3001 - Clean up .js files in pages directory (keep only .tsx) - App passes Task 1.1 requirements (404 page structure complete)
23 lines
543 B
TypeScript
23 lines
543 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
e2e: {
|
|
baseUrl: 'http://localhost: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',
|
|
},
|
|
},
|
|
})
|