chore: move playwright test and reports in playwright folder

This commit is contained in:
ISA
2025-09-16 14:18:50 +02:00
parent 73e9c63e36
commit fdb70d892c
6 changed files with 10 additions and 7 deletions

View File

@@ -23,4 +23,4 @@ NEXT_PUBLIC_USE_MOCKS=true
# z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen
# basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.378
NEXT_PUBLIC_APP_VERSION=1.1.379

View File

@@ -24,4 +24,4 @@ NEXT_PUBLIC_USE_MOCKS=false
# basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.378
NEXT_PUBLIC_APP_VERSION=1.1.379

2
.gitignore vendored
View File

@@ -55,3 +55,5 @@ docs.zip
# Ignore Playwright cache if present
/playwright/.cache/
# playwright reports
/playwright/reports/

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "nodemap",
"version": "1.1.378",
"version": "1.1.379",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "nodemap",
"version": "1.1.378",
"version": "1.1.379",
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",

View File

@@ -1,6 +1,6 @@
{
"name": "nodemap",
"version": "1.1.378",
"version": "1.1.379",
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
@@ -47,6 +47,7 @@
"test": "jest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:report": "playwright show-report ./playwright/reports",
"prepare": "husky",
"bump-version": "node ./scripts/bumpVersion.js"
},

View File

@@ -10,8 +10,8 @@ module.exports = defineConfig({
expect: { timeout: 10_000 },
fullyParallel: true,
retries: process.env.CI ? 2 : 0,
// Keep console-friendly reporter only; no JUnit output since it's not used currently
reporter: [["list"]],
// Reporters: keep console-friendly list and generate an HTML report under playwright/reports
reporter: [["list"], ["html", { outputFolder: "playwright/reports", open: "never" }]],
// Store any runner outputs (attachments, logs) under playwright/test-results
outputDir: "playwright/test-results",
use: {