diff --git a/pages/pages.test.js b/pages/pages.test.js index 9d57f4979a9b0a51cf7e9bfd2860f088a0f3979b..b9a9ff019bd005b188f10a53a219c32c94500650 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