https://cypress.io logo
Hi Gleb, right, my bad, even though I am still se...
# e2e-testing
v
Hi Gleb, right, my bad, even though I am still seeing an error
packages/e2e/cypress/config/configFiles/cypress-desk.config.ts
Copy code
import { defineConfig } from 'cypress';

export default defineConfig({
  viewportWidth: 1920,
  viewportHeight: 1024,
  watchForFileChanges: false,
  waitForAnimations: true,
  numTestsKeptInMemory: 1,
  defaultCommandTimeout: 15000,
  requestTimeout: 15000,
  video: false,
  videoCompression: 0,
  // screenshot: true,
  chromeWebSecurity: false,
  retries: {
    runMode: 1,
    openMode: 0,
  },
  e2e: {
    experimentalSessionAndOrigin: true,
    experimentalRunAllSpecs: true,
    // We've imported your old cypress plugins here.
    // You may want to clean this up later by importing these.
    setupNodeEvents(on, config) {
      const pluginFile = require('../../plugins/index.ts');
      require('cypress-grep/src/plugin')(config);
      pluginFile(on, config);

      return config;
    },
  },
});