From 5abf1a4f36df7277476fe607559a10c4daf8025d Mon Sep 17 00:00:00 2001 From: Kirill Lakhov Date: Mon, 23 Sep 2024 14:42:49 +0300 Subject: [PATCH] changed notification closing logic --- tests/cypress/e2e/features/requests_page.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cypress/e2e/features/requests_page.js b/tests/cypress/e2e/features/requests_page.js index fb34cf9fba38..3cdf187a9825 100644 --- a/tests/cypress/e2e/features/requests_page.js +++ b/tests/cypress/e2e/features/requests_page.js @@ -323,7 +323,8 @@ context('Requests page', () => { cy.getJobIDFromIdx(0).then((jobID) => { const closeExportNotification = () => { cy.contains('Export is finished').should('be.visible'); - cy.closeNotification('.ant-notification-notice-info'); + cy.contains('Export is finished').parents('.ant-notification-notice') + .find('span[aria-label="close"]').click(); }; const exportParams = {