From 4f3beb150b4633af4d9e40fb4b0c8b6b3552e165 Mon Sep 17 00:00:00 2001 From: Michael Geers Date: Fri, 8 Aug 2025 15:26:45 +0200 Subject: [PATCH] chore: e2e stability vehicle settings, fatal (#22848) --- AGENTS.md | 1 + .../components/ChargingPlans/ChargingPlan.vue | 145 +++++++----------- tests/config-fatals.spec.ts | 2 + tests/plan.spec.ts | 1 + tests/vehicle-settings.spec.ts | 23 ++- 5 files changed, 76 insertions(+), 96 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 19581aadd..e1f4bae89 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -208,6 +208,7 @@ This file provides guidance to AI coding agents when working with code in this r - Use `expectModalVisible()` and `expectModalHidden()` helpers - Test configuration persistence across application restarts - Standard structure: import `{ start, stop, baseUrl }` from `./evcc`, use `test.afterEach(stop)` +- Never use fixed timeouts, use existance of elements or wait for network idle ## Device Integration & Configuration diff --git a/assets/js/components/ChargingPlans/ChargingPlan.vue b/assets/js/components/ChargingPlans/ChargingPlan.vue index 6d3e6ff91..79a199193 100644 --- a/assets/js/components/ChargingPlans/ChargingPlan.vue +++ b/assets/js/components/ChargingPlans/ChargingPlan.vue @@ -30,80 +30,61 @@ -