Testing a confirming action
I'm trying to make a test that ensures that if an action that requires confirmation is called and the user does not confirm the operation then it is not called. For simplicity sake, imagine it is a table's delete action.
What can I do to simulate the user dismissing the dialog instead of submiting it?
Here's what I have so far:
What can I do to simulate the user dismissing the dialog instead of submiting it?
Here's what I have so far: