Showing 9 test cases
| ID | Scenario | Type | Priority | |
|---|---|---|---|---|
| ALD_001 | Dialog opens after trigger button click Expected: Dialog element is visible with role=dialog and aria-modal=true ✅ positivehigh | positive | high | |
| ALD_002 | Close button dismisses the info dialog Expected: Dialog disappears from the DOM after clicking the × button ✅ positivehigh | positive | high | |
| ALD_003 | Cancel button keeps dialog closed without triggering the action Expected: Dialog closes and the confirm result is not updated ❌ negativemedium | negative | medium | |
| ALD_004 | Confirm button triggers the expected action and closes dialog Expected: Result reads "Submission confirmed!" and dialog disappears ✅ positivehigh | positive | high | |
| ALD_005 | Destructive confirm button located by aria-label (no data-testid) Expected: Result reads "Account deleted!" after clicking the danger button ✅ positivehigh | positive | high | |
| ALD_006 | Backdrop click closes the modal dialog Expected: Dialog closes when clicking the overlay behind the dialog box ✅ positivemedium | positive | medium | |
| ALD_007 | Escape key dismisses the dialog Expected: Result confirms dialog closed via keyboard; dialog disappears ✅ positivehigh | positive | high | |
| ALD_008 | Correct notification targeted from repeated Dismiss buttons Expected: The 'Session Expiring Soon' notification is dismissed, not the others ✅ positivehigh | positive | high | |
| ALD_009 | Clicking dialog box does not fire backdrop close handler Expected: Dialog remains open after clicking inside the dialog box ⚠️ edgelow | edge | low |