mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Merge pull request #9648 from tiagodread/ouiaid-01
add ouiaID to select and cancel buttons on modals SUMMARY Add ouiaId prop to select and cancel button within modals Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
@@ -132,6 +132,7 @@ function Lookup(props) {
|
|||||||
onClose={closeModal}
|
onClose={closeModal}
|
||||||
actions={[
|
actions={[
|
||||||
<Button
|
<Button
|
||||||
|
ouiaId="modal-select-button"
|
||||||
key="select"
|
key="select"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
onClick={save}
|
onClick={save}
|
||||||
@@ -140,6 +141,7 @@ function Lookup(props) {
|
|||||||
{i18n._(t`Select`)}
|
{i18n._(t`Select`)}
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button
|
<Button
|
||||||
|
ouiaId="modal-cancel-button"
|
||||||
key="cancel"
|
key="cancel"
|
||||||
variant="link"
|
variant="link"
|
||||||
onClick={closeModal}
|
onClick={closeModal}
|
||||||
|
|||||||
Reference in New Issue
Block a user