Skip to content

Commit f17510c

Browse files
Fixed failing test (#66)
<!-- markdownlint-disable-next-line first-line-heading --> ## Description <!-- Describe your changes in detail. --> Fixed an issue where the compartment 5 test would fail. This was due to referencing the incorrect POM ## Context <!-- Why is this change required? What problem does it solve? --> Fixed the false negative test to now work. ## Type of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> - [ ] Refactoring (non-breaking change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would change existing functionality) - [x] 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 - [ ] I have added tests to cover my changes (where appropriate) - [ ] 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 98f135f commit f17510c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/smokescreen/test_compartment_5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_compartment_5(page: Page, smokescreen_properties: dict) -> None:
162162

163163
logging.info(f"Inviting {name_from_util} to diagnostic test")
164164
AdvanceFOBTScreeningEpisodePage(page).click_invite_for_diagnostic_test_button()
165-
SubjectScreeningSummaryPage(page).verify_latest_event_status_value(
165+
AdvanceFOBTScreeningEpisodePage(page).verify_latest_event_status_value(
166166
"A59 - Invited for Diagnostic Test"
167167
)
168168

0 commit comments

Comments
 (0)