Skip to content

Commit 07afb94

Browse files
committed
Add tests on cell toolbar
1 parent 1ff5429 commit 07afb94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/tests/jupytext-notebook.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ test.describe('Jupytext Create Text Notebooks from Menu Tests', () => {
9494
await select!.selectOption(option);
9595
await page.click('.jp-Dialog .jp-mod-accept');
9696

97+
const firstCell = await page.notebook.getCellLocator(0);
98+
await firstCell?.hover();
99+
100+
await expect(firstCell!.locator('.jp-cell-toolbar')).toHaveCount(1);
101+
97102
// Populate page
98103
await populateNotebook(paths.extension, page);
99104

0 commit comments

Comments
 (0)