cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.7k stars 3.16k forks source link

The app redirects the user to the wrong path. #28599

Closed tudorgabriel closed 8 months ago

tudorgabriel commented 8 months ago

Current behavior

The app redirects me on the wrong path after cy. visit and the engine returns 404 not found

Steps : Create a basic test file Start with cy. visit(https://wallet.multiversx.com/unlock)

Actual result :

image

Desired behavior

The app should access the URL from cy.visit and start the test

Test code to reproduce

describe('test', () => { it('should', () => { cy.visit('http://wallet.multiversx.com/unlock'); }); });

Cypress Version

13.3.0

Node version

16.20.2

Operating System

macOS 14.2.1

Debug Logs

No response

Other

No response

jennifer-shehane commented 8 months ago

@tudorgabriel I think this may be a manifestation of this issue. https://github.com/cypress-io/cypress/issues/25891 I saw it load the first time I visited - and subsequent loads are trying to upgrade to https on the main window which is 404'ing...... I'm not sure why the inifite load wouldn't happen here though.