From 05e373adfd44be553e439c083db62e9d5ae49740 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Sat, 27 Jan 2024 13:05:14 +0800 Subject: [PATCH] Change delay time to 10s Signed-off-by: Lin Wang --- .../plugins/dashboards-assistant/conversation_history_spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js b/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js index 00e53c149..fc9198fcc 100644 --- a/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js +++ b/cypress/integration/plugins/dashboards-assistant/conversation_history_spec.js @@ -38,7 +38,8 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) { ); // Open assistant flyout - cy.wait(30000); + // The flyout button will be detached and can't be clicked, add 10s delayed fix it. + cy.wait(10000); cy.get('img[aria-label="toggle chat flyout icon"]').click(); }); after(() => {