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 committed Sep 19, 2023
1 parent 982ddfb commit 5c1ba7a
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
}
);

Expand Down

0 comments on commit 5c1ba7a

Please sign in to comment.