Skip to content

Commit

Permalink
Fix handling of kernel ready
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Jun 7, 2023
1 parent 67b0354 commit a7d612f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui-tests/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export async function waitForKernelReady(
}, true);
return finished;
});
await page.waitForSelector('.jp-DebuggerBugButton[aria-disabled="false"]');
if (page.viewportSize()?.width > 600) {
await page.waitForSelector('.jp-DebuggerBugButton[aria-disabled="false"]');
}
}

/**
Expand Down

0 comments on commit a7d612f

Please sign in to comment.