Project

General

Profile

Actions

action #158739

open

[openQA][automation][api] Can record_info hightlight recorded info ?

Added by waynechen55 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-04-10
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

User story

record_info is very useful api to record important information or step during test for purpose of highlighting, reference or even debugging. But when there are many of similar record_info uses in a test run, sometimes I need to look around to find the most desired one (although I can expose important keyword at the beginning to make it more eye-catching, for example, this and this). I was wondering whether record_info can provide functionality of highlight itself as a different color or higher contrast like record_soft_failure does. In this way, I can highlight certain record_info which plays a role of bookmarking or segmenting in order to divide test run into logic parts or steps. This will present more convenient or efficient test result on job page on openQA.

Acceptance criteria

  • record_info provides additional optional setting to highlight itself.
  • Highlighting can be a different color or higher contrast as long as it is more eye-catching.
  • What a finished test run looks like should not change if user chooses to do not use this new setting.

Suggestions

  • Introduce this optional setting for record_info with the least effort and impact.
  • Implementation can be done inside record_info or other more generic functions being used by record_info.

Further details

n/a

No data to display

Actions

Also available in: Atom PDF