Skip to content

Commit

Permalink
produtos
Browse files Browse the repository at this point in the history
  • Loading branch information
levibdev committed Feb 18, 2025
1 parent 86f14f5 commit 74862d7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/loja_ebac/cadastro.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Funcionalidade : Cadastro' ,() =>{
});


it.('Deve completar o cadastro com sucesso - Usando variaveis', () => {
it('Deve completar o cadastro com sucesso - Usando variaveis', () => {
var email = faker.internet.email()
var nome = faker.person.firstName()
var sobrenome= faker.person.lastName()
Expand Down
26 changes: 26 additions & 0 deletions cypress/e2e/loja_ebac/produtos.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
///<reference types="cypress"/>

describe('Funcionalidade: Produtos' , () => {

beforeEach (()=> {
cy.visit('http://lojaebac.ebaconline.art.br/produtos/')

});


it('Deve selecionar um produto da lista' , () => {
cy.get('.products > .row')
//.first()
//.last()
//.eq(2)
.contains('Apollo Running Short')
.click()

cy.get('#tab-title-description > a').should('contain' , 'Descrição')


});



})

0 comments on commit 74862d7

Please sign in to comment.