diff --git a/cypress/e2e/3-widget/ask.cy.js b/cypress/e2e/3-widget/ask.cy.js index 1a81063..2ba93ce 100644 --- a/cypress/e2e/3-widget/ask.cy.js +++ b/cypress/e2e/3-widget/ask.cy.js @@ -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 @@ -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()