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

Full path to failed specfile is not viewable from stdout #4977

Closed
jennifer-shehane opened this issue Aug 13, 2019 · 5 comments · Fixed by #5120
Closed

Full path to failed specfile is not viewable from stdout #4977

jennifer-shehane opened this issue Aug 13, 2019 · 5 comments · Fixed by #5120
Assignees
Labels
pkg/server This is due to an issue in the packages/server directory

Comments

@jennifer-shehane
Copy link
Member

Current behavior:

The specfiles are truncated in the stdout results of a run, making it difficult for users to track down which test file results they are looking at.

Screen Shot 2019-08-13 at 4 20 09 PM

Desired behavior:

Some suggestions

  • Make this configurable somehow
  • Have a better way to display the full specfile name (maybe return the line to print the entire length)

Versions

Cypress 3.4.1

@Hydrock
Copy link

Hydrock commented Sep 9, 2019

Please do that. I want to format the output to the console myself.

@bahmutov
Copy link
Contributor

bahmutov commented Sep 9, 2019

I wonder if we could get away with the following (simple) solution:
if the filepath is longer than let's say 20 characters, print it by itself on the first line and then print the rest of the stats on the second line for each spec.

By the way, this reporting is done not in the CLI NPM module but in packages/server in file https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/modes/run.coffee

@bahmutov bahmutov added pkg/server This is due to an issue in the packages/server directory and removed cli labels Sep 9, 2019
@jennifer-shehane jennifer-shehane self-assigned this Sep 9, 2019
@cypress-bot cypress-bot bot added the stage: ready for work The issue is reproducible and in scope label Sep 9, 2019
@elena258
Copy link

Hey team! We need it badly... lets make it happen! :)

@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: ready for work The issue is reproducible and in scope stage: work in progress stage: needs review The PR code is done & tested, needs review labels Sep 10, 2019
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: work in progress labels Oct 17, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 21, 2019

The code for this is done in cypress-io/cypress#5120, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Oct 21, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 23, 2019

Released in 3.5.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg/server This is due to an issue in the packages/server directory
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants