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} 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}