Skip to content

Instantly share code, notes, and snippets.

@voboshi
Created Jul 24, 2020
Embed
What would you like to do?
describe("Cross-Device Elements Test", () => {
beforeEach(() => {
cy.eyesOpen({
appName: 'AppliFashion',
testName: 'Task 1'
})
})
afterEach(() => {
cy.eyesClose()
})
it('validates the entire product listing page', function () {
cy.viewport(800, 600)
cy.visit('/gridHackathonV1.html')
cy.eyesCheckWindow({
tag: "Cross-Device Elements Test",
target: 'window',
fully: true
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment