@@ -365,6 +365,7 @@ describe('Appium', function () {
365
365
366
366
describe ( '#performTouchAction' , ( ) => {
367
367
it ( 'should react on swipeUp action @second' , async ( ) => {
368
+ await app . resetApp ( )
368
369
await app . tap ( "//android.widget.Button[@resource-id = 'io.selendroid.testapp:id/touchTest']" )
369
370
await app . waitForText ( 'Gesture Type' , 10 , "//android.widget.TextView[@resource-id = 'io.selendroid.testapp:id/gesture_type_text_view']" )
370
371
await app . swipeUp ( "//android.widget.LinearLayout[@resource-id = 'io.selendroid.testapp:id/LinearLayout1']" , 1200 , 1000 )
@@ -390,6 +391,7 @@ describe('Appium', function () {
390
391
} )
391
392
392
393
it ( 'should react on swipeLeft action' , async ( ) => {
394
+ await app . resetApp ( )
393
395
await app . tap ( "//android.widget.Button[@resource-id = 'io.selendroid.testapp:id/touchTest']" )
394
396
await app . waitForText ( 'Gesture Type' , 10 , "//android.widget.TextView[@resource-id = 'io.selendroid.testapp:id/gesture_type_text_view']" )
395
397
await app . swipeLeft ( "//android.widget.TextView[@resource-id = 'io.selendroid.testapp:id/gesture_type_text_view']" )
@@ -401,6 +403,7 @@ describe('Appium', function () {
401
403
} )
402
404
403
405
it ( 'should react on swipeRight action' , async ( ) => {
406
+ await app . resetApp ( )
404
407
await app . tap ( "//android.widget.Button[@resource-id = 'io.selendroid.testapp:id/touchTest']" )
405
408
await app . waitForText ( 'Gesture Type' , 10 , "//android.widget.TextView[@resource-id = 'io.selendroid.testapp:id/gesture_type_text_view']" )
406
409
await app . swipeRight ( "//android.widget.TextView[@resource-id = 'io.selendroid.testapp:id/gesture_type_text_view']" )
0 commit comments