allure2 icon indicating copy to clipboard operation
allure2 copied to clipboard

Get test case id

Open Lewka opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. Hi, we are running our tests from Test Rail, and if test fails, we attach a link to allure report, but currently we attach link to the whole report (like allure-report/index.html#suites/), not to the failed test as we would like.

Describe the solution you'd like We would like to attach link to the failed test case. Like (allure-report/index.html#suites/someCaseId)

Additional context As I understand, we need to get ids from folder data/test-cases, but report generates after all tests are executed. Maybe If you could add a new field (like allure-result id) to *-results.json, then you could use that field to generate final report, and I could use that field when test fails.

Lewka avatar Mar 27 '19 12:03 Lewka

Is this feature already done?

kamil1014 avatar Oct 22 '20 09:10 kamil1014

I'm also interested in this feature

mialeska avatar Sep 01 '21 17:09 mialeska

Is this still not possible? Having consistent test case IDs across multiple runs would help a lot.

ElvenMonky avatar Nov 16 '22 22:11 ElvenMonky