同步前端重构后的视觉测试基线(05-28-frontend-ux-redesign)
这个提交包含在:
@@ -3,7 +3,7 @@ import { expect, type Locator, type Page } from "@playwright/test";
|
||||
import { TEST_IDS } from "./testIds";
|
||||
|
||||
export async function openBackupModulesIfNeeded(page: Page) {
|
||||
const summary = page.locator("summary").filter({ hasText: "备用模块" }).first();
|
||||
const summary = page.locator("summary").filter({ hasText: "更多" }).first();
|
||||
if (await summary.count()) {
|
||||
const details = summary.locator("xpath=ancestor::details[1]");
|
||||
const isOpen = await details.evaluate((node) => (node as HTMLDetailsElement).open);
|
||||
|
||||
在新工单中引用
屏蔽一个用户