Skip to content

Commit 4ae8e8d

Browse files
committed
Update helper to run a cell
1 parent 7e18565 commit 4ae8e8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui-tests/test/smoke.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test.describe('Smoke', () => {
3232

3333
try {
3434
// we may have to select the kernel first
35-
await notebook.click('text="Select"', { timeout: 2000 });
35+
await notebook.click('text="Select"', { timeout: 5000 });
3636
} catch (e) {
3737
// The kernel is already selected
3838
}

ui-tests/test/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Page } from '@playwright/test';
88
export async function runAndAdvance(
99
page: IJupyterLabPageFixture | Page
1010
): Promise<void> {
11-
await page.click(".jp-Toolbar-item [data-icon='ui-components:run']");
11+
await page.keyboard.press('Shift+Enter');
1212
}
1313

1414
/**

0 commit comments

Comments
 (0)