(page, timeout = 30000)
| 451 | } |
| 452 | |
| 453 | async 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 | |
| 462 | async function saveAndReloadReport(page, reportName, options = {}) { |
| 463 | const { |
no test coverage detected