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

No output in dashboard report #977

Closed
zbigniewkalinowski opened this issue Nov 29, 2017 · 16 comments
Closed

No output in dashboard report #977

zbigniewkalinowski opened this issue Nov 29, 2017 · 16 comments
Assignees
Milestone

Comments

@zbigniewkalinowski
Copy link

zbigniewkalinowski commented Nov 29, 2017

  • Operating System: Win10
  • Cypress Version: 1.1.2
  • Browser Version: Firefox, Chrome

Is this a Feature or Bug?

Bug

Current behavior:

I run 'example_spec.js' suite and i can't see output in dashboard.

Desired behavior:

Output should be visible as in demo movie on cypress.io site

How to reproduce:

  1. Run 'example_spec.js' script using for example: 'cypress run --record --key command

Test code:

Additional Info (images, stack traces, etc)

obraz

@jennifer-shehane
Copy link
Member

Could you tell me exactly what browser and OS you were viewing this page in the Dashboard on?

I've attempted to look at the Dashboard's output with some of our projects in Windows 10 in both Chrome 62 and Firefox 57, but do not see any issues.

It looks as though you are not running the example_spec fresh as there is 1 failure in your screenshot. Could you provide the exact tests you ran?

Also, you exposed your record-key in the issue you opened above. This key should remain private. I've removed it from your issue, but you should probably generate a new key to avoid any concerns with it being publicized. https://on.cypress.io/dashboard-service#Identification

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Nov 29, 2017
@jennifer-shehane
Copy link
Member

Hi @zbigniewkalinowski I was able to track down and fix a css issue that was causing the output screen to scroll independently from the window (which I had a feeling may be your issue just looking from the screenshots).

If you could, take another look and see if this is fixed. 🤞

@zbigniewkalinowski
Copy link
Author

I can't see the difference. I used a example_spec file that is installing with cypress pack when i'm creating new project.

@zbigniewkalinowski
Copy link
Author

and now my account zbigniewkalinowski is corrupted...
I can't see left panel in dashboard and i can't configure projects.
I logged from a different account and performed this test, but still i can't see proper output in my run details... I tried to install cypress in different folder and run it. Still the same.

@jennifer-shehane
Copy link
Member

I'm not sure what you mean by "and now my account zbigniewkalinowski is corrupted", is this related to Cypress?

Could you possibly give more detail on what you are doing to get here? Your OS? Browser? How you installed Cypress? Where you installed Cypress? Where you executed the cypress record?

There's not much we can do if we cannot reproduce your problem - which we've been unable to do so far from our setup. Thanks.

@zbigniewkalinowski
Copy link
Author

zbigniewkalinowski commented Nov 30, 2017

You're asking about things that i wrote. I wrote that this is Windows 10, no matter Chrome (62.0.3202.94) or Firefox (57.0) browser. I'm experiencing this issue on both browsers.

  1. I installed cypress by 'npm install cypress --save-dev'
  2. I got two accounts in github that i'm using to login to Cypress dashboard now.
  3. From account 'zbigniewkalinowski' i can't see left panel in this dashboard (that's why i told you that this account is corrupted and that's why i created new account)
  4. I logged on new github account: 'zbylon80'
  5. When i'm login to dashbord on 'zbylon80' account i can see left panel - account looks good
  6. When i'm running and recording test using 'cypress run --record --key' command (using test_spec.js file that is installed with Cypress by default) i can't see Output in dashbord.
  7. I can see my runs there, but there is no Output in run's details like on screenshot that i pasted before.

@jennifer-shehane
Copy link
Member

Thanks! This helped and we're currently tracking down the issue.

@jennifer-shehane jennifer-shehane added OS: windows stage: investigating Someone from Cypress is looking into this and removed external: dashboard stage: needs information Not enough info to reproduce the issue labels Nov 30, 2017
@bahmutov bahmutov self-assigned this Nov 30, 2017
@bahmutov
Copy link
Contributor

bahmutov commented Nov 30, 2017

Confirmed by running cypress-example-kitchensink on Windows https://dashboard.cypress.io/#/projects/4b7344/runs/d439db3f-852c-4a67-a670-6bc152be48f2/output - missing output

@brian-mann
Copy link
Member

It seems its just a windows problem with the desktop app not collecting stdout. Not surprising since Windows is a unique snowflake.

@zbylon80
Copy link

zbylon80 commented Dec 7, 2017

Hello. In new version still no output...

@bahmutov
Copy link
Contributor

bahmutov commented Dec 7, 2017

Yes, there was no Windows work in this release.

@zbylon80
Copy link

zbylon80 commented Dec 7, 2017

When can we except some fix for this issue?

@bahmutov
Copy link
Contributor

bahmutov commented Dec 7, 2017

We are quite deep in other issues, but please see if you can fix it yourself - https://github.com/cypress-io/cypress/blob/develop/cli/lib/exec/spawn.js

@brian-mann brian-mann added this to the 1.4.1 milestone Dec 24, 2017
@brian-mann
Copy link
Member

I found the culprit. Electron is doing something special for windows. Instead of calling process.stdout.write they are calling their own specially added method process.log.

Here's the associated issues and PRs:

The fix here is simple - if process.log is defined (or we're on Windows) then use that instead of process.stdout.write

@bahmutov
Copy link
Contributor

bahmutov commented Dec 25, 2017 via email

@jennifer-shehane jennifer-shehane removed the stage: investigating Someone from Cypress is looking into this label Dec 26, 2017
@brian-mann
Copy link
Member

Released in 1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants