Skip to content

Commit

Permalink
updated none on tests swipe android
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainMiranda committed Feb 29, 2024
1 parent cfe761f commit f673ef9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions toolium/test/utils/test_driver_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def test_swipe_android_native(driver_wrapper, utils):
element = get_mock_element(x=250, y=40, height=40, width=300)

utils.swipe(element, 50, 100)
driver_wrapper.driver.swipe.assert_called_once_with(400, 60, 450, 160, None)
driver_wrapper.driver.swipe.assert_called_once_with(400, 60, 450, 160, 0)


def test_swipe_android_web(driver_wrapper, utils):
Expand All @@ -505,7 +505,7 @@ def test_swipe_android_web(driver_wrapper, utils):
element = get_mock_element(x=250, y=40, height=40, width=300)

utils.swipe(element, 50, 100)
driver_wrapper.driver.swipe.assert_called_once_with(200, 30, 250, 130, None)
driver_wrapper.driver.swipe.assert_called_once_with(200, 30, 250, 130, 0)


def test_swipe_android_hybrid(driver_wrapper, utils):
Expand All @@ -522,7 +522,7 @@ def test_swipe_android_hybrid(driver_wrapper, utils):
element = get_mock_element(x=250, y=40, height=40, width=300)

utils.swipe(element, 50, 100)
driver_wrapper.driver.swipe.assert_called_once_with(200, 30, 250, 130, None)
driver_wrapper.driver.swipe.assert_called_once_with(200, 30, 250, 130, 0)


def test_swipe_ios_web(driver_wrapper, utils):
Expand All @@ -538,7 +538,7 @@ def test_swipe_ios_web(driver_wrapper, utils):
element = get_mock_element(x=250, y=40, height=40, width=300)

utils.swipe(element, 50, 100)
driver_wrapper.driver.swipe.assert_called_once_with(200, 94, 50, 100, None)
driver_wrapper.driver.swipe.assert_called_once_with(200, 94, 50, 100, 0)


def test_swipe_web(driver_wrapper, utils):
Expand Down

0 comments on commit f673ef9

Please sign in to comment.