cypress.config.ts 401 B

1234567891011
  1. import { defineConfig } from 'cypress';
  2. import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
  3. export default defineConfig({
  4. e2e: {
  5. ...nxE2EPreset(__dirname),
  6. // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
  7. // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
  8. injectDocumentDomain: true
  9. }
  10. });