diff --git a/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js b/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js index 32ae63a4b..9feef534c 100644 --- a/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js @@ -30,13 +30,6 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { 'home:newThemeModal:show', 'false' ); - // Visit OSD - cy.visit(`${BASE_PATH}/app/home`); - // Common text to wait for to confirm page loaded, give up to 60 seconds for initial load - cy.get(`input[placeholder="Ask question"]`, { timeout: 60000 }).should( - 'be.length', - 1 - ); }); after(() => { if (restoreShowHome) { @@ -59,6 +52,13 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { describe('panel operations', () => { it.only('should toggle history list', () => { + // Visit OSD + cy.visit(`${BASE_PATH}/app/home`); + // Common text to wait for to confirm page loaded, give up to 60 seconds for initial load + cy.get(`input[placeholder="Ask question"]`, { timeout: 60000 }).should( + 'be.length', + 1 + ); cy.get('img[aria-label="toggle chat flyout icon"]') .should('be.visible') .click();