diff --git a/test/functional/services/dashboard/add_panel.ts b/test/functional/services/dashboard/add_panel.ts index c68b6deb46953..30ac6c275dddf 100644 --- a/test/functional/services/dashboard/add_panel.ts +++ b/test/functional/services/dashboard/add_panel.ts @@ -94,7 +94,7 @@ export class DashboardAddPanelService extends FtrService { continue; } await button.click(); - await this.common.closeToast(); + await this.common.closeToastIfExists(); embeddableList.push(name); } });