From 7f71f92b44711cee52e58523b516917dfa55d352 Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Wed, 3 Jul 2024 17:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A1=B5=E9=9D=A2=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E8=87=AA=E5=8A=A8=E5=8C=96=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pages.test.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pages/pages.test.js b/pages/pages.test.js index f88fbbaf..c8cbd749 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,10 +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