Skip to content

Commit

Permalink
Update helper to run a cell
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Oct 3, 2022
1 parent 7e18565 commit 4ae8e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui-tests/test/smoke.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.describe('Smoke', () => {

try {
// we may have to select the kernel first
await notebook.click('text="Select"', { timeout: 2000 });
await notebook.click('text="Select"', { timeout: 5000 });
} catch (e) {
// The kernel is already selected
}
Expand Down
2 changes: 1 addition & 1 deletion ui-tests/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Page } from '@playwright/test';
export async function runAndAdvance(
page: IJupyterLabPageFixture | Page
): Promise<void> {
await page.click(".jp-Toolbar-item [data-icon='ui-components:run']");
await page.keyboard.press('Shift+Enter');
}

/**
Expand Down

0 comments on commit 4ae8e8d

Please sign in to comment.