Project

General

Profile

Actions

action #17462

closed

Testlib function record_info doesn't mark overall and category results as 'fail'

Added by thehejik about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2017-03-02
Due date:
% Done:

0%

Estimated time:

Description

How to reproduce:

  • Create a new file for test and put following:

    use base "opensusebasetest";
    use strict;
    use testapi;
    sub run() {
    record_info('It failed!', 'Enter some text here', result => 'fail');
    }
    sub test_flags() {
    return {important => 1};
    }
    1;

  • call the file within main.pm and run the test.

You will see that corresponding box detail is correctly red/failed but overall and category result remained 'ok'.

record_info_failure

Original PR lives at https://github.com/os-autoinst/os-autoinst/pull/716/files

Actions

Also available in: Atom PDF