-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@step(u'its value {condition:ANY} match the "{search_regex}" regex') is not working as expected #121
Comments
I have attached the plan json in case you want to refer to it. Thanks! |
Thanks for reporting, this is weird that is passes on tests but fails on you. Will have a look |
Can you please try with |
Thanks for the fix. I have tested this use case with 1.0.17 and this is what I got
Not sure why its still failing when my Action attribute has kms:Encrypt shown below
Basically, I want to FAIL the test when Action attribute contains anything other than kms:Encrypt or kms:Decrypt do you see any problem with my regex The regex with out the OR condition works fine i.e any help with the regex is appreciated. |
Just tested against your code, The reason why we escape is that it was messing up the table structure defining Examples. |
Thank you @eerkunt |
Hi,
I am trying to test an use case in v 1.0.16 , where I want to FAIL the test if the Action attribute value is other than abc123
so I wrote the below Scenario
and my plan.out.json is like this
when I run my BDD, it always pass, irrespective of the Action attribute value
The text was updated successfully, but these errors were encountered: