Skip to content

Instantly share code, notes, and snippets.

@CoinBR
Created May 25, 2019 18:19
Show Gist options
  • Save CoinBR/b5fe35182de7f304db1e56970760ee35 to your computer and use it in GitHub Desktop.
Save CoinBR/b5fe35182de7f304db1e56970760ee35 to your computer and use it in GitHub Desktop.
Slide 051
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("vt-teste@yandex.com")
cy.get('input').last().type("muitasbolas")
cy.get('button').first().click()
})
})
it('Projeto Criado por ele: OK', () => {
})
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment