Search regression · Run #48163 failed
e8a1c55 on main by h.moriMergestaging-2 · Chrome 13110m 22sTests
148
Passed
145
Failed
3
Passed on retry
0
Root causes
2
Root cause 1 of 2 · 3 tests
Payment form card field changed its selector
Three tests can't find #card-number. Commit 9f3c2a1 renamed it to [data-testid="card-number"] in PaymentForm.tsx. This is a test change, not an app bug.
Healer drafted a locator fix. It passed on all 11 tests that use this field.Review fix
Root cause 2 of 2 · 1 test
Cart API slow on staging-2
One test timed out waiting for /api/cart. The p95 on staging-2 jumped to 4.2s at 02:10 and recovered by 02:25. Likely the environment, not code.
Triage re-ran it once and it passed. Marked as a flaky candidate.
Failed test
CheckoutTest.payWithSavedCard
Steps
- 1 passedSign in as returning customer1.8s
- 2 passedAdd 2 items to cart2.4s
- 3 passedOpen checkout and confirm address3.1s
- 4 failedEnter saved card details10.0s timeout
- 5 skippedPlace ordernot reached
Stack trace
org.openqa.selenium.NoSuchElementException:
no such element: Unable to locate element:
{"method":"css selector","selector":"#card-number"}
at pages.CheckoutPage.enterCard(CheckoutPage.java:88)
at tests.CheckoutTest.payWithSavedCard(CheckoutTest.java:142)
at org.testng.internal.MethodInvocationHelper.invokeMethod(…)Screenshot at failure
DOM before and after
Why Triage thinks this
- Commit9f3c2a1 changed the card input in PaymentForm.tsx 40 minutes before this run.
- DOMThe field still renders. Only its id was replaced by a data-testid.
- HistoryAll 3 tests passed on the previous 30 runs, so this isn't flakiness.