提交 28970e62 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 针对 web 平台优化测试例

上级 8f32abe5
const PAGE_PATH = '/pages/API/unicloud/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.
先完成此消息的编辑!
想要评论请 注册