Unverified 提交 3fd41aa7 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Longer timeout for Version 3 (#560)

上级 e3ea765d
import { PageObject, testSkipIfWindows } from "./helpers/test_helper";
import { PageObject, testSkipIfWindows, Timeout } from "./helpers/test_helper";
import { expect } from "@playwright/test";
const runSwitchVersionTest = async (po: PageObject, nativeGit: boolean) => {
......@@ -20,7 +20,9 @@ const runSwitchVersionTest = async (po: PageObject, nativeGit: boolean) => {
// Should be same as the previous snapshot, but just to be sure.
await po.snapshotPreview({ name: `v1` });
await expect(po.page.getByText("Version 3")).toBeVisible();
await expect(po.page.getByText("Version 3")).toBeVisible({
timeout: Timeout.MEDIUM,
});
};
testSkipIfWindows("switch versions", async ({ po }) => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论