Skip to content
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

Conditional step crushes on the Before lifecycle #1459

Closed
dKatechev opened this issue Feb 26, 2021 · 0 comments · Fixed by #1461
Closed

Conditional step crushes on the Before lifecycle #1459

dKatechev opened this issue Feb 26, 2021 · 0 comments · Fixed by #1461
Labels
bug Something isn't working
Milestone

Comments

@dKatechev
Copy link
Contributor

dKatechev commented Feb 26, 2021

Description:
Conditional step is failing in Before story section, passes successfully in the Scenario section.

STR:

Description: test #{eval(...)} in Before story lifecycle

Meta:
    @toRun

Lifecycle:
Before:
Scope: STORY
When the condition `#{eval( "abc" == "abc" )}` is true I do
|step                                                            |
|When I initialize the SCENARIO variable `var` with value `value`|


Scenario: test scenario
When I initialize the SCENARIO variable `var` with value `value`

Log and report attached:
log4.log
allure.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants