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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user