robotframework / robotframework/RIDE

Run tab shows green execution result after failed test run

Open
#2,748 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

analyze
Dominant language
Python
Stars
1k
Forks
385
Avg merge
13m
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in RIDE's Run tab with the provided suite, then trace how the colored status view is updated when the run completes. The fix is done when a failure in suite teardown leaves the final status red, and an all-successful run remains green.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.