Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit 1fb73c0

Browse files
committed
Add stitching to appium browser tests
1 parent 26ce1fe commit 1fb73c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/functional/eyes_selenium/test_appium.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
FloatingRegion,
55
IgnoreRegionBySelector,
66
Region,
7+
StitchMode,
78
Target,
89
)
910
from selenium.webdriver.common.by import By
@@ -38,6 +39,7 @@ def test_android_native(eyes, driver):
3839
@pytest.mark.test_page_url("http://applitools.com")
3940
def test_final_application_ios(eyes_open):
4041
eyes, driver = eyes_open
42+
eyes.stitch_mode = StitchMode.CSS
4143
eyes.check_window(
4244
"Home",
4345
target=(
@@ -70,6 +72,7 @@ def test_final_application_ios(eyes_open):
7072
@pytest.mark.test_page_url("http://applitools.com")
7173
def test_final_application_android(eyes_open):
7274
eyes, driver = eyes_open
75+
eyes.stitch_mode = StitchMode.CSS
7376
eyes.check_window(
7477
"Home",
7578
target=(

0 commit comments

Comments
 (0)