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

DevServerPublicPathRoute cause intercept not being called #29798

Closed
louis49 opened this issue Jul 3, 2024 · 3 comments
Closed

DevServerPublicPathRoute cause intercept not being called #29798

louis49 opened this issue Jul 3, 2024 · 3 comments
Labels
CT Issue related to component testing stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period

Comments

@louis49
Copy link

louis49 commented Jul 3, 2024

Current behavior

Activating devServerPublicPathRoute in defineConfig cause intercept not being called

Desired behavior

Activating devServerPublicPathRoute in defineConfig let intercept being called

Test code to reproduce

https://github.com/louis49/cypress-test-intercept-public-folder

Cypress Version

13.13.0

Node version

v20.11.0

Operating System

MacOs 14.5 (23F79)

Debug Logs

No response

Other

I added devServerPublicPathRoute for having (vuetify) showing during tests

@louis49
Copy link
Author

louis49 commented Jul 4, 2024

More info : it seems that the request is rejected due to a Cors policy. The Access-Control-Allow-Origin in preflight request is normally http://localhost:5173 but, by activating devServerPublicPathRoute, it becomes http://localhost:8080

@jennifer-shehane jennifer-shehane added CT Issue related to component testing stage: needs investigating Someone from Cypress needs to look at this labels Jul 8, 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 Jan 5, 2025
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants