From 78ab8143a9a0daa7095c624cab0a43535f037b6d Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Fri, 15 Sep 2023 11:25:54 -0700 Subject: [PATCH] removed check for url since it differs with and without security Signed-off-by: Amardeepsingh Siglani --- .../security-analytics-dashboards-plugin/commands.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cypress/utils/plugins/security-analytics-dashboards-plugin/commands.js b/cypress/utils/plugins/security-analytics-dashboards-plugin/commands.js index 9e49f0e20..989590f8b 100644 --- a/cypress/utils/plugins/security-analytics-dashboards-plugin/commands.js +++ b/cypress/utils/plugins/security-analytics-dashboards-plugin/commands.js @@ -54,11 +54,9 @@ Cypress.Commands.add( Cypress.log({ message: `Wait for url: ${fullUrl} to be loaded.`, }); - cy.url({ timeout: timeout }) - .should('include', fullUrl) - .then(() => { - contains && cy.contains(contains).should('be.visible'); - }); + cy.url({ timeout: timeout }).then(() => { + contains && cy.contains(contains).should('be.visible'); + }); } );