Skip to content

Commit

Permalink
Fix cash app tests for making it work in WC 9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Aug 9, 2024
1 parent b971a27 commit d7277f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e/specs/d1.cash-app-pay.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ test.describe('Cash App Pay Tests', () => {
// Confirm that the Cash App Pay is not visible on block-checkout page.
await visitCheckout(page, true);
await fillAddressFields(page, true);
await page.locator('#billing-country').locator('input').fill('India');
await page.locator('#billing-country').selectOption('IN');
await page.locator('#billing-country').blur();
await page.waitForTimeout(1500);
const blockPayMethod = await page.locator(
'label[for="radio-control-wc-payment-method-options-square_cash_app_pay"]'
Expand Down

0 comments on commit d7277f7

Please sign in to comment.