https://cypress.io logo
hi people, i'm struggling with a case where there'...
# e2e-testing
w
hi people, i'm struggling with a case where there's a function that calls
windows.location.assign(url)
I need to test if the url property is correctly defined, so i've disabled the chromeWebSecurity and i'm triggering the function and asserting the
cy.location()
. although it redirects to
chrome-error://chromewebdata/
How can i assert the right url?