Skip to content

Commit 07ed061

Browse files
committed
delete wait 12 seconds
Signed-off-by: yyfamazon <[email protected]>
1 parent 40400a7 commit 07ed061

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/integration/plugins/dashboards-assistant/mds_chatbot_agent_framework_spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ if (Cypress.env('DASHBOARDS_ASSISTANT_ENABLED')) {
2222
// Visit ISM OSD
2323
cy.visit(`${BASE_PATH}/app/home`);
2424

25-
cy.wait(120000);
25+
cy.get(`button[aria-label="toggle chat flyout icon"]`, {
26+
timeout: 60000,
27+
}).should('be.length', 1);
2628
});
2729

2830
describe('Interact with Agent framework', () => {

0 commit comments

Comments
 (0)