(page, timeout = 30000)
| 437 | } |
| 438 | |
| 439 | async 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 | |
| 448 | async function saveAndReloadReport(page, reportName, options = {}) { |
| 449 | const { |
no test coverage detected