mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
mark test as slow
This commit is contained in:
@@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|||||||
Please see LICENSE in the repository root for full details.
|
Please see LICENSE in the repository root for full details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { expect } from "@playwright/test";
|
import { expect, test } from "@playwright/test";
|
||||||
|
|
||||||
import { widgetTest } from "../fixtures/widget-user.ts";
|
import { widgetTest } from "../fixtures/widget-user.ts";
|
||||||
import { TestHelpers } from "./test-helpers.ts";
|
import { TestHelpers } from "./test-helpers.ts";
|
||||||
@@ -17,6 +17,8 @@ widgetTest.skip(
|
|||||||
);
|
);
|
||||||
|
|
||||||
widgetTest("Start a new call as widget", async ({ asWidget, browserName }) => {
|
widgetTest("Start a new call as widget", async ({ asWidget, browserName }) => {
|
||||||
|
test.slow();
|
||||||
|
|
||||||
const { brooks, whistler } = asWidget;
|
const { brooks, whistler } = asWidget;
|
||||||
|
|
||||||
await TestHelpers.startCallInCurrentRoom(brooks.page, false);
|
await TestHelpers.startCallInCurrentRoom(brooks.page, false);
|
||||||
|
|||||||
@@ -105,8 +105,12 @@ export class TestHelpers {
|
|||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
});
|
});
|
||||||
|
|
||||||
await page.getByRole("textbox", { name: "Username" }).fill(username);
|
await page.getByRole("textbox", { name: "Username" }).fill(username, {
|
||||||
await page.getByRole("textbox", { name: "Password" }).fill(PASSWORD);
|
timeout: 10000,
|
||||||
|
});
|
||||||
|
await page.getByRole("textbox", { name: "Password" }).fill(PASSWORD, {
|
||||||
|
timeout: 10000,
|
||||||
|
});
|
||||||
await page.getByRole("button", { name: "Sign in" }).click();
|
await page.getByRole("button", { name: "Sign in" }).click();
|
||||||
|
|
||||||
await expect(
|
await expect(
|
||||||
|
|||||||
Reference in New Issue
Block a user