cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.

Home Page:https://cypress.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show Node version in Cypress Cloud

dangowans opened this issue · comments

What would you like?

When looking at the results of my Cypress runs, I see the browser, the operating system, and the Cypress version used for the run, but I'd like to see the version of Node used as well.

Why is this needed?

I updated my testing workflow on GitHub Actions to test with Node 14, 16, and 18. Unfortunately, I can't differentiate the runs now.

image

Other

Workflow Run:
https://github.com/cityssm/lot-occupancy-system/actions/runs/4009458612

Cypress Run Results Page:
https://cloud.cypress.io/projects/xya1fn/runs

While I still think having the Node version tracked as part of the run would be helpful, I found a workaround for me using the --tag parameter when running Cypress.

When running Cypress from one of my Mocha tests, I use the following command

cypress run --config-file cypress.config.js --browser ${browser} --tag "${browser},${process.version}"

browser is either firefox or chrome. process.version is the running version of Node.

Now my runs are easy to differentiate.

image