import { defineConfig } from 'cypress'; import { nxE2EPreset } from '@nrwl/cypress/plugins/cypress-preset'; import setupNodeEvents from './src/plugins/index'; const cypressJsonConfig = { fileServerFolder: '.', fixturesFolder: './src/fixtures', video: true, videosFolder: '../../dist/cypress/graph/client-e2e/videos', screenshotsFolder: '../../dist/cypress/graph/client-e2e/screenshots', chromeWebSecurity: false, specPattern: './src/e2e/**/release-serve-*.cy.{js,jsx,ts,tsx}', supportFile: 'src/support/e2e.ts', }; export default defineConfig({ e2e: { ...nxE2EPreset(__dirname), ...cypressJsonConfig, setupNodeEvents, }, });