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:
softwarefactory-project-zuul[bot] 2021-03-22 15:14:55 +00:00 committed by GitHub
commit f3116a3250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,7 @@ function Lookup(props) {
onClose={closeModal}
actions={[
<Button
ouiaId="modal-select-button"
key="select"
variant="primary"
onClick={save}
@ -140,6 +141,7 @@ function Lookup(props) {
{i18n._(t`Select`)}
</Button>,
<Button
ouiaId="modal-cancel-button"
key="cancel"
variant="link"
onClick={closeModal}