From 539ebd5ff6e05a3b82ceab7824c4ff5ce17babb3 Mon Sep 17 00:00:00 2001 From: ISA Date: Thu, 28 Aug 2025 08:45:10 +0200 Subject: [PATCH] test: WIP: digitalInputsTest.ts --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- playwright/tests/combined.spec.ts | 10 +++++----- playwright/tests/digitalInputsTest.ts | 9 +++++---- 7 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.env.development b/.env.development index 81a802c..c1899a7 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.757 +NEXT_PUBLIC_APP_VERSION=1.6.758 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 6ed8e6c..d9a5c69 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.757 +NEXT_PUBLIC_APP_VERSION=1.6.758 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c453fc9..a9502b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.758] – 2025-08-28 + +- fix: Jenkinsfile + +--- ## [1.6.757] – 2025-08-28 - feat: Jenkinsfile diff --git a/package-lock.json b/package-lock.json index 832479d..7bf6ac4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.757", + "version": "1.6.758", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.757", + "version": "1.6.758", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 657d72d..e9ce3fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.757", + "version": "1.6.758", "private": true, "scripts": { "dev": "next dev", diff --git a/playwright/tests/combined.spec.ts b/playwright/tests/combined.spec.ts index b3a9ef5..1e3bafa 100644 --- a/playwright/tests/combined.spec.ts +++ b/playwright/tests/combined.spec.ts @@ -2,11 +2,11 @@ import { test } from "../fixtures"; import { runDashboardTest } from "./dashboardTest"; import { runAnalogInputsTest } from "./analogInputsTest"; import { runSettingsPageTest } from "./settingsPageTest"; - -import "./digitalInputsTest"; +import { runDigitalInputsTest } from "./digitalInputsTest"; test("Dashboard, AnalogInputs und SettingsPage", async ({ page }) => { - await runDashboardTest(page); - await runAnalogInputsTest(page); - await runSettingsPageTest(page); + //await runDashboardTest(page); + //await runAnalogInputsTest(page); + //await runSettingsPageTest(page); + await runDigitalInputsTest(page); }); diff --git a/playwright/tests/digitalInputsTest.ts b/playwright/tests/digitalInputsTest.ts index a7631ac..e9ec4f4 100644 --- a/playwright/tests/digitalInputsTest.ts +++ b/playwright/tests/digitalInputsTest.ts @@ -1,7 +1,8 @@ -import { test, expect } from "@playwright/test"; +import type { Page } from "@playwright/test"; +import { expect } from "@playwright/test"; -test("test", async ({ page }) => { - await page.goto("http://localhost:3000/digitalInputs"); +export async function runDigitalInputsTest(page: Page) { + await page.goto("/digitalInputs"); await expect( page.getByRole("img", { name: "Logo", exact: true }) ).toBeVisible(); @@ -114,4 +115,4 @@ test("test", async ({ page }) => { page.getByRole("row", { name: "● DE 13" }).locator("span") ).toBeVisible(); await expect(page.getByRole("cell", { name: "DE 13" })).toBeVisible(); -}); +}