fix confirmDialog jest test

This commit is contained in:
jenny-s51 2021-01-25 11:29:33 -05:00
parent 6c9eaf5342
commit 1047326eeb

View file

@ -31,7 +31,7 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
<Button <Button
id="modal-cancel" id="modal-cancel"
onClick={[Function]} onClick={[Function]}
variant="secondary" variant="link"
> >
cancel cancel
</Button>, </Button>,
@ -132,8 +132,8 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
</button> </button>
<button <button
aria-disabled="false" aria-disabled="false"
class="pf-c-button pf-m-secondary" class="pf-c-button pf-m-link"
data-ouia-component-id="OUIA-Generated-Button-secondary-1" data-ouia-component-id="OUIA-Generated-Button-link-1"
data-ouia-component-type="PF4/Button" data-ouia-component-type="PF4/Button"
data-ouia-safe="true" data-ouia-safe="true"
id="modal-cancel" id="modal-cancel"
@ -161,7 +161,7 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
<Button <Button
id="modal-cancel" id="modal-cancel"
onClick={[Function]} onClick={[Function]}
variant="secondary" variant="link"
> >
cancel cancel
</Button>, </Button>,
@ -341,13 +341,13 @@ exports[`Confirmation dialog renders simple confirm dialog 1`] = `
id="modal-cancel" id="modal-cancel"
key="cancel" key="cancel"
onClick={[Function]} onClick={[Function]}
variant="secondary" variant="link"
> >
<button <button
aria-disabled={false} aria-disabled={false}
aria-label={null} aria-label={null}
className="pf-c-button pf-m-secondary" className="pf-c-button pf-m-link"
data-ouia-component-id="OUIA-Generated-Button-secondary-1" data-ouia-component-id="OUIA-Generated-Button-link-1"
data-ouia-component-type="PF4/Button" data-ouia-component-type="PF4/Button"
data-ouia-safe={true} data-ouia-safe={true}
disabled={false} disabled={false}