Skip to content

Commit 963b1bd

Browse files
test: Use actual room pk instead of assuming keys start at 1 (ietf-tools#5255)
1 parent 82f23da commit 963b1bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/tests_js.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_edit_meeting_schedule(self):
195195
self.assertTrue(self.driver.find_elements(By.CSS_SELECTOR, '#timeslot{}.would-violate-hint'.format(slot1.pk)))
196196
# Find the timeslot label for slot1 - it's the first timeslot in the room group containing room 1
197197
slot1_roomgroup_elt = self.driver.find_element(By.CSS_SELECTOR,
198-
'.day-flow .day:first-child .room-group[data-rooms="1"]'
198+
f'.day-flow .day:first-child .room-group[data-rooms="{room1.pk}"]'
199199
)
200200
self.assertTrue(
201201
slot1_roomgroup_elt.find_elements(By.CSS_SELECTOR,

0 commit comments

Comments
 (0)