Skip to content

Commit 167b160

Browse files
committed
Addressing pr comments
1 parent 412bbbd commit 167b160

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pages/communication_production/manage_archived_batch_page.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class ManageArchivedBatchPage(BasePage):
99
def __init__(self, page: Page):
1010
super().__init__(page)
1111
self.page = page
12-
self.header = self.page.locator("#page-title")
1312
self.reprint_button = self.page.locator(
1413
"input.ReprintButton[value='Reprint Batch']"
1514
)
@@ -19,7 +18,7 @@ def __init__(self, page: Page):
1918

2019
def assert_archived_batch_details_visible(self) -> None:
2120
"""Verifies the Manage Archived Batch page has loaded."""
22-
expect(self.header).to_have_text("Manage Archived Batch")
21+
expect(self.bowel_cancer_screening_page_title).to_have_text("Manage Archived Batch")
2322

2423
def click_reprint_button(self) -> None:
2524
"""Clicks the 'Reprint' button on the Archived Batch details page."""

0 commit comments

Comments
 (0)