I have created a modal that gets user confirmation and based on the user confirmation it triggers some actions which work fine. For the above case, i have written specs whic