提交 5eb3edd0 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 针对 web 平台调整部分测试

上级 ad75be20
const PAGE_PATH = '/pages/API/unicloud-database/unicloud-database'
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isSafari = platformInfo.indexOf('safari') > -1
describe('unicloud-database', () => {
if (isSafari) {
it('web safari 暂时规避', () => {
expect(1).toBe(1)
})
return
}
let page
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
......@@ -3,6 +3,7 @@ describe('list-view-children-in-slot', () => {
beforeAll(async () => {
page = await program.reLaunch('/pages/component/list-view/list-view-children-in-slot')
await page.waitFor('list-view')
await page.waitFor(300)
})
it('basic', async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册