webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeEditModal.js in katello-4.6.2.1 vs webpack/components/extensions/HostDetails/Cards/SystemPurposeCard/SystemPurposeEditModal.js in katello-4.7.0.rc1
- old
+ new
@@ -173,10 +173,11 @@
title={__('Edit system purpose attributes')}
width="40%"
position="top"
actions={modalActions}
id="syspurpose-edit-modal"
+ ouiaId="syspurpose-edit-modal"
>
<FormattedMessage
className="syspurpose-edit-modal-blurb"
id="syspurpose-edit-modal-blurb"
defaultMessage={__('Select system purpose attributes for host {hostName}.')}
@@ -187,10 +188,11 @@
<Form isHorizontal style={{ marginTop: '1.3rem' }}>
<FormGroup label={__('Role')} fieldId="role">
<FormSelect
id="role"
name="role"
+ ouiaId="role-select"
value={selectedRole}
onChange={setSelectedRole}
>
{roleOptions.map(option => (
<FormSelectOption
@@ -203,10 +205,11 @@
</FormGroup>
<FormGroup label={__('SLA')} fieldId="serviceLevel">
<FormSelect
id="serviceLevel"
name="serviceLevel"
+ ouiaId="service-level-select"
value={selectedServiceLevel}
onChange={setSelectedServiceLevel}
>
{serviceLevelOptions.map(option => (
<FormSelectOption
@@ -219,10 +222,11 @@
</FormGroup>
<FormGroup label={__('Usage')} fieldId="usage">
<FormSelect
id="usage"
name="usage"
+ ouiaId="usage-select"
value={selectedUsage}
onChange={setSelectedUsage}
>
{usageOptions.map(option => (
<FormSelectOption
@@ -235,10 +239,11 @@
</FormGroup>
<FormGroup label={__('Release version')} fieldId="releaseVersion">
<FormSelect
id="release_version"
name="release_version"
+ ouiaId="release-version-select"
value={selectedReleaseVersion}
onChange={setSelectedReleaseVersion}
>
{releaseVersionOptions.map(option => (
<FormSelectOption
@@ -254,9 +259,10 @@
Checkbox Title
</span>
<Select
variant={SelectVariant.typeaheadMulti}
aria-label="syspurpose-addons"
+ ouiaId="syspurpose-addons-select"
onToggle={toggleAddonSelect}
onSelect={onAddonSelect}
selections={selectedAddons}
isOpen={addonSelectOpen}
placeholderText={__('Select add-ons')}