Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with baseUrl feature adding trailing slash #29752

Open
JChaneyasdf opened this issue Jun 26, 2024 · 2 comments
Open

Issues with baseUrl feature adding trailing slash #29752

JChaneyasdf opened this issue Jun 26, 2024 · 2 comments
Labels
stale no activity on this issue for a long period type: bug

Comments

@JChaneyasdf
Copy link

Current behavior

The baseUrl feature is appending a slash to the baseUrl, which can cause some websites to disconnect or fail to fire their load event.

Desired behavior

cy.visit('/') should take the user to the baseUrl, not https//baseUrl.com/

Test code to reproduce

Code is company intellectual property. To check this behavior, run any local virtualized server and attempt to visit it using baseUrl and cy.visit('/'). Check your browsers dev console or cypress debug log, and if the issue has been successfully recreated, the site visited will not be baseUrl, but will instead have a slash character appended to the end.

Cypress Version

13.12.0

Node version

20.13.0

Operating System

Windows 11

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

Related issue: #25554

@jennifer-shehane jennifer-shehane changed the title Issues with baseUrl feature Issues with baseUrl feature adding trailing slash Jun 26, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale no activity on this issue for a long period type: bug
Projects
None yet
Development

No branches or pull requests

3 participants