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

Commit

Permalink
Update menu UI tests hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Feb 25, 2022
1 parent fd39ef8 commit 850feb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui-tests/test/menus.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ const MENU_PATHS = [
test.use({ autoGoto: false });

test.describe('Notebook Menus', () => {
test.beforeEach(async ({ page, tmpPath }) => {
test.beforeAll(async ({ page, tmpPath }) => {
await page.contents.uploadFile(
path.resolve(__dirname, `./notebooks/${NOTEBOOK}`),
`${tmpPath}/${NOTEBOOK}`
);
});

test.afterEach(async ({ page, tmpPath }) => {
test.afterAll(async ({ page, tmpPath }) => {
await page.kernel.shutdownAll();
});

Expand Down

0 comments on commit 850feb4

Please sign in to comment.