MCPcopy Create free account
hub / github.com/Rello/analytics / waitForToastAndDismiss

Function waitForToastAndDismiss

tests/playwright/common.js:632–635  ·  view source on GitHub ↗
(page, timeout = 15000)

Source from the content-addressed store, hash-verified

630}
631
632async function waitForToastAndDismiss(page, timeout = 15000) {
633 await waitForToast(page, timeout);
634 await dismissToast(page).catch(() => false);
635}
636
637async function openReportAutomationTab(page, reportName) {
638 if (await reportExists(page, reportName)) {

Calls 2

waitForToastFunction · 0.85
dismissToastFunction · 0.85

Tested by

no test coverage detected