|
|
|
|
@ -6,6 +6,7 @@ import path from 'path';
|
|
|
|
|
import { test } from './fixtures';
|
|
|
|
|
|
|
|
|
|
import { expect } from '@playwright/test';
|
|
|
|
|
import { waitForKernelReady } from './utils';
|
|
|
|
|
|
|
|
|
|
const NOTEBOOK = 'empty.ipynb';
|
|
|
|
|
|
|
|
|
|
@ -35,6 +36,8 @@ test.describe('Notebook Menus', () => {
|
|
|
|
|
MENU_PATHS.forEach(menuPath => {
|
|
|
|
|
test(`Open menu item ${menuPath}`, async ({ page, tmpPath }) => {
|
|
|
|
|
await page.goto(`notebooks/${tmpPath}/${NOTEBOOK}`);
|
|
|
|
|
await waitForKernelReady(page);
|
|
|
|
|
|
|
|
|
|
await page.menu.open(menuPath);
|
|
|
|
|
expect(await page.menu.isOpen(menuPath)).toBeTruthy();
|
|
|
|
|
|
|
|
|
|
|