Project

General

Profile

Actions

action #162488

closed

coordination #154768: [saga][epic][ux] State-of-art user experience for openQA

coordination #157510: [epic] Up-to-date JavaScript stack

cluster test dependency highlighting in jobs tables not showing up anymore size:S

Added by okurz about 2 months ago. Updated 21 days ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Observation

From https://suse.slack.com/archives/C02CANHLANP/p1718781077442299 . jpupava observed that the highlighting of dependencies in cluster tests that is shown with red and blue color while hovering over the "merge" icon on /tests and /tests/overview does not work anymore after the bootstrap 4->5 upgrade in #159408. Probably "highlight_parent" and "highlight_child" classes are still added to the table rows but not correctly styled anymore.

Steps to reproduce

Expected result

  • "last good":
    • "cursor over qam-mail-thunderbird (child)" cursor over qam-mail-thunderbird (child)
    • "cursor over qam-regression-installation-SLED (parent)" cursor over qam-regression-installation-SLED (parent)

Suggestions

$ git grep highlight_parent
assets/javascripts/overview.js:  changeClassOfDependencyJob(parentData, 'highlight_parent', true);
assets/javascripts/overview.js:  changeClassOfDependencyJob(parentData, 'highlight_parent', false);
assets/javascripts/tests.js:  addClassToArray($(this).data('parents'), 'highlight_parent');
assets/javascripts/tests.js:  removeClassFromArray($(this).data('parents'), 'highlight_parent');
assets/stylesheets/dashboard.scss:.highlight_parent {
t/ui/01-list.t:    is(scalar @{$driver->find_elements('#results #job_99937.highlight_parent')}, 0, 'parent not highlighted');
t/ui/01-list.t:is(scalar @{$driver->find_elements('#results #job_99937.highlight_parent')}, 1, 'parent highlighted');
t/ui/10-tests_overview.t:    my @parent_deps = $driver->find_elements('tr.highlight_parent');
  • Consider running the "last good" version of openQA and check in browser developer tools to figure out how the stuff is applied, like matching CSS and such and then compare to the new version

Related issues 2 (0 open2 closed)

Related to openQA Infrastructure - action #162491: Colorful dependencies are not visible when cursor is over git merge iconClosed2024-06-19

Actions
Copied from openQA Project - action #159408: Upgrade bootstrap from 4.6.1 to 5.3.3 size:MResolvedmkittler

Actions
Actions

Also available in: Atom PDF