Skip to content

Commit c94200c

Browse files
committed
fix utest
Signed-off-by: d.phan <d.phan@salesforce.com>
1 parent 10e4a58 commit c94200c

File tree

1 file changed

+2
-2
lines changed
  • packages/template-retail-react-app/app/pages/checkout-one-click

1 file changed

+2
-2
lines changed

packages/template-retail-react-app/app/pages/checkout-one-click/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ describe('Checkout One Click', () => {
430430
}
431431

432432
// Wait for continue button and click
433-
const continueBtn = await screen.findByText(/continue to shipping address/i)
433+
const continueBtn = await screen.findByText(/continue to payment/i)
434434
await user.click(continueBtn)
435435

436436
// Verify we skip directly to payment
@@ -524,7 +524,7 @@ describe('Checkout One Click', () => {
524524
}
525525

526526
// Wait for continue button and click
527-
const continueBtn = await screen.findByText(/continue to shipping address/i)
527+
const continueBtn = await screen.findByText(/continue to payment/i)
528528
await user.click(continueBtn)
529529

530530
// Verify we continue to payment

0 commit comments

Comments
 (0)