stale-optician-85950
10/13/2022, 6:57 PMhttps://mysite.com/item is your baseUrl and you need to visit https://sekondsite.com/ for additional authentication.
I would have expected a test flow like this:
* Login https://mysite.com/item (as your code is above)
* Validate that the page has fully loaded using cy.request()
* Validate the state of the images that are waiting to load (the process will depend on your app)
* cy.origin() into https://sekondsite.com/ and authenticate
* Come back to https://mysite.com/item
* Validate that the images have now loaded (the process will depends on your app)