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

Function waitForSaveComplete

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

Source from the content-addressed store, hash-verified

437}
438
439async function waitForSaveComplete(page, timeout = 30000) {
440 const saveIcon = page.locator('#saveIcon').first();
441 const isVisible = await saveIcon.isVisible().catch(() => false);
442 if (!isVisible) {
443 return;
444 }
445 await saveIcon.waitFor({ state: 'hidden', timeout });
446}
447
448async function saveAndReloadReport(page, reportName, options = {}) {
449 const {

Callers 1

saveAndReloadReportFunction · 0.85

Calls 1

firstMethod · 0.80

Tested by

no test coverage detected