From e2300aaa9fb874530a05731b0f86e983bbcd6f71 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Mon, 8 Jul 2024 11:52:11 +0800 Subject: [PATCH] =?UTF-8?q?test(pages.test.js):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pages.test.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pages/pages.test.js b/pages/pages.test.js index 9d57f497..b9a9ff01 100755 --- a/pages/pages.test.js +++ b/pages/pages.test.js @@ -326,12 +326,6 @@ if (isWeb) { ) } -// 设置position: fixed的页面不能截取完整内容 -const notFullPages = [ - '/pages/CSS/layout/position', - '/pages/CSS/layout/z-index' -] - let page; let windowInfo @@ -386,9 +380,6 @@ describe("page screenshot test", () => { const currentPagePath = pages[pageIndex] console.log("Taking screenshot: ", pageIndex, currentPagePath); let fullPage = true; - if (notFullPages.includes(currentPagePath)) { - fullPage = false; - } const screenshotParams = { fullPage -- GitLab