diff --git a/pages/pages.test.js b/pages/pages.test.js index f88fbbafd7d068548feddd5bdd50e4bbd48256f4..c8cbd749c91b257ee699c089976548bd8952bdc5 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 }