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

IF ELSE is evaluated as result #184

Open
seemme opened this issue Feb 5, 2024 · 3 comments
Open

IF ELSE is evaluated as result #184

seemme opened this issue Feb 5, 2024 · 3 comments
Labels

Comments

@seemme
Copy link

seemme commented Feb 5, 2024

Describe the bug
Similar to: #129

If a IF, ELSE or Run Keyword And Return Result returns false, the step is shown as failed in Report Portal. In Robot Framework log.html itself it is green.

Expected behavior
The result of conditional actions and Keywords which return the Result of an Keyword shouldn't be evaluated as test step results

log.html
image

Report Portal
image

Package versions
robotframework-reportportal==5.5.0
Reportportal: Build: 5.10.0

@seemme seemme added the bug label Feb 5, 2024
@HardNorth
Copy link
Member

HardNorth commented Feb 5, 2024

@seemme Please don't use RP_CLIENT_TYPE = "ASYNC_BATCHED" if you want to avoid this, or don't use conditional steps. I explicitly warned you about that in my comment here: #177 (comment)

@dkomarek2
Copy link

If these two parameters are mutually exclusive, then RP is useless for me (we have the same problem in my company). The sync takes an awfully long time, or the test slows down so much that it is unusable. And if RP can't evaluate ELSE IF it is useless and we turn it off.

@HardNorth
Copy link
Member

@dkomarek2 They are useless until we release a server fix. Unfortunately, it is stuck in production due to performance issues. Bet you would answer with the same words if we would release it now.

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

No branches or pull requests

3 participants