@@ -12,7 +12,9 @@ def __init__(self, page: Page):
1212 self .page = page
1313 # Resect And Discard Accreditation History - page locators, methods
1414 self .heading = self .page .get_by_role ("heading" , name = "Resect and Discard" )
15- self .add_accreditation_button = self .page .get_by_role ("button" , name = "+ Add Accreditation" )
15+ self .add_accreditation_button = self .page .get_by_role (
16+ "button" , name = "+ Add Accreditation"
17+ )
1618 self .save_button = self .page .get_by_role ("button" , name = "Save" )
1719 self .changes_saved_text = self .page .get_by_text ("×Saved Changes" )
1820
@@ -27,7 +29,7 @@ def verify_add_accreditation_button_exists(self) -> None:
2729 def click_add_accreditation_button (self ) -> None :
2830 """Clicks the 'Add Accreditation' button"""
2931 self .click (self .add_accreditation_button )
30-
32+
3133 def click_save_button (self ) -> None :
3234 """Clicks the 'Save' button"""
3335 self .click (self .save_button )
@@ -36,7 +38,9 @@ def verify_changes_saved(self) -> None:
3638 """Verifies the new period added has been saved"""
3739 expect (self .changes_saved_text ).to_be_visible ()
3840
39- def add_new_period_of_resect_and_discard_accerditation (self , date : datetime ) -> None :
41+ def add_new_period_of_resect_and_discard_accerditation (
42+ self , date : datetime
43+ ) -> None :
4044 """
4145 Adds a new period of resect and discard accreditation
4246 Args:
0 commit comments