Bug 2182667

Summary: [WebUi] Provide description of structure of test marks in pcs-web-ui
Product: Red Hat Enterprise Linux 9 Reporter: Ivan Devat <idevat>
Component: pcsAssignee: Ivan Devat <idevat>
Status: ASSIGNED --- QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: high    
Version: 9.1CC: cluster-maint, idevat, mlisik, mmazoure, mpospisi, nhostako, omular, tojeline
Target Milestone: rcKeywords: Triaged
Target Release: 9.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
This is an internal change aimed at making it easier to test pcs web UI. No doc update is needed.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivan Devat 2023-03-29 09:45:56 UTC
Provide description of structure of test marks in pcs-web-ui.

The description should be in document in json format. This document should be distributed as a part pcs-web-ui similarly to manifest.json. So, it would be possible to download this document from url similar to e.g. https://node:2224/ui/manifest-test-marks.json

The test marks are represented by attributes data-test of html elements of the page. Inside element marked like this can be nested html structure with another elements also marked by data-test. This way the marks creates tree-like structure.

In the mentioned json document, this structure should be represented by a json object. Keys of this object corresponds to the values of the top level data-test attributes and the values on the keys are objects (similar to top level object) representing the corresponding nested html structure.

Comment 1 Ivan Devat 2023-03-29 09:49:17 UTC
@nhostako @mmazoure Can we get a qa_ack+ for this issue? Thanks.