reportportal / agent-java-cucumber4

Cucumber JVM version [4.0.0; 5.0.0) adapter
Apache License 2.0
6 stars 9 forks source link

Need to create attributes on feature file #85

Closed Kamala-PriyankaCog closed 2 years ago

Kamala-PriyankaCog commented 2 years ago

Describe the bug A clear and concise description of what the bug is. Trying to provide different Severity level for each test case using- java-agent-cucmber4- version-4.1.1

Steps to Reproduce Steps to reproduce the behavior:

  1. ...added rp.attributes= Severity:low;Medium;high
  2. Provided tag as @Medium upon scenario outline
  3. Could you please help us on how to add these value sto feture file since it is not described in the official documentation

Expected behavior A clear and concise description of what you expected to happen. Should be able to show tets cases count on dashbard by differentiating with different Severity levels Actual behavior What actually happened. Not able to filer with Attribute tage Dependency versions Include version info of the following libraries: client-java, agent-java-cucumber4

Additional context Add any other context about the problem here.

HardNorth commented 2 years ago

We already have example which shows tag setting: https://github.com/reportportal/examples-java/blob/master/example-cucumber4/src/test/resources/features/attribute/belly.feature

I modified it to demonstrate feature-level with @high-severity tag. That's how my feature looks after it: Screen Shot 2022-07-08 at 1 01 18 PM

If you still not able to set tags please consider agent update, version 4.1.1 is a way too old.