We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3887a58 commit 43f7467Copy full SHA for 43f7467
playwright/e2e/crypto/crypto.spec.ts
@@ -24,7 +24,7 @@ const startDMWithBob = async (page: Page, bob: Bot) => {
24
await page.getByRole("navigation", { name: "Room list" }).getByRole("button", { name: "Add" }).click();
25
await page.getByRole("menuitem", { name: "Start chat" }).click();
26
await page.getByTestId("invite-dialog-input").fill(bob.credentials.userId);
27
- await page.locator(".mx_InviteDialog_tile_nameStack_name").getByText("Bob").click();
+ await page.getByRole("option", { name: bob.credentials.displayName }).click();
28
await expect(
29
page.locator(".mx_InviteDialog_userTile_pill .mx_InviteDialog_userTile_name").getByText("Bob"),
30
).toBeVisible();
0 commit comments