Strip Given/When/Then
prefix for keywords that start with a variable
#4577
Milestone
Given/When/Then
prefix for keywords that start with a variable
#4577
When using
Given/When/Then/etc
to match keywords that start with a variable${...}
, thenGive/When/Then
is captured into the variable value.According to Ignoring Given/When/Then/And/But prefixes,
Is there a builtin method to reverse this logic such that it checks for the prefix-dropped version first?
Outputs
Wanted output
I can get this behaviour by changing https://github.com/robotframework/robotframework/blob/master/src/robot/running/namespace.py#L292-L298 to
The text was updated successfully, but these errors were encountered: