Closed
Description
Current behavior:
Dashboard UI does not show environment
Desired behavior:
Hi,
Is there an option to add environment to the dashboard UI?
So for example if we run sanity tests (or any e2e) for the same project on different environments we have no way to know where did the test ran.
for example screen shot above, test num 100 can run on production, text 101 can run on qa etc...
It would be great to see the env straight on dashboard without entering the test and figuring out where it ran.
Versions
cypress: v3.1.0
os: CentOS 7.3.1611
browser: Electron 59.0.3071.115
Activity
jennifer-shehane commentedon Oct 4, 2018
Hey @ArieLevs check out our new Grouping feature. We've found it helpful in our own tests to specify env the tests ran within, so
--group staging
and--group dev
, etc. This will have all the tests displayed in the same run with labels associating each group.Let me know if this helps with what you're looking for.
ArieLevs commentedon Oct 7, 2018
Hi @jennifer-shehane, thanks for the update,
I've ran cypress as
cypress run --group arieTest --record --key ****
(hard coded --group arieTest so all of our CI tests will use this parameter).I cat see string
arieTest
only inside a specific test run view (under Specs) just as shown in the image below Grouping-to-label-parallelizationthis way it still forces me to enter the specific test and scroll down to specs, is there any change to bring the environment up front similar to message, run time, etc?
jennifer-shehane commentedon Oct 9, 2018
We haven't had this feature request before, so there hasn't been any previous discussion on this.
The list of runs would need to display any/all groups within each run.
LiranBri commentedon Oct 16, 2018
lirantal commentedon Oct 16, 2018
Hi @jennifer-shehane, this feature will be valuable for us as we normally run cypress tests in multiple environments (development CI, alpha, and production) and need to easily distinguish this from the birds-eye view instead of the actual test run.
avnersorek commentedon Dec 24, 2018
Even just simple tagging/labeling of tests runs, that can be passed in to the CLI and displayed in the Dashboard UI, would be great.
16 remaining items
groups
? #5303cypress-bot commentedon Dec 5, 2019
The code for this is done in cypress-io/cypress#5164, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
cypress-bot commentedon Dec 12, 2019
Released in
3.8.0
.