Skip to content

Commit

Permalink
exemplo de repetição de função
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalussa dos Santos committed Jul 11, 2021
1 parent 7e96a43 commit 36da6f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/exemploAvancado/hackerStories.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ describe('Hacker Stories', () => {
.should('be.visible')
})

it.only('mostra no máximo 5 botões para os últimos termos pesquisados', () => {
it('mostra no máximo 5 botões para os últimos termos pesquisados', () => {
const faker = require('faker')

cy.intercept(
'GET',
'**/search**'
).as('getRandomStories')

Cypress._.times(6, () => {
Cypress._.times(7, () => {
cy.get('#search')
.clear()
.type(`${faker.random.word()}{enter}`)
Expand Down

0 comments on commit 36da6f4

Please sign in to comment.