-
-
Save angiejones/e337241c42373a3bccc983fffd446c51 to your computer and use it in GitHub Desktop.
Playwright - Visual Testing with Applitools
This file contains 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
it('should be visually perfect', async () => { | |
await page.fill('#searchBar', 'test') | |
await page.waitForSelector('li.ui-screen-hidden', { state: 'attached' }) | |
//Visual Testing | |
await eyes.open(page, 'Automation Bookstore - Playwright', 'Partial Search', new RectangleSize(800, 600)) | |
await eyes.check(Target.window().fully()) | |
await eyes.close() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment