15
apps/web-e2e/cypress.config.ts
Normal file
15
apps/web-e2e/cypress.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { nxE2EPreset } from '@nx/cypress/plugins/cypress-preset';
|
||||
import { defineConfig } from 'cypress';
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
...nxE2EPreset(__filename, {
|
||||
cypressDir: 'src',
|
||||
webServerCommands: {
|
||||
default: 'npx nx run @my-monorepo/web:dev',
|
||||
},
|
||||
ciWebServerCommand: 'npx nx run @my-monorepo/web:start',
|
||||
ciBaseUrl: 'http://localhost:3000',
|
||||
}),
|
||||
baseUrl: 'http://127.0.0.1:3000',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user