playwright: dashboard

This commit is contained in:
ISA
2025-08-14 15:56:10 +02:00
parent 629385fa5c
commit 94051b69f9
7 changed files with 12 additions and 7 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.724 NEXT_PUBLIC_APP_VERSION=1.6.725
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.724 NEXT_PUBLIC_APP_VERSION=1.6.725
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.725] 2025-08-14
- playwright: Dashboard Seite test
---
## [1.6.724] 2025-08-14 ## [1.6.724] 2025-08-14
- playwright: analoge Eingänge Test erfolgreich - playwright: analoge Eingänge Test erfolgreich

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.724", "version": "1.6.725",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.724", "version": "1.6.725",
"dependencies": { "dependencies": {
"@fontsource/roboto": "^5.1.0", "@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4", "@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.724", "version": "1.6.725",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

View File

@@ -28,7 +28,7 @@ export default defineConfig({
/* Base URL to use in actions like `await page.goto('/')`. */ /* Base URL to use in actions like `await page.goto('/')`. */
baseURL: "http://localhost:3000", baseURL: "http://localhost:3000",
headless: false, headless: false,
launchOptions: { slowMo: 100 }, launchOptions: { slowMo: 300 },
video: "retain-on-failure", video: "retain-on-failure",
screenshot: "only-on-failure", screenshot: "only-on-failure",

View File

@@ -115,7 +115,7 @@ test("Daschboard-Test", async ({ page }) => {
page, page,
page page
.locator("div") .locator("div")
.filter({ hasText: /^Webversion: 1\.6\.723$/ }) .filter({ hasText: /^Webversion: 1\.6/ })
.locator("path") .locator("path")
); );
await highlightAndExpectVisible( await highlightAndExpectVisible(