Keep the consent checkbox and its sentence on one line.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 12s
Build and Publish Container Image / build-and-push (push) Successful in 50s
Account journey acceptance / journeys (push) Successful in 9s

Assistant: grok
Assistant-Session: 01a0d25d-d358-7e13-b84a-d007fbb7e34f
This commit is contained in:
tegwick 2026-09-27 01:12:11 +02:00
parent 662305391f
commit 8f7cf0c69d
2 changed files with 7 additions and 1 deletions

View file

@ -1130,6 +1130,9 @@ class PortalApplicationTests(unittest.TestCase):
self.assertIn(b"Onboarding progress", html)
self.assertIn(b"tenant:friendly:binky", html)
self.assertIn(b"Profile and consent", html)
self.assertIn(b"label:has(input[type=checkbox]){display:flex", html)
self.assertIn(b'name="consent_accepted" type="checkbox" value="yes"', html)
self.assertIn(b"I accept portal terms version 1", html)
self.assertIn(b"Mark complete", html)
self.assertIn(b"provider-owned surface", html)
completed, _ = invoke(