You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constparagraphs=document.querySelectorAll('zeppelin-notebook-paragraph');// JUSTIFIED: index-based paragraph lookup with sub-element checks not expressible via Playwright locator API
575
-
consttargetParagraph=paragraphs[index];
576
-
if(!targetParagraph){
577
-
returnfalse;
578
-
}
568
+
awaitthis.page.waitForFunction(
569
+
// waitForFunction executes in browser context, not Node.js context.
570
+
// Browser cannot access Node.js variables like PARAGRAPH_RESULT_SELECTOR.
constparagraphs=document.querySelectorAll('zeppelin-notebook-paragraph');// JUSTIFIED: index-based paragraph lookup with sub-element checks not expressible via Playwright locator API
awaitrunningIndicator.waitFor({state: 'detached',timeout: timeout/2}).catch(()=>{});// JUSTIFIED: UI stabilization — paragraph may have completed before indicator appeared
constparagraphs=document.querySelectorAll('zeppelin-notebook-paragraph');// JUSTIFIED: index-based paragraph lookup with sub-element checks not expressible via Playwright locator API
623
-
consttargetParagraph=paragraphs[index];
624
-
if(!targetParagraph){
625
-
returnfalse;
626
-
}
602
+
awaitthis.page.waitForFunction(
603
+
// waitForFunction executes in browser context, not Node.js context.
604
+
// Browser cannot access Node.js variables like PARAGRAPH_RESULT_SELECTOR.
constparagraphs=document.querySelectorAll('zeppelin-notebook-paragraph');// JUSTIFIED: index-based paragraph lookup with sub-element checks not expressible via Playwright locator API
0 commit comments