提交 64b49c9d 编写于 作者: 雪洛's avatar 雪洛

test: 屏蔽小程序不支持的测试例

上级 49bad74d
const PAGE_PATH = '/pages/API/animation-frame/animation-frame' const PAGE_PATH = '/pages/API/animation-frame/animation-frame'
describe('API-cancelAnimationFrame', () => { describe('API-cancelAnimationFrame', () => {
if (process.env.uniTestPlatformInfo.startsWith('mp')) {
it('other platform', () => {
expect(1).toBe(1)
})
return
}
let page let page
beforeAll(async () => { beforeAll(async () => {
page = await program.reLaunch(PAGE_PATH) page = await program.reLaunch(PAGE_PATH)
......
describe('component-swiper-list-view', () => { describe('component-swiper-list-view', () => {
if (process.env.uniTestPlatformInfo.startsWith('mp')) {
it('other platform', () => {
expect(1).toBe(1)
})
return
}
let page let page
beforeAll(async () => { beforeAll(async () => {
//打开swiper-list-view测试页 //打开swiper-list-view测试页
......
// uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/ // uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/
describe('component-native-web-view', () => { describe('component-native-web-view', () => {
if (!process.env.uniTestPlatformInfo.startsWith('web') && !process.env.UNI_AUTOMATOR_APP_WEBVIEW) { if (!process.env.uniTestPlatformInfo.startsWith('web') && !process.env.UNI_AUTOMATOR_APP_WEBVIEW && !process.env.uniTestPlatformInfo.startsWith('mp')) {
let page; let page;
let start = 0; let start = 0;
beforeAll(async () => { beforeAll(async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册