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

Function waitForSaveComplete

tests/playwright/common.js:453–460  ·  view source on GitHub ↗
(page, timeout = 30000)

Source from the content-addressed store, hash-verified

451}
452
453async function waitForSaveComplete(page, timeout = 30000) {
454 const saveIcon = page.locator('#saveIcon').first();
455 const isVisible = await saveIcon.isVisible().catch(() => false);
456 if (!isVisible) {
457 return;
458 }
459 await saveIcon.waitFor({ state: 'hidden', timeout });
460}
461
462async function saveAndReloadReport(page, reportName, options = {}) {
463 const {

Callers 1

saveAndReloadReportFunction · 0.85

Calls 2

isVisibleMethod · 0.80
firstMethod · 0.45

Tested by

no test coverage detected