Created
May 13, 2022 14:16
-
-
Save corradin/ce93cdcb09950bf7af44a63fa3bfe36a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { test, expect } from '@playwright/test'; | |
test('example test', async ({ page }) => { | |
await page.goto('http://localhost:3000'); | |
await page.waitForLoadState('networkidle'); | |
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.02 }); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment