Skip to content

Commit cf50101

Browse files
author
Greg
committed
Better locator
1 parent 488ba90 commit cf50101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui-tests/tests/ui.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ test.describe('Console activation test', () => {
100100
await page.keyboard.press('Shift+Enter');
101101
await page.waitForTimeout(1000);
102102

103-
const main = await page.locator('canvas');
103+
const main = await page.locator('#jp-main-dock-panel');
104104

105105
if (main) {
106106
expect(await main.screenshot()).toMatchSnapshot({

0 commit comments

Comments
 (0)