Update Playwright test to look for 'Decline' button
Since the label of this button is changing in Element Web.
This commit is contained in:
1 parent
147d0f96e0
commit
d50c8e0ca9
1 file changed
+1
-1
@@ -217,7 +217,7 @@ widgetTest(
|
|||||||
).toBeVisible();
|
).toBeVisible();
|
||||||
|
|
||||||
await expect(whistler.page.getByText("Incoming video call")).toBeVisible();
|
await expect(whistler.page.getByText("Incoming video call")).toBeVisible();
|
||||||
await whistler.page.getByRole("button", { name: "Ignore" }).click();
|
await whistler.page.getByRole("button", { name: "Decline" }).click();
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
whistler.page.locator('iframe[title="Element Call"]'),
|
whistler.page.locator('iframe[title="Element Call"]'),
|
||||||
|
|||||||
Reference in new issue
Block a user