mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Merge pull request #9964 from tiagodread/update-ouiaid-relaunch-feature
Adding ouiaid to RelaunchDropdown.jsx Adding testability to this component Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
commit
fc2d877983
@ -26,6 +26,7 @@ function ReLaunchDropDown({
|
||||
|
||||
const dropdownItems = [
|
||||
<DropdownItem
|
||||
ouiaId={`${ouiaId}-on`}
|
||||
aria-label={i18n._(t`Relaunch on`)}
|
||||
key="relaunch_on"
|
||||
component="div"
|
||||
@ -35,6 +36,7 @@ function ReLaunchDropDown({
|
||||
</DropdownItem>,
|
||||
<DropdownSeparator key="separator" />,
|
||||
<DropdownItem
|
||||
ouiaId={`${ouiaId}-all`}
|
||||
key="relaunch_all"
|
||||
aria-label={i18n._(t`Relaunch all hosts`)}
|
||||
component="button"
|
||||
@ -47,6 +49,7 @@ function ReLaunchDropDown({
|
||||
</DropdownItem>,
|
||||
|
||||
<DropdownItem
|
||||
ouiaId={`${ouiaId}-failed`}
|
||||
key="relaunch_failed"
|
||||
aria-label={i18n._(t`Relaunch failed hosts`)}
|
||||
component="button"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user