robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
954 stars 376 forks source link

Run tab shows green execution result after failed test run #2748

Open JFoederer opened 3 months ago

JFoederer commented 3 months ago

In RIDE's Run tab there is a colored view displaying pass/fail status and the active keyword during a test run. After the test runs ends I would expect this view to reflect the test run's final status. i.e. all green when all is ok, red when a fail was detected. This is in line with the default background color in the Robot test reports.

In the example below the run's first fail occurs during the final suite teardown. So, the test run failed, but all tests passed. In this situation the bar stays green after the test run, which is misleading:

image

Test suite used:

*** Settings ***
Suite Teardown    Fail    always

*** Test Cases ***
just one
    no operation
HelioGuilherme66 commented 3 months ago

@JFoederer Please experiment:, to see if is different:

JFoederer commented 3 months ago

Both have the exact same behavior.