Skip to content

Commit 1bdf484

Browse files
committed
Wait for the newsletter
1 parent 5525da0 commit 1bdf484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/playwright/category.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { test, expect } from '@playwright/test'
33
test('category with simple products', async ({ page }) => {
44
await page.goto(process.env.CATEGORY_URL_SIMPLE)
55
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight))
6+
await expect(page.getByTestId('newsletter-email')).toBeVisible()
67
await expect(page).toHaveScreenshot({ fullPage: true })
78
})
89

0 commit comments

Comments
 (0)