Skip to content

Commit c40024c

Browse files
Fix tests compatible to iOS PW
1 parent 8dc1152 commit c40024c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/bstack_test_checkout_flow.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ test('BStackDemo test checkout flow', async ({ page }) => {
66

77
// sign in
88
await page.click('#signin');
9-
await page.locator("#react-select-2-input").click();
10-
await page.locator("#react-select-2-option-0-3").click();
11-
await page.locator("#react-select-3-input").click();
9+
await page.locator("#username svg").click();
10+
await page.locator("#react-select-2-option-0-0").click();
11+
await page.locator("#password svg").click();
1212
await page.locator("#react-select-3-option-0-0").click();
13+
1314
await page.click('#login-btn');
14-
await page.waitForNavigation();
15+
await page.waitForTimeout(500);
1516

1617
// click on buy item
1718
await page.click('#\\31 > .shelf-item__buy-btn');
@@ -30,5 +31,4 @@ test('BStackDemo test checkout flow', async ({ page }) => {
3031
await page.click('#checkout-shipping-continue');
3132
await page.click('text=Continue');
3233
await page.click('text=Orders');
33-
3434
});

0 commit comments

Comments
 (0)