Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb893cf0

Browse files
committed
Wait for kernel ready before menu screenshots
1 parent12119f9 commitb893cf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎ui-tests/test/menus.spec.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import path from 'path';
66
import{test}from'./fixtures';
77

88
import{expect}from'@playwright/test';
9+
import{waitForKernelReady}from'./utils';
910

1011
constNOTEBOOK='empty.ipynb';
1112

@@ -35,6 +36,8 @@ test.describe('Notebook Menus', () => {
3536
MENU_PATHS.forEach(menuPath=>{
3637
test(`Open menu item${menuPath}`,async({ page, tmpPath})=>{
3738
awaitpage.goto(`notebooks/${tmpPath}/${NOTEBOOK}`);
39+
awaitwaitForKernelReady(page);
40+
3841
awaitpage.menu.open(menuPath);
3942
expect(awaitpage.menu.isOpen(menuPath)).toBeTruthy();
4043

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp