Function: waitForDialogClosed()
waitForDialogClosed(
page,dialogId,options?):Promise<void>
Defined in: src/modules/dialog.ts:386
Waits for a specific dialog to be closed.
Parameters​
page​
DialogPage
Playwright Page (or compatible subset).
dialogId​
string
The UI5 control ID of the dialog.
options?​
Timeout and polling options.
Returns​
Promise<void>
Throws​
ControlError if the dialog is still open after the timeout.
Example​
await waitForDialogClosed(page, 'confirmDialog');