Last active
May 6, 2020 08:44
-
-
Save PierreCavalet/0ce82993d16efecec019d46cd9c11751 to your computer and use it in GitHub Desktop.
with goTo command
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
describe('Homepage', () => { | |
it('Checks if everything is in the page', () => { | |
cy.goTo('home') | |
cy.get('[data-cy="home-title"]').should('exist') | |
cy.get('[data-cy="home-gif"]').should('exist') | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment