fixed jasmine & RoleSelectTest FT methods that were failing due to the Role card reordering in previous pipeline push
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Disco DeDisco
2026-04-05 01:52:30 -04:00
parent 74f63a7721
commit d4518a0671
3 changed files with 8 additions and 8 deletions

View File

@@ -532,7 +532,7 @@ class RoleSelectTest(FunctionalTest):
self.create_pre_authenticated_session("founder@test.io")
self.browser.get(room_url)
# Open fan, pick first card (PC), confirm guard
# Open fan, pick first card (SC — Shepherd), confirm guard
self.wait_for(
lambda: self.browser.find_element(
By.CSS_SELECTOR, ".card-stack[data-state='eligible']"
@@ -550,15 +550,15 @@ class RoleSelectTest(FunctionalTest):
)
)
# The PC seat (slot 1) now shows check, no ban
# The SC seat (slot 1) now shows check, no ban
self.wait_for(
lambda: self.browser.find_element(
By.CSS_SELECTOR, ".table-seat[data-role='PC'] .fa-circle-check"
By.CSS_SELECTOR, ".table-seat[data-role='SC'] .fa-circle-check"
)
)
self.assertEqual(
len(self.browser.find_elements(
By.CSS_SELECTOR, ".table-seat[data-role='PC'] .fa-ban"
By.CSS_SELECTOR, ".table-seat[data-role='SC'] .fa-ban"
)),
0,
)