提交 6895a849 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

test: 规避 ios 自动化测试超时问题

上级 4b6a71fc
const PAGE_PATH = '/pages/built-in-component/keep-alive/keep-alive'
describe('keep-alive', () => {
if(process.env.uniTestPlatformInfo.startsWith('IOS')){
it("IOS platform not support", async () => {
expect(1).toBe(1);
});
return
}
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
const PAGE_PATH = '/pages/built-in-component/teleport/teleport'
describe('teleport', () => {
if(process.env.uniTestPlatformInfo.startsWith('IOS')){
it("IOS platform not support", async () => {
expect(1).toBe(1);
});
return
}
let page = null
beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH)
......
......@@ -2,9 +2,9 @@ const PAGE_PATH = '/pages/composition/mixins/mixins-web'
let page
describe('mixins', () => {
if (process.env.uniTestPlatformInfo.startsWith('android')) {
// 该例只针对 web 平台
it('android', async () => {
if (!process.env.uniTestPlatformInfo.startsWith('web')) {
// 该例只针对 web 平台
it('not web platform not support', async () => {
expect(1).toBe(1)
})
return
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册