Skip to content

Commit

Permalink
removed check for url since it differs with and without security (ope…
Browse files Browse the repository at this point in the history
…nsearch-project#863)

Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan authored and AWSHurneyt committed Oct 14, 2023
1 parent 5d05e8c commit b8128cc
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,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');
});
}
);

Expand Down

0 comments on commit b8128cc

Please sign in to comment.