Skip to content

Commit caa3ff6

Browse files
committed
Updates sidebars test options to avoid timeouts
1 parent 92f8da6 commit caa3ff6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

galata/test/jupyterlab/sidebars.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ const sidebarIds: galata.SidebarTabId[] = [
1313
'extensionmanager.main-view'
1414
];
1515

16+
test.use({
17+
mockState: true
18+
});
19+
1620
/**
1721
* Add provided text as label on first tab in given tabbar.
1822
* By default we only have icons, but we should test for the
@@ -27,10 +31,6 @@ async function mockLabelOnFirstTab(tabbar: Locator, text: string) {
2731
}, text);
2832
}
2933

30-
test.use({
31-
tmpPath: 'test-sidebars'
32-
});
33-
3434
test.describe('Sidebars', () => {
3535
sidebarIds.forEach(sidebarId => {
3636
test(`Open Sidebar tab ${sidebarId}`, async ({ page }) => {

0 commit comments

Comments
 (0)