Skip to content

test(payments): Revise test coverage for Checkout and Upgrade flows#20691

Open
xlisachan wants to merge 2 commits into
mainfrom
PAY-3761
Open

test(payments): Revise test coverage for Checkout and Upgrade flows#20691
xlisachan wants to merge 2 commits into
mainfrom
PAY-3761

Conversation

@xlisachan

Copy link
Copy Markdown
Contributor

Because

  • Continued flakiness for payments functional tests are mainly structural and not fully addressable
  • Rather than continuing to maintain flaky tests, reduce functional test suite and shift to integration, unit, and component tests that validate the same business logic.

This pull request

  • Moves test coverage for checkout failure scenarios (declined card, expired card, insufficient funds, 3DS, duplicate subscription, downgrade blocked) from flaky tests to unit and integration tests.
  • Cleans up dead page object helpers and test cards after removing respective tests, and fixes flakiness in remaining functional tests.

Issue that this pull request solves

Closes: PAY-3761

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).

Any other information that is important to this pull request.

@xlisachan xlisachan marked this pull request as ready for review June 4, 2026 17:36
@xlisachan xlisachan requested a review from a team as a code owner June 4, 2026 17:36
xlisachan added 2 commits June 8, 2026 10:57
This pull request
- Moves test coverage for checkout failure scenarios (declined card, expired card, insufficient funds, 3DS, duplicate subscription, downgrade blocked) from flaky tests to unit and integration tests.
- Cleans up dead page object helpers and test cards after removing respective tests, and fixes flakiness in remaining functional tests.

Closes
PAY-3761
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant