From 8e4ad5375a7ce60b477c152e0f0eff8a96614fd7 Mon Sep 17 00:00:00 2001 From: leiyun Date: Wed, 26 Aug 2026 08:23:55 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A6=86=E7=9B=96=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=8A=BD=E5=B1=89=E9=81=AE=E7=BD=A9=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/zentao-system-ui-regression.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/zentao-system-ui-regression.spec.ts b/tests/zentao-system-ui-regression.spec.ts index eea2ab0..970af97 100644 --- a/tests/zentao-system-ui-regression.spec.ts +++ b/tests/zentao-system-ui-regression.spec.ts @@ -114,6 +114,8 @@ test('角色配置权限改为固定头尾的授权抽屉', async ({ page }, tes expect(footerBox).not.toBeNull() expect(Math.abs((drawerBox!.y + drawerBox!.height) - (footerBox!.y + footerBox!.height))).toBeLessThanOrEqual(2) await captureScreenshot(page, testInfo, 'role-permission-drawer-fixed-actions') + await page.locator('.el-overlay.is-drawer').filter({ has: drawer }).click({ position: { x: 12, y: 12 } }) + await expect(drawer).toBeHidden() }) test('编辑部门使用统一选人组件', async ({ page }, testInfo) => {