UI: lock host session-status during in-flight request (#101)
All checks were successful
CI / test-and-quality (push) Successful in 1m40s
CI / test-and-quality (pull_request) Successful in 1m41s

This commit is contained in:
2026-02-28 05:24:11 +01:00
parent 9600475e5e
commit 6732c75475
2 changed files with 16 additions and 5 deletions

View File

@@ -797,6 +797,14 @@ class UiScreenTests(TestCase):
self.assertContains(response, "Session-data ikke opdateret endnu.")
self.assertContains(response, "Sidst opdateret:")
self.assertContains(response, "Session-data kan være forældet")
self.assertContains(response, "id=\"sessionDetailBtn\"")
self.assertContains(response, "id=\"sessionDetailHint\"")
self.assertContains(response, "updateSessionDetailState")
self.assertContains(response, "sessionDetailInFlight")
self.assertContains(response, "session_detail_in_flight")
self.assertContains(response, "Opdaterer session-status…")
self.assertContains(response, "Session-opdatering er låst mens en host-handling kører.")
self.assertContains(response, "Angiv sessionkode for at opdatere session-status.")
self.assertContains(response, "markSessionRefresh")
self.assertContains(response, "updateLastRefreshStatus")
self.assertContains(response, "isSessionDetailRead")