added type='button' to both guard portal btns so firefox won't normalize to type='submit'; fixed several FTs for new click-guard functionality on Role card select & room gear menu DEL & BYE btns; several restorations to landscape breakpoint incl. logged-ion display_name, copyright info; provided title to room_scroll.html; a slurry of other minor fixes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-23 19:31:57 -04:00
parent eecb6c2be6
commit 5607f70852
15 changed files with 365 additions and 65 deletions

View File

@@ -118,6 +118,13 @@ class FunctionalTest(StaticLiveServerTestCase):
)
)
def confirm_guard(self, browser=None):
b = browser or self.browser
def _click():
btn = b.find_element(By.CSS_SELECTOR, "#id_guard_portal.active .guard-yes")
b.execute_script("arguments[0].click()", btn)
self.wait_for(_click)
@wait
def wait_to_be_logged_in(self, email):
self.browser.find_element(By.CSS_SELECTOR, "#id_logout"),
@@ -199,6 +206,13 @@ class ChannelsFunctionalTest(ChannelsLiveServerTestCase):
raise e
time.sleep(0.5)
def confirm_guard(self, browser=None):
b = browser or self.browser
def _click():
btn = b.find_element(By.CSS_SELECTOR, "#id_guard_portal.active .guard-yes")
b.execute_script("arguments[0].click()", btn)
self.wait_for(_click)
def create_pre_authenticated_session(self, email):
if self.test_server:
session_key = create_session_on_server(self.test_server, email)