You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Create BDD with dependentScenarios and make one scenario(on which other scenario is dependent) fail/skip.
Expected behavior
Dependent scenario should not be executed.
Actual behavior
Dependent scenario gets executed.
Is the issue reproducible on runner?
QAS
Maven
Gradle
Ant
Eclipse
Test case sample
SCENARIO: SignUp
META-DATA: {"description":"Sample Test Scenario","groups":["SMOKE"]}
Given this should fail or skip
END
SCENARIO: Login
META-DATA: {"description":"Sample Test Scenario","groups":["SMOKE"],"dependsOnMethods":["SignUp"]}
Given COMMENT: "This should not run"
END
The text was updated successfully, but these errors were encountered:
With qaf 3.0.0 we may not support test dependency with BDD or Feature file. If one want to take benefit of test dependency and still want to implement BDD new feature of RuntimeScenarioFactory can be useful, where scenario is create during execution in Java code just like reading from BDD or Feature file. It will look like:
QAF Version
Steps To Reproduce
Expected behavior
Dependent scenario should not be executed.
Actual behavior
Dependent scenario gets executed.
Is the issue reproducible on runner?
Test case sample
The text was updated successfully, but these errors were encountered: