-
-
Save angiejones/fd269981b95479cf491afce914faee68 to your computer and use it in GitHub Desktop.
Playwright - Applitools cross platform testing
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
beforeEach(async () => { | |
page = await browser.newPage() | |
await page.goto('https://automationbookstore.dev/') | |
const configuration = new Configuration() | |
configuration.setBatch(new BatchInfo('Cross Platform Tests')) | |
configuration.addBrowser(800, 600, BrowserType.CHROME); | |
configuration.addBrowser(700, 500, BrowserType.FIREFOX); | |
configuration.addBrowser(1024, 768, BrowserType.EDGE_CHROMIUM); | |
configuration.addBrowser(800, 600, BrowserType.SAFARI); | |
configuration.addBrowser(1600, 1200, BrowserType.IE_11); | |
configuration.addDeviceEmulation(DeviceName.iPhone_X, ScreenOrientation.PORTRAIT); | |
eyes.setConfiguration(configuration); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment