fix: headless

This commit is contained in:
ISA
2025-08-29 10:15:42 +02:00
parent b6ab6a11f9
commit 3e998d6644
7 changed files with 14 additions and 9 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.773 NEXT_PUBLIC_APP_VERSION=1.6.774
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.773 NEXT_PUBLIC_APP_VERSION=1.6.774
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -4,13 +4,13 @@ steps:
commands: commands:
- npm install --prefer-offline --no-audit - npm install --prefer-offline --no-audit
- name: install-playwright - name: install-chromium-only
image: node:22 image: node:22
commands: commands:
- npx playwright install - npx playwright install chromium
- npx playwright install-deps - npx playwright install-deps
- name: run-tests - name: run-tests
image: node:22 image: node:22
commands: commands:
- npx playwright test - npx playwright test --project=chromium

View File

@@ -1,3 +1,8 @@
## [1.6.774] 2025-08-29
- fix. npm install statt npm ci, um Zeit zu sparen
---
## [1.6.773] 2025-08-29 ## [1.6.773] 2025-08-29
- fix: woodpecker node 22 - fix: woodpecker node 22

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.773", "version": "1.6.774",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.773", "version": "1.6.774",
"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.773", "version": "1.6.774",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

View File

@@ -27,7 +27,7 @@ export default defineConfig({
use: { use: {
/* 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: true,
launchOptions: { slowMo: 300 }, launchOptions: { slowMo: 300 },
viewport: { width: 1920, height: 1080 }, viewport: { width: 1920, height: 1080 },
//video: "retain-on-failure", //video: "retain-on-failure",