Fix multiple pinned messages flacky tests by waiting the message to be displayed in the banner when pinned. (#28655)
parent
0c4189f2ed
commit
5686666ad2
|
@ -129,6 +129,7 @@ export class Helpers {
|
|||
const timelineMessage = this.page.locator(".mx_MTextBody", { hasText: message });
|
||||
await timelineMessage.click({ button: "right" });
|
||||
await this.page.getByRole("menuitem", { name: "Pin", exact: true }).click();
|
||||
await this.assertMessageInBanner(message);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue