Skip to content

W-19442242 Add docs and setup to debug per-pr e2e tests#3233

Merged
shethj merged 10 commits intodevelopfrom
feature/debug-pr-e2e
Sep 12, 2025
Merged

W-19442242 Add docs and setup to debug per-pr e2e tests#3233
shethj merged 10 commits intodevelopfrom
feature/debug-pr-e2e

Conversation

@shethj
Copy link
Contributor

@shethj shethj commented Sep 3, 2025

Description

As a PWA kit stakeholder, I'd like to make sure my e2e tests pass before I merge in the PR into develop. We have a github actions workflow that runs e2e tests against each PR and blocks merge if the tests fail.

We need to document a way to allow developers to debug test failures by running the e2e tests locally.

This PR enables passing in inputs for MRT Env config that allows developers to recreate e2e test setup on their own MRT Env. With that they can locally run playwright tests against their own MRT instance and need not worry about breaking our testing CI. It also makes sure developers are debugging tests against the same setup that the CI uses.

This PR has a corresponding docs PR in paved-path docs: Paved Path #152

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • Added input params to manually run e2e-pr

How to Test-Drive This PR

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

@shethj shethj requested a review from a team as a code owner September 3, 2025 07:00
@shethj shethj added the skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated label Sep 3, 2025
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Sep 3, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@shethj shethj enabled auto-merge September 12, 2025 15:34
@shethj shethj merged commit b22f828 into develop Sep 12, 2025
42 checks passed
@shethj shethj deleted the feature/debug-pr-e2e branch September 12, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants