Skip to content

Commit d585ac7

Browse files
committed
Updates sidebars test options to avoid timeouts
1 parent 688937b commit d585ac7

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
@@ -19,6 +19,10 @@ const sidebarIds: galata.SidebarTabId[] = sidebarElementIds[
1919
'left-sidebar'
2020
].concat(sidebarElementIds['right-sidebar']);
2121

22+
test.use({
23+
mockState: true
24+
});
25+
2226
/**
2327
* Add provided text as label on first tab in given tabbar.
2428
* By default we only have icons, but we should test for the
@@ -33,10 +37,6 @@ async function mockLabelOnFirstTab(tabbar: Locator, text: string) {
3337
}, text);
3438
}
3539

36-
test.use({
37-
tmpPath: 'test-sidebars'
38-
});
39-
4040
test.describe('Sidebars', () => {
4141
sidebarIds.forEach(sidebarId => {
4242
test(`Open Sidebar tab ${sidebarId}`, async ({ page }) => {

0 commit comments

Comments
 (0)