提交 3b9850b7 编写于 作者: H hdx

fix(pageStyle): 自动化测试语法导致失败问题

上级 e5380be0
...@@ -25,8 +25,6 @@ describe('getCurrentPages', () => { ...@@ -25,8 +25,6 @@ describe('getCurrentPages', () => {
expect(data.checked).toBe(true) expect(data.checked).toBe(true)
}) })
it('getPageStyle', async () => { it('getPageStyle', async () => {
await changeData(page)
const btn = await page.$('.btn-get-page-style') const btn = await page.$('.btn-get-page-style')
await btn.tap() await btn.tap()
await page.waitFor(100) await page.waitFor(100)
...@@ -38,8 +36,6 @@ describe('getCurrentPages', () => { ...@@ -38,8 +36,6 @@ describe('getCurrentPages', () => {
expect(currentPageStyle['enablePullDownRefresh']).toBe(true) expect(currentPageStyle['enablePullDownRefresh']).toBe(true)
}) })
it('setPageStyle', async () => { it('setPageStyle', async () => {
await changeData(page)
const btn = await page.$('.btn-set-page-style-0') const btn = await page.$('.btn-set-page-style-0')
await btn.tap() await btn.tap()
await page.waitFor(100) await page.waitFor(100)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册