Skip to content

Instantly share code, notes, and snippets.

@voboshi
Created July 24, 2020 09:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save voboshi/a0887a4a64aee2bf24b43dd43cd98335 to your computer and use it in GitHub Desktop.
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