Skip to content

Commit

Permalink
Merge pull request #2506 from AKushWarrior/master
Browse files Browse the repository at this point in the history
Single Scenario Test Improvement
  • Loading branch information
ptrthomas authored Feb 14, 2024
2 parents d654e1d + fc3e711 commit 9087fdc
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 9087fdc

Please sign in to comment.