Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 850feb4

Browse files
committed
Update menu UI tests hooks
1 parent fd39ef8 commit 850feb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui-tests/test/menus.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ const MENU_PATHS = [
2424
test.use({ autoGoto: false });
2525

2626
test.describe('Notebook Menus', () => {
27-
test.beforeEach(async ({ page, tmpPath }) => {
27+
test.beforeAll(async ({ page, tmpPath }) => {
2828
await page.contents.uploadFile(
2929
path.resolve(__dirname, `./notebooks/${NOTEBOOK}`),
3030
`${tmpPath}/${NOTEBOOK}`
3131
);
3232
});
3333

34-
test.afterEach(async ({ page, tmpPath }) => {
34+
test.afterAll(async ({ page, tmpPath }) => {
3535
await page.kernel.shutdownAll();
3636
});
3737

0 commit comments

Comments
 (0)