UI: håndhæv 3-5 spillere i host start-runde guard (#76)
All checks were successful
CI / test-and-quality (push) Successful in 1m40s
CI / test-and-quality (pull_request) Successful in 1m40s

This commit is contained in:
2026-02-28 03:09:45 +01:00
parent eb23d023a7
commit 15136537f4
2 changed files with 4 additions and 2 deletions

View File

@@ -786,6 +786,8 @@ class UiScreenTests(TestCase):
self.assertContains(response, "Opdatér session-status for fasebaserede host-actions.")
self.assertContains(response, "Angiv sessionkode for at aktivere host-actions.")
self.assertContains(response, "Kategori er kun redigérbar i lobby-fasen.")
self.assertContains(response, "Kræver 3-5 spillere i lobbyen.")
self.assertContains(response, "For mange spillere: maks 5 i MVP før runde-start.")
self.assertContains(response, "Round question-id kan kun redigeres i lie/guess/reveal-faser.")
self.assertContains(response, "roundQuestionInput.disabled=!canEditRoundQuestion")
self.assertContains(response, "categorySelect.disabled=!hasCode||phase!==\"lobby\"")