EVCharge E2E Verify — ELE-755

PASS — 12/12 verifications
Run ID: run-verify-ele-755-20260316-1801
Scenario: scenarios/fix-tests/verify-ELE-755.md
Task: ELE-755 — Некорректное время завершения зарядки
Order: PZ-0551 | Route: 758a30ff | Session: fa775c7d
Start: 2026-03-16 15:01 UTC | Finish: 2026-03-16 16:35 UTC | Duration: ~94 min (incl. rebuild + 2 min wait)

KEY RESULT: ELE-755 Fix Confirmed

Bug: estimated_charging_time showed 5,576,143 min (elapsed + remaining, station clock in 2015).

Fix verified:

With the old bug, elapsed+remaining would have increased over time. The fix correctly returns only remaining time.

Steps

#ModuleBlockStatusDetails
0DBStation CheckPASSDimaTest online/Available, broker at ocpp-test.zarady.ru
1ClientLogin + OrderPASSPZ-0551 created: Демьяна Бедного 17к3, BYD ATTO 3
2DispatcherRoute + DimaTestPASSRoute 758a30ff, Tech: Чижов, Vehicle: А099 Сова, Station: DimaTest
3TechnicianAccept RoutePASSRoute accepted → IN_PROGRESS
4TechnicianStart ChargingPASS"Старт станции" → "Зарядная сессия начата". Session active.
5DBMeter ValuesPASS5 meter values, estimated=2284s (38 min)
6ClientUI TimePASS"Зарядка завершится через 38 мин", 20%, 0.476 kWh
7DB+ClientTime DecreasePASSDB: 2284→2260s. UI: 38→37 мин. TIME DECREASED!
8OCPPDashboardPASSocpp-test.zarady.ru: 1 station connected, 2 sessions, 0.78 kWh
9TechnicianStop + CleanupPASS"Стоп станции" → "Зарядная сессия остановлена". "Завершить зарядку" → order AWAITING_PAYMENT, 3.134 kWh.

Verifications

#CheckStatusValue
V1Client authorizationPASSPhone 9990001111, OTP 654321
V2Order created (status=NEW)PASSPZ-0551, estimated=NULL
V3Route with DimaTest stationPASSPLANNED, tech=Чижов
V4Route accepted (IN_PROGRESS)PASSIN_PROGRESS
V5"Начать зарядку" button visiblePASS"Старт станции" shown
V6Session start_time ≈ NOWPASS16:29:43 (23s ago, NOT 2015)
V7Meter values arrivingPASS5 meter values in 30s
V8estimated_time reasonablePASS2284s (38 min) — not millions
V9UI "завершится через N мин"PASS"Зарядка завершится через 38 мин"
V10estimated_time DECREASED (DB)PASS2284 → 2260 sec
V11UI minutes decreasedPASS38 → 37 мин
V12OCPP Dashboard shows chargingPASSConnected, 2 active sessions

DB Checkpoints

CPQueryResultStatus
0ChargingStations WHERE DimaTestonline, Available, heartbeat 24min agoOK
1orders WHERE PZ-0551NEW, estimated=NULLOK
2routes WHERE 758a30ffPLANNED, Виталий ЧижовOK
3routes statusIN_PROGRESSOK
4charging_sessionsactive, start=16:29:43 (≈NOW)OK
5ameter_values count5OK
5bestimated_charging_time (BEFORE)2284 sec (38 min)OK
7estimated_charging_time (AFTER)2260 sec (37 min) — DECREASEDOK

Screenshots

Order created
Block 1: Order PZ-0551 created
Route form
Block 2: Route form with DimaTest
Route created
Block 2: Route confirmed
Route accepted
Block 3: Route accepted
Charging started
Block 4: Charging started
First time measurement
Block 6: "Завершится через 38 мин" (BEFORE)
Time decreased
Block 7: "Завершится через 37 мин" (AFTER) — KEY CHECK
OCPP Dashboard
Block 8: OCPP Dashboard — Connected
Charging stopped
Block 9: Charging stopped, order AWAITING_PAYMENT

Notes