Created
May 25, 2019 18:04
-
-
Save CoinBR/a7ea04adc87e8f4a0addeb27c30b4add to your computer and use it in GitHub Desktop.
Slide 46
This file contains hidden or 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('Visualizar Projeto', () => { | |
describe('Usuário Deslogado', () => { | |
it('Visualizar um projeto qualquer', () => { | |
cy.visit('http://bit.ly/visual-teste-braskem') | |
cy.url().should('eq', 'https://visualthinkerapp.firebaseapp.com/login') | |
}) | |
}) | |
describe('Usuário de Testes', () => { | |
beforeEach( () => { | |
cy.visit('https://visualthinkerapp.firebaseapp.com/login') | |
cy.get('form').within( () => { | |
cy.get('input').first().type("[email protected]") | |
cy.get('input').last().type("muitasbolas") | |
}) | |
}) | |
it('nada', () => { | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment