- Added comprehensive E2E test to prevent CSV download regression - Implemented stable error toast verification to avoid false positives - Updated .browserslistrc to remove outdated browser versions - Refined .gitignore to exclude only Cypress-generated artifacts - Configured proper test selectors and wait strategies Addresses: WEB-493
26 lines
646 B
TypeScript
26 lines
646 B
TypeScript
import { defineConfig } from 'cypress';
|
|
|
|
export default defineConfig({
|
|
videosFolder: 'cypress/videos',
|
|
screenshotsFolder: 'cypress/screenshots',
|
|
fixturesFolder: 'cypress/fixtures',
|
|
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
return require('./cypress/plugins/index.ts')(on, config);
|
|
},
|
|
baseUrl: 'http://localhost:4200',
|
|
experimentalStudio: true // enable Cypress Studio
|
|
},
|
|
|
|
component: {
|
|
devServer: {
|
|
framework: 'angular',
|
|
bundler: 'webpack'
|
|
},
|
|
specPattern: '**/*.cy.ts'
|
|
}
|
|
});
|