I have a test case in which I am checking content of URL link, when a button is clicked. I am able to get the URL with the content using cy.url call. The issue is that in next test case when, login process is done ,then URL link fetched in previous test case is also being fetched, which is causing failure in login process. I am also using cy.visit() call to login page before at start of next test case to login.
Please refer screen shot for reference. If anybody has faced same issue or have resolved such issue, please provide some suggestions.