Skip to content

Commit

Permalink
Fix selector
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Aug 15, 2023
1 parent 01fe142 commit 71e7f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui-tests/tests/notebook-tour.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('should run the welcome tour', async ({ page }) => {
test('should run the notebook tour', async ({ page }) => {
await page.getByRole('menuitem', { name: 'File' }).click();
await page.getByLabel('file browser').getByText('New').click();
await page.locator('#jp-mainmenu-file-new').getByText('Notebook').click();
await page.getByText('Notebook', { exact: true }).click();
await page.getByRole('button', { name: 'Select Kernel' }).click();

Check failure on line 30 in ui-tests/tests/notebook-tour.spec.ts

View workflow job for this annotation

GitHub Actions / Integration tests for Notebook

tests/notebook-tour.spec.ts:26:5 › should run the notebook tour

1) tests/notebook-tour.spec.ts:26:5 › should run the notebook tour ─────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for getByRole('button', { name: 'Select Kernel' }) ============================================================ 28 | await page.getByLabel('file browser').getByText('New').click(); 29 | await page.getByText('Notebook', { exact: true }).click(); > 30 | await page.getByRole('button', { name: 'Select Kernel' }).click(); | ^ 31 | await page.getByRole('button', { name: 'Start now' }).click(); 32 | await page.getByLabel('Next', { exact: true }).click(); 33 | await page.getByLabel('Next', { exact: true }).click(); at /home/runner/work/jupyterlab-tour/jupyterlab-tour/ui-tests/tests/notebook-tour.spec.ts:30:61
await page.getByRole('button', { name: 'Start now' }).click();
await page.getByLabel('Next', { exact: true }).click();
Expand Down

0 comments on commit 71e7f9b

Please sign in to comment.