Skip to content

Commit

Permalink
Verify no error is shown when running slash commands (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
streamer45 authored Oct 24, 2024
1 parent 74d6f31 commit 0760b54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/tests/start_call.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ test.describe('start new call', () => {
await page.locator('#post_textbox').fill('/call leave');
await page.getByTestId('SendMessageButton').click();
await expect(page.locator('#calls-widget')).toBeHidden();
await expect(page.locator('#postCreateFooter .has-error')).toBeHidden();
});

test('dm channel', async ({page}) => {
Expand Down Expand Up @@ -120,6 +121,7 @@ test.describe('start new call', () => {
await page.locator('#reply_textbox').fill('/call start');
await page.locator('#reply_textbox').press('Control+Enter');
await expect(page.locator('#calls-widget')).toBeVisible();
await expect(page.locator('#postCreateFooter .has-error')).toBeHidden();

// verify the call post is created in the thread.
await expect(page.locator('#rhsContainer').filter({has: page.getByText('Call started')})).toBeVisible();
Expand Down

0 comments on commit 0760b54

Please sign in to comment.