reportportal / agent-java-cucumber

Cucumber JVM version [1.0.0; 2.0.0) adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@Step Annotation throw IllegalArgumentException

kshammout opened this issue · comments

Describe the bug
When i'm using @step annotation and get the value from method parameter inside the Step description if its contains special character its throw illegalArgumentExp

e.g
@com.epam.reportportal.annotations.Step("Navigate to : {0}")
where {0} = /$^&^@#

Expected behavior
Its should take it as its

Error
java.lang.IllegalArgumentException: Illegal group reference

Versions:

  • Chrome
  • Version of RP [5.0.0-BETA-9]

@kshammout which agent and which version do you use?

@kshammout which agent and which version do you use?

chrome agent from CBT , version 5.0.0-BETA-9

Ok, will try to look into Cucumber, I suppose

@Yumfriez could you please address this?