fixed some UX inconsistencies in gatekeeper
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-03-16 01:04:52 -04:00
parent fa46fc18d7
commit 462155f07b
5 changed files with 20 additions and 27 deletions

View File

@@ -301,7 +301,7 @@ class CarteBlancheTest(FunctionalTest):
)
self.wait_for(lambda: get_circle(2).find_element(By.CSS_SELECTOR, ".drop-token-btn"))
# 17. Click NVM on circle 2 → returns to OK; circle 3 still has OK
# 17. Click NVM on circle 2 → circle 2 regains OK; circle 3 loses it (strict n+1)
# Circle 1 still filled; return panel still glowing; lease name still present
self.wait_for(
lambda: get_circle(1).find_element(By.CSS_SELECTOR, ".slot-release-btn")
@@ -311,7 +311,9 @@ class CarteBlancheTest(FunctionalTest):
self.assertTrue(
self.browser.find_element(By.CSS_SELECTOR, ".token-slot.claimed").is_displayed()
)
self.wait_for(lambda: get_circle(2).find_element(By.CSS_SELECTOR, ".drop-token-btn"))
self.assertEqual(
len(get_circle(2).find_elements(By.CSS_SELECTOR, ".drop-token-btn")), 0
)
# 18. Fill circles 2 → 6 sequentially; verify each subsequent OK appears
for i in range(1, 6):