loadProductionRun mostra il detail del server; START ACTIVITY in inglese (#61 #62)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 12:26:33 +02:00
parent 27dc5e77af
commit 2d03577165
3 changed files with 7 additions and 3 deletions
@@ -181,6 +181,8 @@ def test_no_open_run_means_no_fermo_linea_and_no_fake_timer(
html = _execute_page(logged_in_client, mock_api_client, monkeypatch)
assert 'x-if="isMeasureTask && productionRun"' in html
assert "!this.productionRun" in html
# #61: loadProductionRun mostra il detail del server, non solo il messaggio generico
assert "errBody.detail" in html
assert "Nessuna produzione aperta su questa stazione" in html
# il vecchio ripiego locale non c'e' piu'
assert "this.startCountdownFrom(this.measurementIntervalMinutes * 60)" not in html.split(