fix: refine loading completion check; exclude specific timeout progress indicators from loading detection

This commit is contained in:
GitHub Actions
2026-02-13 18:55:24 +00:00
parent d02fe732d9
commit 4bfccd4c19
+1 -1
View File
@@ -246,7 +246,7 @@ export async function waitForLoadingComplete(
// Wait for any loading indicator to disappear
// Updated to be more specific and exclude pulsing UI badges
const loader = page.locator([
'[role="progressbar"]',
'[role="progressbar"]:not([aria-label*="Challenge timeout progress"])',
'[aria-busy="true"]',
'.loading-spinner',
'.loading',