diff --git a/pages/API/get-current-pages/get-current-pages.test.js b/pages/API/get-current-pages/get-current-pages.test.js index 1f3a26bb6ac88556874c30fbe4008b4ce33fa4e7..9b22d515bf5215cad9ba6992645c5a7c300f099c 100644 --- a/pages/API/get-current-pages/get-current-pages.test.js +++ b/pages/API/get-current-pages/get-current-pages.test.js @@ -25,8 +25,6 @@ describe('getCurrentPages', () => { expect(data.checked).toBe(true) }) it('getPageStyle', async () => { - await changeData(page) - const btn = await page.$('.btn-get-page-style') await btn.tap() await page.waitFor(100) @@ -38,8 +36,6 @@ describe('getCurrentPages', () => { expect(currentPageStyle['enablePullDownRefresh']).toBe(true) }) it('setPageStyle', async () => { - await changeData(page) - const btn = await page.$('.btn-set-page-style-0') await btn.tap() await page.waitFor(100)