k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Display the test comparison link (vs. the baseline) if available

Open dgzlopes opened this issue 3 years ago • 0 comments
trafficstars

Feature Description

If you run a test in the Cloud (triggered from the CLI) or use the Cloud output, k6 will give back the link for that test in the Cloud. It would be nice if k6 could give you, too, a link to the comparison with the baseline (if this is possible).

This would be extremely helpful, coupled with #2546, as you would be able to get on every PR a link to a comparison with the latest release or merge on main/master, or whatever your baseline is.

Note: This wasn't possible at all in the past (having a link to a comparison). Now it's possible b/c the URL includes the test run ids (e.g. https://app.k6.io/runs/1147180?compare=1147149)

Suggested Solution (optional)

Technical details

It would be nice if the backend returned this URL once you create a new test run. The alternative approach involves a few API calls I suppose.

Already existing or connected issues / PRs (optional)

This one would work very well with: #2546

dgzlopes avatar May 26 '22 07:05 dgzlopes