ios_tests/lib/ios/specs/device/device.rb in appium_lib-9.4.4 vs ios_tests/lib/ios/specs/device/device.rb in appium_lib-9.4.5

- old
+ new

@@ -87,10 +87,11 @@ wait { id 'ArrowButton' } # successfully transitioned to buttons page go_back end t 'swipe' do - touch_action = swipe(start_x: 75, start_y: 500, offset_x: 75, offset_y: 20, duration: 500) + touch_action = Appium::TouchAction.new.swipe(start_x: 75, start_y: 500, + offset_x: 75, offset_y: 20, duration: 500).perform touch_action.actions.must_equal [] touch_action = Appium::TouchAction.new.swipe(start_x: 75, start_y: 500, offset_x: 75, offset_y: 20, duration: 500) touch_action.actions[0][:action].must_equal :press