I am using cypress to test the flow of my application. At this point it just opens an account and follows the flow as a user would. At a point I copy a link and would like to follow that link.
The issue I have is that the link changes with every test that I run and I don't know what the link is until its been copied. When the test finishes, I would like to paste that link in the browser and make sure that the page does exist.
I cant seem to find a way to paste from my clipboard. Is there a way to do this ? My next test basically needs to start with
cy.visit('paste');
Ive tried doing
cy.visit('{Ctrlv}');
But that does not seem to work.