-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OSD] Skip cypress tests for data explorer with security enabled #1120
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,9 @@ if (Cypress.env('SECURITY_ENABLED')) { | |
// Assert that the clipboard has data | ||
expect(clipboardData).to.have.length.greaterThan(0); | ||
|
||
cy.visit(clipboardData); | ||
cy.waitForLoader(); | ||
// TODO: tries to re-route with a different origin | ||
// cy.visit(clipboardData); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @leanneeliatra would you think this is ok? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes this looks good to me @kavilla |
||
// cy.waitForLoader(); | ||
|
||
// Now on copied URL page | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a fan of this.
We could just strip the tenant from the query string and then compare. In fact, checking if the URL is identical is not a good idea; we should check if the elements we want are there, in whatever order.