Skip to content

Commit

Permalink
cleaned up before test functions:
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsuresh-git committed Dec 9, 2023
1 parent 93e0490 commit 18e5802
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions e2e/playwright/tests/todo_plugin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ test.beforeAll(async ({pw}) => {
}
});

test.beforeEach(async ({page, pw}) => {
const {adminClient, adminUser} = await pw.getAdminClient();
if (adminUser === null) {
throw new Error('can not get adminUser');
}
test.beforeEach(async ({page}) => {
const dmURL = await getBotDMPageURL(teamName, botUserName);
await page.goto(dmURL, {waitUntil: 'load'});
});
Expand Down

0 comments on commit 18e5802

Please sign in to comment.