flutter_gherkin icon indicating copy to clipboard operation
flutter_gherkin copied to clipboard

fix(web): wrong pass on integration tests

Open golane-august opened this issue 3 years ago • 0 comments
trafficstars

Plz inform, if have to split in multiple smaller PRs.

See: #275

I think the main problem is, that the failures are caught inside the gherkin_integration_test_runner and aren't reported to the integration_test package. So it passes. Why it only happens on web, I don't really know.

But for all of the platforms. A scenario should never pass, if one step fails. So I would recommend to simply apply it everywhere, as this should be the final "ultimate" test, even if it does not show the exact step, where it fails. At least the CI never passes a scenario, which has not passed all of its steps, whatever is happening. Of course one should determine the source of the failure.

golane-august avatar Nov 14 '22 14:11 golane-august