test: playwright mit npm run dev erfolgreich
This commit is contained in:
@@ -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.846
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.847
|
||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||
|
||||
|
||||
@@ -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.846
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.847
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
@@ -1,3 +1,8 @@
|
||||
## [1.6.847] – 2025-09-05
|
||||
|
||||
- chore: move playwright components folder to tests
|
||||
|
||||
---
|
||||
## [1.6.846] – 2025-09-05
|
||||
|
||||
- feat(kue705FO): scrolling für lange Modulnamen (48 Zeichen) + Version-Gate/Env-Override
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.846",
|
||||
"version": "1.6.847",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.846",
|
||||
"version": "1.6.847",
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
"@headlessui/react": "^2.2.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.846",
|
||||
"version": "1.6.847",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
|
||||
@@ -94,7 +94,9 @@ export async function runCableMonitoringTest(page: Page) {
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("Kabel 1"));
|
||||
// Use a unique locator to avoid strict mode violation (two elements contain text "Kabel 1").
|
||||
// The card exposes a title attribute "Kabel 1", so prefer getByTitle for a single match.
|
||||
await highlightAndExpectVisible(page, page.getByTitle("Kabel 1").first());
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(
|
||||
@@ -197,7 +199,11 @@ export async function runCableMonitoringTest(page: Page) {
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await highlightAndExpectVisible(page, page.getByText("Kabel 8"));
|
||||
// For cable 8 the UI shows a long name and exposes it via title attribute; target it explicitly
|
||||
await highlightAndExpectVisible(
|
||||
page,
|
||||
page.getByTitle("Kabel_8 in Salzgitter bei Hannover").first()
|
||||
);
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
await page.waitForTimeout(400);
|
||||
|
||||
Reference in New Issue
Block a user