There was an error while loading. Please reload this page.
1 parent f490548 commit 8f0910dCopy full SHA for 8f0910d
1 file changed
tests/e2e/web/pages/messagesPage.ts
@@ -66,7 +66,8 @@ export class MessagesPage {
66
await this.messageInput.fill(message)
67
await expect(this.messageSubmit).toBeVisible()
68
await this.messageSubmit.click()
69
- await this.verifyMessage(message)
+ const verified = await this.verifyMessage(message)
70
+ if (!verified) throw new Error(`Message "${message}" was not found in conversation after sending`)
71
}
72
73
async findMessageConversation(displayName: string) {
0 commit comments