Skip to content

Commit

Permalink
test: Add new UI test for launcher
Browse files Browse the repository at this point in the history
Signed-off-by: mahendrapaipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Nov 29, 2023
1 parent 59f6627 commit 29b5bd8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { expect, test } from '@jupyterlab/galata';

test.describe('Jupytext Launcher Category', () => {
test.use({ autoGoto: false, viewport: { height: 1020, width: 1280 } });
test('should have Jupytext category in launcher', async ({ page }) => {
await page.goto();
await page.waitForSelector('.jp-LauncherCard-label');

const imageName = 'launcher-category.png';
expect(await page.screenshot()).toMatchSnapshot(imageName.toLowerCase());
});
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 29b5bd8

Please sign in to comment.