We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12119f9 commit b893cf0Copy full SHA for b893cf0
ui-tests/test/menus.spec.ts
@@ -6,6 +6,7 @@ import path from 'path';
6
import { test } from './fixtures';
7
8
import { expect } from '@playwright/test';
9
+import { waitForKernelReady } from './utils';
10
11
const NOTEBOOK = 'empty.ipynb';
12
@@ -35,6 +36,8 @@ test.describe('Notebook Menus', () => {
35
36
MENU_PATHS.forEach(menuPath => {
37
test(`Open menu item ${menuPath}`, async ({ page, tmpPath }) => {
38
await page.goto(`notebooks/${tmpPath}/${NOTEBOOK}`);
39
+ await waitForKernelReady(page);
40
+
41
await page.menu.open(menuPath);
42
expect(await page.menu.isOpen(menuPath)).toBeTruthy();
43
0 commit comments