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

fix(web): wrong pass on integration tests #276

Open
wants to merge 5 commits into
base: integration_test__package_support
Choose a base branch
from

Conversation

golane-august
Copy link

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.

@@ -261,6 +261,7 @@ abstract class GherkinIntegrationTestRunner {
);

await cleanUpScenarioRun(dependencies);
expect(failed, false);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to note that adding this line only from this PR causes my Scenario to hang when running under integration_test on a real device. It could be an issue on my side, but if it works for web, then maybe it needs to be checked with kWeb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants