提交 d5293058 编写于 作者: H hdx

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

上级 d71e2508
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册