Skip to content

Commit

Permalink
Desafio da seção 13
Browse files Browse the repository at this point in the history
  • Loading branch information
gilsongs committed Oct 23, 2023
1 parent 5bb53b1 commit 755a26e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion cypress/integration/CAC-TAT.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ describe('Central de Atendimento ao Cliente TAT', function() {
.should('have.value', longText)
})

it.only('faz uma requisição HTTP', function() {
it('faz uma requisição HTTP', function() {
cy.request('https://cac-tat.s3.eu-central-1.amazonaws.com/index.html')
.should(function(response) {
// console.log(response)
Expand All @@ -238,5 +238,15 @@ describe('Central de Atendimento ao Cliente TAT', function() {
expect(body).to.include('CAC TAT')
})
})

it.only('encontra o gato escondido', function() {
cy.get('#cat')
.invoke('show')
.should('be.visible')
cy.get('#title')
.invoke('text', 'CAT TAT')
cy.get('#subtitle')
.invoke('text', 'Eu 💚 gatos!')
})
})

0 comments on commit 755a26e

Please # to comment.