Compare commits

2 Commits

8 changed files with 34 additions and 6 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.814 NEXT_PUBLIC_APP_VERSION=1.6.816
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.814 NEXT_PUBLIC_APP_VERSION=1.6.816
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -35,3 +35,13 @@ steps:
commands: commands:
- npm ci - npm ci
- npx playwright test --project=chromium - npx playwright test --project=chromium
- name: notify-success
when:
status: success
commands:
- curl.exe -d "Tests erfolgreich" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35
- name: notify-failure
when:
status: failure
commands:
- curl.exe -d "Tests fehlgeschlagen" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35

View File

@@ -1,3 +1,13 @@
## [1.6.816] 2025-09-03
- feat(ci): Push-Benachrichtigung bei Test-Erfolg oder -Fehlschlag für Jenkins und Woodpecker integriert
---
## [1.6.815] 2025-09-03
- refactor: move headerTest to header folder
---
## [1.6.814] 2025-09-02 ## [1.6.814] 2025-09-02
- fix: playwright Test bugs beheben - fix: playwright Test bugs beheben

8
Jenkinsfile vendored
View File

@@ -16,4 +16,12 @@ pipeline {
} }
} }
} }
post {
success {
sh 'curl.exe -d "Tests erfolgreich" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35'
}
failure {
sh 'curl.exe -d "Tests fehlgeschlagen" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35'
}
}
} }

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.814", "version": "1.6.816",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.814", "version": "1.6.816",
"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.814", "version": "1.6.816",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3000", "dev": "next dev -p 3000",

View File

@@ -21,7 +21,7 @@ export default defineConfig({
use: { use: {
baseURL: "http://localhost:3000", baseURL: "http://localhost:3000",
headless: false, headless: true,
launchOptions: { args: ["--no-sandbox", "--disable-dev-shm-usage"] }, launchOptions: { args: ["--no-sandbox", "--disable-dev-shm-usage"] },
viewport: { width: 1920, height: 1080 }, viewport: { width: 1920, height: 1080 },
video: "on", video: "on",