mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Add ID's to the buttons in the external test modal for cred form
This commit is contained in:
@@ -92,13 +92,19 @@ function ExternalTestModal({
|
|||||||
variant="small"
|
variant="small"
|
||||||
actions={[
|
actions={[
|
||||||
<Button
|
<Button
|
||||||
|
id="run-external-credential-test"
|
||||||
key="confirm"
|
key="confirm"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
onClick={() => handleSubmit()}
|
onClick={() => handleSubmit()}
|
||||||
>
|
>
|
||||||
{i18n._(t`Run`)}
|
{i18n._(t`Run`)}
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button key="cancel" variant="link" onClick={() => onClose()}>
|
<Button
|
||||||
|
id="cancel-external-credential-test"
|
||||||
|
key="cancel"
|
||||||
|
variant="link"
|
||||||
|
onClick={() => onClose()}
|
||||||
|
>
|
||||||
{i18n._(t`Cancel`)}
|
{i18n._(t`Cancel`)}
|
||||||
</Button>,
|
</Button>,
|
||||||
]}
|
]}
|
||||||
|
|||||||
Reference in New Issue
Block a user