-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Description
Context
During review of PR #8510, it was identified that test code could benefit from a dedicated helper for interacting with confirm dialogs and similar modal dialogs.
Current Situation
Tests currently interact with confirm dialogs using combinations of:
getByRole('dialog', { name: '...' }).locator('..')chains.getByRole('button', { name: 'Confirm' })for confirmation
Proposed Enhancement
Create a reusable helper class or utility function to simplify confirm dialog interactions in browser tests, similar to existing helpers like BaseDialog, ContextMenu, etc.
References
- PR: test(browser): refactor browser tests for reliability and maintainability #8510
- Comment: test(browser): refactor browser tests for reliability and maintainability #8510 (comment)
- Requested by: @christian-byrne
┆Issue is synchronized with this Notion page by Unito
Reactions are currently unavailable