UI: lock session-detail while join is in-flight (#111)
All checks were successful
CI / test-and-quality (push) Successful in 1m38s
CI / test-and-quality (pull_request) Successful in 1m39s

This commit is contained in:
2026-02-28 06:35:51 +01:00
parent 2892ecc555
commit 1ff98f5e92
2 changed files with 3 additions and 2 deletions

View File

@@ -868,7 +868,7 @@ class UiScreenTests(TestCase):
self.assertContains(response, "resetRoundContextForManualChange")
self.assertContains(response, "Runde-kontekst afventer session-opdatering.")
self.assertContains(response, "togglePlayerAutoRefresh")
self.assertContains(response, "btn.disabled=sessionDetailInFlight||!code()")
self.assertContains(response, "btn.disabled=sessionDetailInFlight||joinInFlight||!code()")
self.assertContains(response, "Auto-refresh-lås: afvent aktiv session-opdatering.")
self.assertContains(response, "Auto-refresh kræver sessionkode.")
self.assertContains(response, "markPlayerSessionRefresh")
@@ -876,6 +876,7 @@ class UiScreenTests(TestCase):
self.assertContains(response, "updateSessionDetailState")
self.assertContains(response, "session_detail_in_flight")
self.assertContains(response, "Opdaterer session-status…")
self.assertContains(response, "Session-opdatering er låst mens join kører.")
self.assertContains(response, "Session-data ikke opdateret endnu.")
self.assertContains(response, "Sidst opdateret:")
self.assertContains(response, "Session-data kan være forældet")