Files
library/apps/frontend-e2e/cypress.config.ts
2026-02-03 10:09:37 -08:00

17 lines
518 B
TypeScript

import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
import { defineConfig } from 'cypress';
export default defineConfig({
e2e: {
...nxE2EPreset(__filename, {
cypressDir: 'src',
webServerCommands: {
default: 'pnpm exec nx run frontend:serve',
production: 'pnpm exec nx run frontend:serve-static',
},
ciWebServerCommand: 'pnpm exec nx run frontend:serve-static',
ciBaseUrl: 'http://localhost:4200',
}),
baseUrl: 'http://localhost:4200',
},
});