Bug 2100762

Summary: editor toggle radio input doesn't have distinguishable attributes
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Yadan Pei <yapei>
Status: CLOSED DEFERRED QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11CC: yapei
Target Milestone: ---Keywords: Regression
Target Release: 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-09 01:22:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
resource creation radio input working
none
Operand creation form and yaml view still doesn't have distinguishable attributes none

Description Yadan Pei 2022-06-24 08:56:43 UTC
Description of problem:
in earlier OCP 4.10 we added data-checked-state attribute for RadioInput in https://bugzilla.redhat.com/show_bug.cgi?id=2015472, not synced editor toggle input doesn't have this attribute

Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-06-23-092832

How reproducible:
Always

Steps to Reproduce:
1. on operand creation page, 'Form view' and 'YAML view' radio input doesn't have distinguishable state to identify which radio input is checked
2. workloads creation form, for example on Deployments and Routes creation form, 'Form view' and 'YAML view' also don't have distinguishable state

Actual results:
'Form view' and 'YAML view' radio input doesn't have attribute reflects its selected status
<input name="editorType" id="form-radiobutton-editorType-form-field" data-test="form-view-input" class="pf-c-radio__input" type="radio" aria-invalid="false" data-ouia-component-type="PF4/Radio" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-Radio-9" value="form" checked="">

Expected results:
'Form view' and 'YAML view' radio toggle input should have distinguishable status

Additional info:

Comment 3 Yadan Pei 2022-12-19 03:44:46 UTC
Created attachment 1933542 [details]
resource creation radio input working

resource creation radio input button has data-checked-state attribute

Comment 4 Yadan Pei 2022-12-19 03:47:13 UTC
Created attachment 1933543 [details]
Operand creation form and yaml view still doesn't have distinguishable attributes

Operand creation Form and YAML view radio input still doesn't have distinguishable attributes, can we also add data-checked-state attribute for them?

Comment 5 Shiftzilla 2023-03-09 01:22:19 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9338