Skip to content

Commit

Permalink
Fix E2E tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Apr 29, 2024
1 parent 9e3d9aa commit 389dd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/payment-flow/subscription-payment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test.describe( 'Verify Payfast Subscription Payment Process - @foundational', as
const payfastPaymentMethod = await checkoutBlock.locator(
'label[for="radio-control-wc-payment-method-options-payfast"]' );
await payfastPaymentMethod.click();
await checkoutBlock.getByRole( 'button', {name: 'Place Order'} ).click();
await checkoutBlock.locator( 'button.wc-block-components-checkout-place-order-button' ).click();
await waitForURL;

// Pay on Payfast checkout page.
Expand Down

0 comments on commit 389dd30

Please sign in to comment.