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

Add code frame for error messages in stdout #7819

Open
kentcdodds opened this issue Jun 25, 2020 · 2 comments
Open

Add code frame for error messages in stdout #7819

kentcdodds opened this issue Jun 25, 2020 · 2 comments
Labels
cli stage: ready for work The issue is reproducible and in scope type: enhancement Requested enhancement of existing feature type: error message

Comments

@kentcdodds
Copy link

Current behavior:

This output in CI is not as helpful as it could be

image

Desired behavior:

I love the codeframe added to the UI in #3930. I'd like a codeframe for the headless mode output as well.

Test code to reproduce

Any test that fails

Versions

cypress 4.9.0

@Saibamen
Copy link
Contributor

Epic (games ;P): #7202

@jennifer-shehane
Copy link
Member

This is part of the next phase of error improvements laid out in #7202.

We're also planning to generate the code frame in the Dashboard for recorded runs. The test output is already available to view there, so it's a matter of highlighting the correct lines.

@jennifer-shehane jennifer-shehane changed the title Add codeframe for error messages in headless mode Add code frame for error messages in stdout Jun 26, 2020
@cypress-bot cypress-bot bot added the stage: ready for work The issue is reproducible and in scope label Jun 26, 2020
@jennifer-shehane jennifer-shehane added type: error message type: enhancement Requested enhancement of existing feature cli stage: ready for work The issue is reproducible and in scope and removed stage: ready for work The issue is reproducible and in scope labels Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli stage: ready for work The issue is reproducible and in scope type: enhancement Requested enhancement of existing feature type: error message
Projects
None yet
Development

No branches or pull requests

3 participants