Skip to content

Commit 8cf7842

Browse files
adrianoaru-nhsAndyg79
authored andcommitted
Feature/bcss 20021 creating a new calendar picker util (#17)
<!-- markdownlint-disable-next-line first-line-heading --> <!-- Describe your changes in detail. --> This PR is adding a new util to be able to use the calendar clickers on BCSS. There are two main methods that cover both the v1 and v2 calendar clicker along with functions to do specific tasks within each method. <!-- Why is this change required? What problem does it solve? --> This was added so that we could have a general utility to call whenever we need to use a calendar clicker during our automated tests. <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> - [x] Refactoring (non-breaking change) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would change existing functionality) - [ ] Bug fix (non-breaking change which fixes an issue) <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] I am familiar with the [contributing guidelines](https://github.com/nhs-england-tools/playwright-python-blueprint/blob/main/CONTRIBUTING.md) - [x] I have followed the code style of the project - [x] I have added tests to cover my changes (where appropriate) - [x] I have updated the documentation accordingly - [ ] This PR is a result of pair or mob programming --- To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including [PII (Personal Identifiable Information) / PID (Personal Identifiable Data)](https://digital.nhs.uk/data-and-information/keeping-data-safe-and-benefitting-the-public) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter. - [x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.
1 parent d488674 commit 8cf7842

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pages/base_page.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def bowel_cancer_screening_system_header_is_displayed(self) -> None:
8787
expect(self.bowel_cancer_screening_system_header).to_contain_text(
8888
"Bowel Cancer Screening System"
8989
)
90+
expect(self.bowel_cancer_screening_system_header).to_contain_text(
91+
"Bowel Cancer Screening System"
92+
)
9093

9194
def main_menu_header_is_displayed(self) -> None:
9295
expect(self.main_menu__header).to_contain_text("Main Menu")

0 commit comments

Comments
 (0)