Skip to content

Commit

Permalink
Increasing delay to 6s for ask tests (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpellerin42 authored Feb 22, 2024
1 parent 0aa363b commit 9783ac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/3-widget/ask.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Ask', () => {
cy.get(nucliaSearchBarSelector).shadow().find(searchBarInputSelector).type(`${firstQuery}\n`, { force: true });
cy.get(nucliaSearchResultsSelector)
.shadow()
.find(`${initialAnswerSelector} ${answerContainerSelector}`)
.find(`${initialAnswerSelector} ${answerContainerSelector}`, {timeout: 6000})
.should('exist');

// chat with your doc
Expand Down Expand Up @@ -61,7 +61,7 @@ describe('Ask', () => {
cy.get(nucliaSearchBarSelector).shadow().find(searchBarInputSelector).type(`${secondQuery}\n`, { force: true });
cy.get(nucliaSearchResultsSelector)
.shadow()
.find(`${initialAnswerSelector} ${answerContainerSelector}`)
.find(`${initialAnswerSelector} ${answerContainerSelector}`, {timeout: 6000})
.should('exist');
cy.get(nucliaSearchResultsSelector)
.shadow()
Expand Down

0 comments on commit 9783ac1

Please sign in to comment.