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

Does not work correctly with tryTo plugin #36

Open
reveritas opened this issue Oct 21, 2024 · 1 comment
Open

Does not work correctly with tryTo plugin #36

reveritas opened this issue Oct 21, 2024 · 1 comment

Comments

@reveritas
Copy link

Tests that use the tryTo functionality are not sent to ReportPortal correctly. If the step inside tryTo fails, this plugin seems to consider that step as actually failed and does not continue sending the rest of the steps. The test in ReportPortal shows as "passed" even though the last step is the failed tryTo step, and its status is "IN_PROGRESS" because the plugin stopped sending updates.

The only other reference to this issue I found is codeceptjs/CodeceptJS#3632, where your response was to use this library instead of reportportal/agent-js-codecept. So I'm out of direct options since it is now also happening with this library.

If you could confirm that this issue exists and you are unable to take care of it at this moment in time, we can look into providing a fix. The only other option is replacing all our usages of tryTo with an equivalent, Codecept-internal check.

We are using the same versions as the ones in this library (CodeceptJS 3.5.12).

@kobenguyent
Copy link
Owner

Thanks for your report, @reveritas! Sure thing, your fix would be really appreciated.

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

No branches or pull requests

2 participants