playwright: analoge Eingänge Test erfolgreich

This commit is contained in:
ISA
2025-08-14 14:41:04 +02:00
parent 71dd37bb0e
commit a446ce80ee
7 changed files with 16 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.722 NEXT_PUBLIC_APP_VERSION=1.6.723
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.722 NEXT_PUBLIC_APP_VERSION=1.6.723
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -1,3 +1,8 @@
## [1.6.723] 2025-08-14
- playwright: analge Eingänge mit highlight color test erfoögreich
---
## [1.6.722] 2025-08-14 ## [1.6.722] 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.722", "version": "1.6.723",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.722", "version": "1.6.723",
"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.722", "version": "1.6.723",
"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: 300 }, launchOptions: { slowMo: 100 },
video: "retain-on-failure", video: "retain-on-failure",
screenshot: "only-on-failure", screenshot: "only-on-failure",

View File

@@ -252,13 +252,17 @@ test("test", async ({ page }) => {
await highlightAndExpectVisible(page, page.getByRole("img")); await highlightAndExpectVisible(page, page.getByRole("img"));
await page.waitForTimeout(3000); await page.waitForTimeout(3000);
await highlightAndExpectVisible(
page,
page.getByRole("button", { name: "Alle Messwerte " })
);
await page.getByRole("button", { name: "Alle Messwerte " }).click(); await page.getByRole("button", { name: "Alle Messwerte " }).click();
await page.waitForTimeout(3000); await page.waitForTimeout(3000);
await page.getByRole("option", { name: "Stündlich" }).click(); await page.getByRole("option", { name: "Stündlich" }).click();
await page.waitForTimeout(3000); await page.waitForTimeout(3000);
await page.getByRole("button", { name: "Stündlich" }).click(); await page.getByRole("button", { name: "Stündlich" }).click();
await page.waitForTimeout(3000); await page.waitForTimeout(3000);
await page.getByRole("option", { name: "Täglich" }).click(); await page.getByRole("option", { name: "Täglich" }).click();