Skip to content

fix: check path for indexHtmlFile in onSpecsChange (#31819) #31821

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

pmaieref
Copy link

@pmaieref pmaieref commented Jun 3, 2025

As described in the linked issue, this adds a check for the indexHtmlFile in the onSpecsChange method to use the correct path if the file path is absolute.

@cypress-app-bot
Copy link
Collaborator

@pmaieref
Copy link
Author

pmaieref commented Jun 5, 2025

Is there anything I can do here at the moment?
Would be great to see the pipeline run through and get some feedback on it.

Thanks!

indexHtmlFile supports absolute paths,
so we need to check if the path is absolute before
fetching it from the project root.
@pmaieref pmaieref force-pushed the bugfix/31819-fix-absolute-path branch from 672585a to f132962 Compare June 13, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Absolute path for component-index.html not working with onSpecsChange
2 participants