Commit Graph

404 Commits

Author SHA1 Message Date
ISA
b006e3a993 playwright: Einstellungen Seite 2025-08-14 16:46:40 +02:00
ISA
5e9c7e9bfe playwright: test Reihenfolge 2025-08-14 16:20:42 +02:00
ISA
3e0b1e98bb playwright: Reihenfolge 2025-08-14 16:11:50 +02:00
ISA
94051b69f9 playwright: dashboard 2025-08-14 15:56:10 +02:00
ISA
629385fa5c playwright: Dashboard Seite test 2025-08-14 15:06:35 +02:00
ISA
a446ce80ee playwright: analoge Eingänge Test erfolgreich 2025-08-14 14:41:04 +02:00
ISA
71dd37bb0e playwright: analge Eingänge mit highlight color test erfoögreich 2025-08-14 14:23:00 +02:00
ISA
08370cf898 playwright: analoge Eingänge Test erfolgreich 2025-08-14 14:05:21 +02:00
ISA
fa92004d94 Playwright : ausgewählte Element rot färben 2025-08-14 13:39:20 +02:00
ISA
3753babf5f doc: comment in test for analog inputs 2025-08-14 12:08:52 +02:00
ISA
87cbdca79c refactor: playwright and tests in one folder 2025-08-14 12:06:20 +02:00
ISA
bb68327604 Feat: Analogeingänge (Messwerteingänge) Modal 2025-08-14 10:20:33 +02:00
ISA
2db9da2394 feat: close button and maximize modal 2025-08-14 09:42:24 +02:00
ISA
c3fc8e0a4a Messkurve Modal in Messwerteingänge 2025-08-14 09:03:50 +02:00
ISA
eff606e59a fix: KÜ Version 4.20 in daschboard KÜs Status anzeigen 2025-08-14 08:09:43 +02:00
ISA
f1ba9d4e4d docs: Kabelüberwachung Overlay für Events (Abgleich, TDR und RSL) Messung 2025-08-13 16:09:55 +02:00
ISA
7bc13505b2 feat: Overlay nicht über die Seite sondern nur über den KÜ Slot wenn ein Event kommt 2025-08-13 14:54:19 +02:00
ISA
6da0408140 doc in TODO 2025-08-13 14:31:51 +02:00
ISA
ad6d89847e CPL Events Progressbar in Prozent anzeigen 2025-08-13 14:20:38 +02:00
ISA
5496254acb Events Prograssbar in Prozent 2025-08-13 14:15:51 +02:00
ISA
8fcbf6cfcd Progressbar mit Prozent und Zeit 2025-08-13 14:04:21 +02:00
ISA
974f468766 feat: Slot Nummer anzeigen bei Events 2025-08-13 12:17:13 +02:00
ISA
0fb6d184bd feat: Meldung für Events darstellen (Kalibrierung, TDR ud Schleifenmessung) 2025-08-13 12:13:16 +02:00
ISA
48d634295a Events Schleifenmessung, TDR-Messung und Abgleich in public/CPL/kueData.js eingefügt um später zu lesen und entsprechend ' Bitte Warten' Meldung zu erstellen für den User 2025-08-13 10:58:45 +02:00
ISA
0246e34de4 Daten von CPL bekommen DIA0- DIA2 ISO und RSL 2025-08-13 10:29:28 +02:00
ISA
ba0cb732d9 npm run dev und build ohne fehler durchgeführt 2025-08-13 08:54:34 +02:00
ISA
91b76b8e8d OPC-Clients in settings 2025-08-12 13:53:47 +02:00
ISA
bb662bf856 fix: Meldungen werden wieder angezeigt in KÜ Charts 2025-08-12 13:09:16 +02:00
ISA
2765d06836 WIP: Meldungen 2025-08-12 12:18:06 +02:00
ISA
b8b5c36a60 Isolatioswiderstand Chart abhängig von dropdown menu select name und nicht von Titel 2025-08-12 12:11:47 +02:00
ISA
31a54deb2d chore(eslint): ignore irregular whitespace in comments (keep rule strict for code) 2025-08-12 11:11:39 +02:00
ISA
71f120aa27 fetchCableData.mjs
Sends Authorization: Basic <base64(user:pass)> with configurable credentials.
Accepts --user and --pass, or env CPL_USER/CPL_PASS; defaults to Littwin/Littwin.
Uses an https.Agent({ rejectUnauthorized: false }) when --insecure is set.
Corrected output folder to cable-monitoring-data.
CLI parser supports both --key=value and --key value (PowerShell friendly).
Quick usage (PowerShell)

All 32 slots, both types (iso=3, rsl=4), all DIA modes, last 30 days:
npm run mocks:cable
Specific date range (e.g., 2025-07-13 to 2025-08-12), all slots and types:
node .\mocks\scripts\fetchCableData.mjs --from 2025-07-13 --to 2025-08-12 --insecure
Only slot 0, Isolationswiderstand, DIA1:
node .\mocks\scripts\fetchCableData.mjs --slots 0 --modes DIA1 --types iso --from 2025-07-13 --to 2025-08-12 --insecure
Provide credentials explicitly:
node .\mocks\scripts\fetchCableData.mjs --user Littwin --pass Littwin --insecure
Or via environment variables for the session:
$env:CPL_USER = "Littwin"; $env:CPL_PASS = "Littwin"
node .\mocks\scripts\fetchCableData.mjs --insecure
Output structure

mocks/device-cgi-simulator/cable-monitoring-data/slot{0..31}/
isolationswiderstand/DIA0.json, DIA1.json, DIA2.json
schleifenwiderstand/DIA0.json, DIA1.json, DIA2.json
I smoke-tested slot 0, DIA1, iso with login and it produced DIA1.json under slot0/isolationswiderstand. If you need me to also add a convenience npm script with user/pass placeholders, say the credentials source you prefer (env vs args), and I’ll wire it.
2025-08-12 10:50:08 +02:00
ISA
77c939697c loop DatePicke 2025-08-12 09:58:44 +02:00
ISA
234608973e feat(iso): DateRangePicker-Zeitraum bei "Daten laden" anwenden und fix debug für build 2025-08-12 09:35:19 +02:00
ISA
8af8e14878 feat(iso): DateRangePicker-Zeitraum bei "Daten laden" anwenden 2025-08-12 09:33:25 +02:00
ISA
e4b56faf75 feat: RSL starten in Dev mode 15 Sek. und in prod. 120 Sek. 2025-08-12 08:25:22 +02:00
ISA
100dab06ed PlayWright Test 2025-08-12 08:03:35 +02:00
ISA
e7d120c477 RSL-Progress (120s Overlay mit Balken + Blockierung) ist implementiert: Button zeigt RSL läuft…, Daten laden ist gesperrt, Overlay mit Restsekunden und Fortschritt. Countdown endet automatisch. 2025-08-11 16:45:56 +02:00
ISA
2bf02af96f Globales Auto-Highlight wurde eingefügt 2025-08-11 16:20:11 +02:00
ISA
9ca5ee9e66 playwright recording and testing 2025-08-11 16:13:01 +02:00
ISA
bc20f3869d ISO, RSL, TDR, und KVZ Modal nach Wünsch angepasst für KÜs 2025-08-11 14:24:03 +02:00
ISA
06aa3c8f3e ISO & RSL dropdowns moved to headers like TDR; removed old dropdowns from action bars, cleaned imports, fixed TypeScript issues 2025-08-11 13:35:14 +02:00
ISA
8d1b5ceddc LoopChartActionBar verhält sich jetzt wie im ISO-Modal: Bei Auswahl „Meldungen“ 2025-08-11 13:08:34 +02:00
ISA
806eaaeff7 Daten von 118. in mocks geholt 2025-08-11 12:07:47 +02:00
ISA
c107738625 fix: KVZ Button style wie die anderen (ISO, RSL, TDR) und mit eigene Modal 2025-08-11 11:35:03 +02:00
ISA
9b05f21ccc feat: migrate from Cypress to Playwright for E2E testing
- Remove Cypress dependencies and configuration files
- Install @playwright/test with browser support
- Add playwright.config.ts with optimized settings for Next.js
- Migrate existing Cypress tests to Playwright format
- Add new E2E test scripts to package.json
- Configure GitHub Actions workflow for automated testing
- Update .gitignore for Playwright artifacts

BREAKING CHANGE: E2E testing framework changed from Cypress to Playwright
2025-08-01 15:45:59 +02:00
ISA
3b61dcb31b git commit -m "feat: Enhance DetailModal with auto-loading and improved UX
- Add automatic data loading every 2 seconds when no chart data available
- Implement intelligent cursor-wait display for entire modal during loading
- Auto-reset to 'Alle Messwerte' (DIA0) and clear date fields on modal open
- Add Tailwind-based color system for chart lines (gray for min/max, littwin-blue for current/average)
- Improve chart line layering with background/foreground organization
- Add periodic UI updates to ensure responsive loading feedback
- Maintain manual 'Daten laden' button control alongside auto-loading
- Fix TypeScript dependencies and optimize useEffect performance"
2025-08-01 14:05:58 +02:00
ISA
f8bfea039c fix: System ->Detailansicht -> Modal 2025-08-01 13:46:33 +02:00
ISA
136d3151cf fix: Chart System 2025-08-01 13:10:32 +02:00
ISA
ba1b0d8e79 fix: nur Daten abrufen, wenn 'Daten laden' button geklickt wird 2025-08-01 12:23:10 +02:00