UI: fasebaserede host-action guards i hostpanelet (#68)
All checks were successful
CI / test-and-quality (push) Successful in 1m44s
CI / test-and-quality (pull_request) Successful in 1m43s

This commit is contained in:
2026-02-28 02:21:14 +01:00
parent 7e7445cd07
commit a8fd012193
2 changed files with 27 additions and 13 deletions

View File

@@ -775,6 +775,14 @@ class UiScreenTests(TestCase):
self.assertContains(response, "Host panel")
self.assertContains(response, "saveHostContext")
self.assertContains(response, "restoreHostContext")
self.assertContains(response, "id=\"showQuestionBtn\"")
self.assertContains(response, "id=\"mixAnswersBtn\"")
self.assertContains(response, "id=\"hostActionHint\"")
self.assertContains(response, "id=\"phaseStatus\"")
self.assertContains(response, "updateHostActionState")
self.assertContains(response, "phaseLabel")
self.assertContains(response, "Opdatér session-status for fasebaserede host-actions.")
self.assertContains(response, "Angiv sessionkode for at aktivere host-actions.")
def test_player_screen_is_public(self):
response = self.client.get(reverse("lobby:player_screen"))