Created
March 17, 2021 20:45
-
-
Save dannyshain/fb4056c5974d58d03e8c69ce5e92dc6c to your computer and use it in GitHub Desktop.
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
context('Home', () => { | |
beforeEach(() => cy.visit('https://demo.applitools.com')); | |
it('should log in to the application and land on the dashboard', () => { | |
cy.eyesOpen({ | |
appName: 'Demo App', | |
testName: 'Login', | |
}); | |
cy.eyesCheckWindow({ tag: 'Login Window' }); | |
cy.get('#log-in').click(); | |
cy.eyesCheckWindow({ tag: 'App Window' }); | |
cy.eyesClose(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment