Skip to content

Feature/bcss 20593 regression tests user#98

Merged
vidhya-chandra1 merged 16 commits intomainfrom
feature/BCSS-20593-regression-tests-user
Jul 3, 2025
Merged

Feature/bcss 20593 regression tests user#98
vidhya-chandra1 merged 16 commits intomainfrom
feature/BCSS-20593-regression-tests-user

Conversation

@vidhya-chandra1
Copy link

Description

Selenium to Playwright - Regression Tests - User

Context

Feature: Change Organisation

Scenario: Check an English user, that has multiple organisations is able to switch between them
Given I log in to BCSS "England" as user role "MultiOrgUser"
When I change organisation
Then I will be logged in as the alternative organisation.

Below are the 3 Files where Code Refactoring is Implemented.

  1. Tests File - test_change_organisation_regression_user.py
  2. POM - organisations_page.py
  3. users.json

Type of changes

  • Refactoring (non-breaking change)
  • 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

  • I am familiar with the contributing guidelines
  • 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) 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.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@vidhya-chandra1 vidhya-chandra1 self-assigned this Jun 25, 2025
@vidhya-chandra1 vidhya-chandra1 added the enhancement New feature or request label Jun 25, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 2, 2025

@vidhya-chandra1 vidhya-chandra1 merged commit d29325e into main Jul 3, 2025
10 checks passed
@vidhya-chandra1 vidhya-chandra1 deleted the feature/BCSS-20593-regression-tests-user branch July 3, 2025 07:54
Andyg79 added a commit that referenced this pull request Jul 3, 2025
<!-- Markdownlint-disable-next-line first-line-heading -->
## Description

<!-- Describe your changes in detail. -->
Selenium to Playwright - Regression Tests - User

## Context

<!-- Why is this change required? What problem does it solve? -->
Feature: Change Organisation

Scenario: Check an English user, that has multiple organisations is able
to switch between them
Given I log in to BCSS "England" as user role "MultiOrgUser"
When I change organisation
Then I will be logged in as the alternative organisation.

Below are the 3 Files where Code Refactoring is Implemented.
1) Tests File - test_change_organisation_regression_user.py
2) POM - organisations_page.py
3) users.json

## Type of changes

<!-- What types of changes does your code introduce? Put an `x` in all
the boxes that apply. -->

- [X] Refactoring (non-breaking change)
- [ ] New feature (non-breaking change which adds functionality)
- [X] 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)
- [ ] 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.

---------

Co-authored-by: AndyG <179915678+Andyg79@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments