Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1727063 - Incorrect HTML on task details page causes unexpected DOM which fails QE automation
Summary: Incorrect HTML on task details page causes unexpected DOM which fails QE auto...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.6.0
Assignee: Mirek Długosz
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-04 10:53 UTC by Mirek Długosz
Modified: 2019-10-22 19:52 UTC (History)
4 users (show)

Fixed In Version: tfm-rubygem-foreman-tasks-0.15.5.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:52:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Visual explanation (196.62 KB, image/png)
2019-07-04 10:53 UTC, Mirek Długosz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27234 0 'Normal' 'Closed' ' Incorrect HTML on task details page causes unexpected DOM which fails QE automation' 2019-11-18 18:29:15 UTC

Description Mirek Długosz 2019-07-04 10:53:41 UTC
Created attachment 1587350 [details]
Visual explanation

Since foreman-tasks commit a2aa2b7e68d0d6615a8810a4c1f3f77d1ce5a4e5, "Errors" field value on task details page is in <p> instead of <div>. However, <p> is not valid parent of <pre>. This causes browsers to create unexpected DOM tree that Satellite QE automation fails to interpret correctly. As a final result, some of our automation reports failures where they should not.

See attached screenshot for visual explanation.

Comment 2 Bryan Kearney 2019-07-04 14:04:51 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27234 has been resolved.

Comment 3 Mirek Długosz 2019-07-24 14:35:17 UTC
tests/foreman/ui/test_dashboard.py::test_positive_latest_warning_error_tasks is now passing in automation run and locally.

Version:
Satellite 6.6 snap 11
pulp-server-2.19.1-1.el7sat.noarch
satellite-6.6.0-5.beta.el7sat.noarch
tfm-rubygem-katello-3.12.0.7-1.el7sat.noarch
foreman-1.22.0.9-1.el7sat.noarch
tfm-rubygem-foreman-tasks-0.15.5.2-1.el7sat.noarch
tfm-rubygem-foreman-tasks-core-0.3.2-1.el7sat.noarch

Comment 4 Bryan Kearney 2019-10-22 19:52:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3172


Note You need to log in before you can comment on or make changes to this bug.