Skip to content

Commit

Permalink
fixed issue with cleanUpBotDMs
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulsuresh-git committed Nov 10, 2023
1 parent 54c3133 commit 007367f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/playwright/support/init_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {preferencesForUser} from './user';

const pluginDistPath = path.join(__dirname, '../../../dist');
const pluginId = 'com.mattermost.plugin-todo';
const botUsername = 'todo'

// # One time tasks
test.beforeAll(async ({pw}) => {
Expand Down Expand Up @@ -62,8 +63,7 @@ test.beforeEach(async ({pw}) => {
if (adminUser === null) {
throw new Error('can not get adminUser');
}
//TODO: Fails with "Error: Unable to find an existing account matching your username for this team. This team may require an invite from the team owner to join."
// await cleanUpBotDMs(adminClient, adminUser.id, pluginId);
await cleanUpBotDMs(adminClient, adminUser.id, botUsername);
});

type TodoPluginSettings = {
Expand Down

0 comments on commit 007367f

Please sign in to comment.