Skip to content

Commit ce60049

Browse files
Adding tests for an LNPCP result (#105)
<!-- markdownlint-disable-next-line first-line-heading --> ## Description <!-- Describe your changes in detail. --> Migrating tests from selenium to playwright as per BCSS-20859 ## Context <!-- Why is this change required? What problem does it solve? --> Migrating tests from selenium to playwright as per BCSS-20859 ## Type of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> - [ ] 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) ## Checklist <!-- 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 --- ## Sensitive Information Declaration 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 48dad37 commit ce60049

File tree

5 files changed

+1173
-368
lines changed

5 files changed

+1173
-368
lines changed

pages/datasets/investigation_dataset_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def click_edit_dataset_button(self) -> None:
386386
"""
387387
self.click(self.edit_dataset_button)
388388

389-
def assert_polyp_alogrithm_size(
389+
def assert_polyp_algorithm_size(
390390
self, polyp_number: int, expected_value: Optional[str]
391391
) -> None:
392392
"""
@@ -418,7 +418,7 @@ def assert_polyp_alogrithm_size(
418418
str(actual_value).strip() == str(expected_value).strip()
419419
), f"Expected '{expected_value}', but got '{actual_value}'"
420420

421-
def assert_polyp_categrory(
421+
def assert_polyp_category(
422422
self, polyp_number: int, expected_value: Optional[str]
423423
) -> None:
424424
"""

0 commit comments

Comments
 (0)