Skip to content

Commit 3bf9a92

Browse files
add pauses
1 parent f8349ea commit 3bf9a92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/example.spec.ts

+4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ test.only('Purshace article', async ({ page }) => {
1010
await ai('insert password as secret_sauce in the password field', { page, test })
1111
await ai('click buton login', { page, test })
1212
await ai('add to the cart the 2 articles', { page, test })
13+
await page.pause()
14+
1315
await ai('go to te cart', { page, test })
1416
await ai('checkout purchase', { page, test })
1517
await ai('fill form with real information', { page, test })
18+
await page.pause()
19+
1620
await ai('click continue button', { page, test })
1721
await ai('finish purchase', { page, test })
1822
const element = await page.locator('.checkout_complete_container')

0 commit comments

Comments
 (0)