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:
2 Replies
dismissing is done on the frontend so there isnt a simulation
what you have is all you need
unless you call
callMountedTableAction()
it wont be runThanks for the answer. I'll leave it as it is then.