Skip to content

Commit

Permalink
single scenario test guarantees exclusion of result1 and result3
Browse files Browse the repository at this point in the history
  • Loading branch information
AKushWarrior committed Feb 13, 2024
1 parent e265b0a commit fc3e711
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void testSingleScenario() {
FeatureRuntime featureRuntime = FeatureRuntime.of(new Suite(), featureCall, null);
featureRuntime.run();

FeatureResult result = featureRuntime.result;
matchContains(result.getVariables(), "{ result2: 'Two' }");
var resultVars = featureRuntime.result.getVariables();
matchContains(resultVars, "{ result1: '#notpresent', result2: 'Two', result3: '#notpresent' }");
}
}

0 comments on commit fc3e711

Please sign in to comment.