We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e1aa8 commit 07849c1Copy full SHA for 07849c1
pages/base_page.py
@@ -133,3 +133,11 @@ def click(self, locator) -> None:
133
except Exception as locatorClickError:
134
logging.warning(f"Failed to click element with error: {locatorClickError}, trying again...")
135
locator.click()
136
+
137
+ def bowel_cancer_screening_page_title_contains_text(self, text: str) -> None:
138
+ """Asserts that the page title contains the specified text.
139
140
+ Args:
141
+ text (str): The expected text that you want to assert for the page title ("#ntshPageTitle") element.
142
+ """
143
+ expect(self.bowel_cancer_screening_page_header).to_contain_text(text)
0 commit comments