提交 753982ec 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 规避 ios 异常测试

上级 f5f22bf9
// uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/
describe('API-theme-change', () => {
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isIos = platformInfo.startsWith('ios')
if (isIos) {
it('dummyTest', () => {
expect(1).toBe(1)
})
return
}
let page;
const isApp = process.env.UNI_OS_NAME === "android" || process.env.UNI_OS_NAME === "ios";
......
......@@ -7,14 +7,23 @@ function getData(key = '') {
})
}
let page;
beforeAll(async () => {
page = await program.reLaunch('/pages/component/swiper/swiper')
await page.waitFor(600)
})
describe('test swiper', () => {
const platformInfo = process.env.uniTestPlatformInfo.toLocaleLowerCase()
const isIos = platformInfo.startsWith('ios')
if (isIos) {
it('dummyTest', () => {
expect(1).toBe(1)
})
return
}
let page;
beforeAll(async () => {
page = await program.reLaunch('/pages/component/swiper/swiper')
await page.waitFor(600)
})
it('check indicator show', async () => {
await page.setData({
dotsSelect: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册