-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Labels
Tests[Type] EnhancementNew feature or requestNew feature or request[Type] ReliabilityPlayground uptime, reliability, not crashingPlayground uptime, reliability, not crashing
Description
Currently, all E2E tests run on vite dev server:
"e2e": {
"executor": "nx:noop",
"dependsOn": ["dev", "e2e:cypress"]
},
"e2e:cypress": {
"executor": "@nx/cypress:cypress",
"options": {
"cypressConfig": "packages/playground/website/cypress.config.ts",
"testingType": "e2e",
"baseUrl": "http://localhost:5400/website-server/",
}
}
However, we could:
- Make the
e2e
task depend onbuild
to build the production version - Run the
preview
task to serve the production version - Set the
baseUrl
to the URL used by thepreview
task
Which would run these tests in the same environment as the production site runs.
Metadata
Metadata
Assignees
Labels
Tests[Type] EnhancementNew feature or requestNew feature or request[Type] ReliabilityPlayground uptime, reliability, not crashingPlayground uptime, reliability, not crashing