feat: enhance Playwright configuration and CI workflow for E2E testing
- Updated playwright.config.js to allow dynamic base URL configuration via environment variables, improving flexibility for different environments. - Modified .gitea/workflows/test.yml to include steps for starting a development stack, seeding test data, and stopping the stack after tests, enhancing the CI process for end-to-end testing. - Refactored login test in dev-smoke-test.spec.js to use a dedicated function for submitting the login form, improving code clarity and maintainability.
This commit is contained in:
1 parent
1f2c8ea0f1
commit
50b8ff12cd
5 files changed
+143
-10
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "shinkan-jinkendo",
|
||||
"private": true,
|
||||
"description": "Workspace-Metadaten für E2E (Playwright). Frontend: frontend/",
|
||||
"scripts": {
|
||||
"test:e2e": "playwright test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.49.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user