@@ -267,7 +267,7 @@ def test_edit_meeting_schedule(self):
267267 self .driver .find_element (By .CSS_SELECTOR , "#timeslot-toggle-modal-open" ).click ()
268268 self .assertTrue (self .driver .find_element (By .CSS_SELECTOR , "#timeslot-group-toggles-modal" ).is_displayed ())
269269 self .driver .find_element (By .CSS_SELECTOR , "#timeslot-group-toggles-modal [value=\" {}\" ]" .format ("ts-group-{}-{}" .format (slot2 .time .strftime ("%Y%m%d-%H%M" ), int (slot2 .duration .total_seconds () / 60 )))).click ()
270- self .driver .find_element (By .CSS_SELECTOR , "#timeslot-group-toggles-modal [data-dismiss=\" modal\" ]" ).click ()
270+ self .driver .find_element (By .CSS_SELECTOR , "#timeslot-group-toggles-modal [data-bs- dismiss=\" modal\" ]" ).click ()
271271 self .assertTrue (not self .driver .find_element (By .CSS_SELECTOR , "#timeslot-group-toggles-modal" ).is_displayed ())
272272
273273 # swap days
@@ -1215,7 +1215,7 @@ def open_agenda_filter_ui(wait):
12151215 """Click the 'customize' anchor to reveal the group buttons"""
12161216 customize_anchor = wait .until (
12171217 expected_conditions .element_to_be_clickable (
1218- (By .CSS_SELECTOR , '#accordion a[data-toggle="collapse"]' )
1218+ (By .CSS_SELECTOR , '#accordion a[data-bs- toggle="collapse"]' )
12191219 )
12201220 )
12211221 customize_anchor .click ()
@@ -1390,7 +1390,7 @@ def test_agenda_view_group_filter_toggle_without_replace_state(self):
13901390 # Click the 'customize' anchor to reveal the group buttons
13911391 customize_anchor = WebDriverWait (self .driver , 2 ).until (
13921392 expected_conditions .element_to_be_clickable (
1393- (By .CSS_SELECTOR , '#accordion a[data-toggle="collapse"]' )
1393+ (By .CSS_SELECTOR , '#accordion a[data-bs- toggle="collapse"]' )
13941394 )
13951395 )
13961396 customize_anchor .click ()
@@ -1511,7 +1511,7 @@ def test_session_materials_modal(self):
15111511 # Click the 'materials' button
15121512 open_modal_button = WebDriverWait (self .driver , 2 ).until (
15131513 expected_conditions .element_to_be_clickable (
1514- (By .CSS_SELECTOR , '[data-target="#modal-%s"]' % slug )
1514+ (By .CSS_SELECTOR , '[data-bs- target="#modal-%s"]' % slug )
15151515 ),
15161516 'Modal open button not found or not clickable' ,
15171517 )
@@ -1544,7 +1544,7 @@ def test_session_materials_modal(self):
15441544 # Now close the modal
15451545 close_modal_button = WebDriverWait (self .driver , 2 ).until (
15461546 expected_conditions .element_to_be_clickable (
1547- (By .CSS_SELECTOR , '.modal-footer button[data-dismiss="modal"]' )
1547+ (By .CSS_SELECTOR , '.modal-footer button[data-bs- dismiss="modal"]' )
15481548 ),
15491549 'Modal close button not found or not clickable' ,
15501550 )
@@ -1564,7 +1564,7 @@ def test_session_materials_modal(self):
15641564 # Click the 'materials' button
15651565 open_modal_button = WebDriverWait (self .driver , 2 ).until (
15661566 expected_conditions .element_to_be_clickable (
1567- (By .CSS_SELECTOR , '[data-target="#modal-%s"]' % slug )
1567+ (By .CSS_SELECTOR , '[data-bs- target="#modal-%s"]' % slug )
15681568 ),
15691569 'Modal open button not found or not clickable for refresh test' ,
15701570 )
@@ -2468,7 +2468,7 @@ def test_upcoming_materials_modal(self):
24682468 # Click the 'materials' button
24692469 open_modal_button = self .wait .until (
24702470 expected_conditions .element_to_be_clickable (
2471- (By .CSS_SELECTOR , '[data-target="#modal-%s"]' % slug )
2471+ (By .CSS_SELECTOR , '[data-bs- target="#modal-%s"]' % slug )
24722472 ),
24732473 'Modal open button not found or not clickable' ,
24742474 )
@@ -2482,7 +2482,7 @@ def test_upcoming_materials_modal(self):
24822482 close_modal_button = self .wait .until (
24832483 presence_of_element_child_by_css_selector (
24842484 modal_div ,
2485- '.modal-footer button[data-dismiss="modal"]' ,
2485+ '.modal-footer button[data-bs- dismiss="modal"]' ,
24862486 ),
24872487 'Modal close button not found or not clickable' ,
24882488 )
@@ -2621,7 +2621,7 @@ def do_delete_test(self, selector, keep, delete, cancel=False):
26212621 if cancel :
26222622 cancel_button = self .wait .until (
26232623 expected_conditions .element_to_be_clickable (
2624- (By .CSS_SELECTOR , '#delete-modal button[data-dismiss="modal"]' )
2624+ (By .CSS_SELECTOR , '#delete-modal button[data-bs- dismiss="modal"]' )
26252625 ))
26262626 cancel_button .click ()
26272627 else :
0 commit comments