| 12345678910111213141516171819202122232425262728 |
- const { defineConfig } = require('cypress');
- module.exports = defineConfig({
- viewportWidth: 1920,
- viewportHeight: 1080,
- screenshotsFolder: './screenshots/screenshots',
- videosFolder: './screenshots/videos',
- video: true,
- reporter: '../../node_modules/cypress-multi-reporters',
- reporterOptions: {
- configFile: 'reporter-config.json',
- },
- fixturesFolder: 'fixtures',
- defaultCommandTimeout: 30000,
- retries: {
- runMode: 1,
- openMode: 0,
- },
- e2e: {
- setupNodeEvents(on, config) {
- return require('./plugins/index.ts')(on, config);
- },
- specPattern: 'tests/**/*.cy.{js,jsx,ts,tsx}',
- supportFile: 'support/index.ts',
- testIsolation: false,
- injectDocumentDomain: true,
- },
- });
|