UI: kræv aktiv round-question før guess-svarvalg (#97)
All checks were successful
CI / test-and-quality (push) Successful in 1m37s
CI / test-and-quality (pull_request) Successful in 1m38s

This commit is contained in:
2026-02-28 05:04:06 +01:00
parent 41a414bc97
commit 4a1ed80142
2 changed files with 7 additions and 3 deletions

View File

@@ -811,6 +811,7 @@ class UiScreenTests(TestCase):
self.assertContains(response, "session_token")
self.assertContains(response, "id=\"answerOptions\"")
self.assertContains(response, "renderAnswerOptions")
self.assertContains(response, "renderAnswerOptions(null)")
self.assertContains(response, "availableAnswers")
self.assertContains(response, "guessStorageKey")
self.assertContains(response, "persistGuessState")
@@ -823,9 +824,11 @@ class UiScreenTests(TestCase):
self.assertContains(response, "updatePhaseStatus")
self.assertContains(response, "Løgn-input er låst i fase")
self.assertContains(response, "Gæt er låst i fase")
self.assertContains(response, "Afvent aktivt spørgsmål fra host før du kan gætte.")
self.assertContains(response, "persistLieState")
self.assertContains(response, "updateLieSubmitState")
self.assertContains(response, "hasSubmitContext")
self.assertContains(response, "hasRoundQuestionContext")
self.assertContains(response, "canAttemptJoin")
self.assertContains(response, "missing_join_input")
self.assertContains(response, "Udfyld kode og nickname for at join.")