Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created March 17, 2021 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannyshain/c05e652a423597b4e533f00a0beb4e36 to your computer and use it in GitHub Desktop.
Save dannyshain/c05e652a423597b4e533f00a0beb4e36 to your computer and use it in GitHub Desktop.
context('Home', () => {
beforeEach(() => cy.visit('https://demo.applitools.com'));
it('should log in to the application and land on the dashboard', () => {
cy.get('#log-in').click();
cy.get('.element-header').eq(0).contains('Financial Overview');
cy.get('.element-header').eq(1).contains('Recent Transactions');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment