Skip to content

Commit 479b4d8

Browse files
authored
Snapshot the notebook section of the launcher only (#192)
* Snapshot the notebook section of the launcher only * update snapshots
1 parent 3bdf9f3 commit 479b4d8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

ui-tests/tests/jupyterlite_xeus.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ test.describe('General Tests', () => {
1616
}) => {
1717
await page.goto('lab/index.html');
1818

19-
const launcher = page.locator('.jp-Launcher');
20-
expect(await launcher.screenshot()).toMatchSnapshot(
19+
const notebookSection = page.locator('.jp-Launcher-section').first();
20+
expect(await notebookSection.screenshot()).toMatchSnapshot(
2121
'jupyter-xeus-launcher.png'
2222
);
2323
});
-29.2 KB
Loading
-29.2 KB
Loading

0 commit comments

Comments
 (0)