diff --git a/pages/component/general-event/general-event.test.js b/pages/component/general-event/general-event.test.js index f7e87612a0cb970ff6e76f2859cc6f1e3c7bf4aa..e8c9393aa2bb2abf5947e7bce511bf725919e326 100644 --- a/pages/component/general-event/general-event.test.js +++ b/pages/component/general-event/general-event.test.js @@ -222,11 +222,25 @@ describe('event trigger sequence', () => { if (isAndroid || isIos) { if (isAndroid) { - await program.tap({ - x: 200, - y: 1000, - duration: 1000 - }) + if (platformInfo.indexOf('6') != -1) { + await program.tap({ + x: 200, + y: 700, + duration: 1000 + }) + } else if (platformInfo.indexOf('12') != -1) { + await program.tap({ + x: 300, + y: 1100, + duration: 1000 + }) + } else { + await program.tap({ + x: 200, + y: 1000, + duration: 1000 + }) + } } else if (isIos) { await program.tap({ x: 200, @@ -279,4 +293,4 @@ describe('event trigger sequence', () => { } } }) -}) +})