Skip to content

Commit

Permalink
fix: never ending e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho-vazquez committed May 30, 2024
1 parent 4d60dae commit 2c3b511
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 32 deletions.
10 changes: 9 additions & 1 deletion e2e/docs/lumberjack-docs-app-e2e/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ import { defineConfig } from 'cypress';

export default defineConfig({
e2e: {
...nxE2EPreset(__dirname),
...nxE2EPreset(__filename, {
cypressDir: 'src',
webServerCommands: {
default: 'nx run docs-lumberjack-docs-app:serve:development',
production: 'nx run docs-lumberjack-docs-app:serve:production',
},
ciWebServerCommand: 'nx run docs-lumberjack-docs-app:start',
}),
baseUrl: 'http://localhost:3000',
},
});
32 changes: 1 addition & 31 deletions e2e/docs/lumberjack-docs-app-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,5 @@
"projectType": "application",
"tags": [],
"implicitDependencies": ["docs-lumberjack-docs-app"],
"targets": {
"e2e": {
"executor": "@nx/cypress:cypress",
"dependsOn": [
{
"target": "build",
"dependencies": true
}
],
"options": {
"cypressConfig": "e2e/docs/lumberjack-docs-app-e2e/cypress.config.ts",
"devServerTarget": "docs-lumberjack-docs-app:serve:development",
"testingType": "e2e"
},
"configurations": {
"production": {
"devServerTarget": "docs-lumberjack-docs-app:serve:production"
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"configurations": {
"report": {
"format": "json",
"force": true,
"outputFile": "reports/e2e/docs/lumberjack-docs-app-e2e/lint/report.json"
}
}
}
}
"targets": {}
}

0 comments on commit 2c3b511

Please sign in to comment.