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

On cy.visit('file://...) throw err to explain they should visit relative html file #4452

Open
jennifer-shehane opened this issue Jun 13, 2019 · 0 comments

Comments

1 participant
@jennifer-shehane
Copy link
Member

commented Jun 13, 2019

Current behavior:

We've had a couple people try to cy.visit('file://...). We support visiting .html files by specifying the relative path.

Desired behavior:

We can see if the user has passed in a file:// and throw a specific error advising them to pass in the relative path to the file from their projectRoot.

Versions

Cypress 3.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.