Skip to content
Tripwire

Approvals

Anything that edits test code, skips a test or files a ticket waits here for a person. Every decision is logged and can be undone.

Healer · proposed change

Update card field locator in 3 page objects

Fixes 3 failures in run #4821

Low risk
Files changed
3
Tests affected
11
Verified on branch
11 passed

Proposed diff

pages/CheckoutPage.java
@@ -24,3 +24,3 @@
Removed: - @FindBy(css = "#card-number")
Added: + @FindBy(css = "[data-testid='card-number']")
private WebElement cardNumber;

Same one-line change in GiftCardPage.java and SavedCardsPage.java.

Why

  • Commit9f3c2a1 renamed the card input in PaymentForm.tsx.Open
  • VerificationRan all 11 tests that use these locators on healer/4821: 11 passed.

Guardrails applied

  • Locators only. No assertions, waits or test data changed.
  • Opens a pull request. Never commits to main.
  • Every affected test re-run before asking you.
Logged to the activity log with your name