Skip to content

fix: payment-detail flaky test#1613

Open
alina-alyy wants to merge 2 commits intoantiwork:mainfrom
alina-alyy:fix-test-payment-detail
Open

fix: payment-detail flaky test#1613
alina-alyy wants to merge 2 commits intoantiwork:mainfrom
alina-alyy:fix-test-payment-detail

Conversation

@alina-alyy
Copy link

Issue: #1531

Problem

Stripe updated their Test Mode UI, changing the mock bank's label from Test Institution to Test (Non-OAuth). This caused the E2E test to time out because it could no longer find the element using the old selector.

Solution

Updated the test to use the new selector getByLabel("Test (Non-OAuth)") when interacting with the Stripe iframe. This aligns the test with the current Stripe interface and restores the bank connection flow.


Test Results

npx playwright test e2e/tests/settings/administrator/payment-details.spec.ts:22:3 --workers=1 --repeat-each=10 --max-failures=1

image

Checklist


AI Disclosure

Used Claude Opus 4.6 for debugging.

…ests from "Test Institution" to "Test (Non-OAuth)".
@alina-alyy
Copy link
Author

Hi @nyomanjyotisa, could you review this pull request?

@nyomanjyotisa nyomanjyotisa self-requested a review February 13, 2026 10:50
@nyomanjyotisa nyomanjyotisa self-assigned this Feb 13, 2026
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.

3 participants