提交 cb66bf80 编写于 作者: Anne_LXM's avatar Anne_LXM

test(swiper): issues-2342已修复/放开android端测试

上级 55acad32
......@@ -111,8 +111,6 @@ describe('test swiper', () => {
it('Event animationfinish', async () => {
await page.waitFor(1000)
// bug:在android端第一次触发@animationfinish 得到detail中的source为空,第二次触发时正常得到source: 'autoplay'
if(!process.env.UNI_UTS_PLATFORM.startsWith('app-android')){
const animationfinishDetailInfo = await page.data('animationfinishDetailTest')
if(process.env.uniTestPlatformInfo.startsWith('web')){
expect(animationfinishDetailInfo).toEqual(webDetailRes)
......@@ -120,6 +118,5 @@ describe('test swiper', () => {
expect(animationfinishDetailInfo).toEqual(appDetailRes)
}
expect(await page.data('isAnimationfinishTest')).toBe('animationfinish:Success')
}
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册