Skip to content

Commit

Permalink
test: adjust export-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Dec 20, 2024
1 parent 2078886 commit 789be8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/meteor/tests/e2e/export-messages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ test.describe.serial('export-messages', () => {
});

test('should all export methods be available in targetChannel', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.sidebar.openChat(targetChannel);
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnExportMessages.click();
await expect(poHomeChannel.tabs.exportMessages.sendEmailMethod).not.toBeDisabled();
Expand All @@ -34,7 +34,7 @@ test.describe.serial('export-messages', () => {
});

test('should display an error when trying to send email without filling to users or to additional emails', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.sidebar.openChat(targetChannel);
await poHomeChannel.content.sendMessage('hello world');
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnExportMessages.click();
Expand All @@ -48,7 +48,7 @@ test.describe.serial('export-messages', () => {
});

test('should display an error when trying to send email without selecting any message', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.sidebar.openChat(targetChannel);
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnExportMessages.click();

Expand All @@ -59,7 +59,7 @@ test.describe.serial('export-messages', () => {
});

test('should be able to send messages after closing export messages', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.sidebar.openChat(targetChannel);
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnExportMessages.click();

Expand Down

0 comments on commit 789be8e

Please sign in to comment.