You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm looking for a solution to be able to validate that my app do not push pages in the browser history. Sadly, I can't find a way to reset it properly before testing.
Current behavior:
I'm currently reading the history length using the following piece of code:
Hello, I'm looking for a solution to be able to validate that my app do not push pages in the browser history. Sadly, I can't find a way to reset it properly before testing.
Current behavior:
I'm currently reading the history length using the following piece of code:
The main issue with this approach is that browser history is shared between tests. Consequently this test is now dependent of what was run before it.
Desired behavior:
I would expect two possible behaviors:
cy.clearHistory()
method to clear tab history. It can be useful to run it before doing the assertionVersions
Cypress 3.8.3.
The text was updated successfully, but these errors were encountered: