Skip to content

Commit

Permalink
Added data test id for delete modal (#1830)
Browse files Browse the repository at this point in the history
  • Loading branch information
auslin-aot authored Jan 5, 2024
1 parent e200ac3 commit 1a73f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forms-flow-web/src/containers/Confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ const Confirm = React.memo((props) => {
<button
type="button"
className="btn btn-link text-dark"
data-testid="delete-cancel-button"
onClick={onNo}>
{noText}</button>

<button className="btn btn-danger" onClick={onYes}>
<button className="btn btn-danger" onClick={onYes} data-testid="delete-confirm-button">
{yesText}
</button>

Expand Down

0 comments on commit 1a73f2e

Please sign in to comment.