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

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}