Skip to content

Commit b475821

Browse files
committed
Select kernel in the ui tests
1 parent 2d5e272 commit b475821

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ui-tests/test/smoke.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ test.describe('Smoke', () => {
3030
page.click('text="Notebook"')
3131
]);
3232

33+
try {
34+
// we may have to select the kernel first
35+
await notebook.click('text="Select"', { timeout: 2000 });
36+
} catch (e) {
37+
// The kernel is already selected
38+
}
39+
3340
// Enter code in the first cell
3441
await notebook.locator(
3542
'.jp-Cell-inputArea >> .cm-editor >> .cm-content[contenteditable="true"]'

0 commit comments

Comments
 (0)