Skip to content
Tripwire

Checkout E2E · Run #48214 failed

9f3c2a1 on main by t.callowayMergestaging-2 · Chrome 13114m 06s
Tests
216
Passed
212
Failed
4
Passed on retry
0
Root causes
2
Root cause 1 of 2 · 3 tests

Payment form card field changed its selector

High confidence

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

Medium confidence

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. 1 passedSign in as returning customer1.8s
  2. 2 passedAdd 2 items to cart2.4s
  3. 3 passedOpen checkout and confirm address3.1s
  4. 4 failedEnter saved card details10.0s timeout
  5. 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(…)

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.