Skip to content

Commit ef2ad4b

Browse files
author
vhristov5555
committed
Increase wait for image.
1 parent 036b178 commit ef2ad4b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/regression/regression_tests_js.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ def test_100_run_android(self):
7070
'--device': EMULATOR_ID}, wait=False, assert_success=False)
7171
Tns.wait_for_log(log_file=log, string_list=['Project successfully built', 'Successfully installed'],
7272
timeout=180)
73-
Helpers.android_screen_match(image=self.image_original)
73+
Helpers.android_screen_match(image=self.image_original, timeout=80)
7474

7575
# Change JS, XML and CSS
7676
ReplaceHelper.replace(self.app_name, self.js_change)
7777
ReplaceHelper.replace(self.app_name, self.xml_change)
7878
ReplaceHelper.replace(self.app_name, self.css_change)
7979

8080
# Verify application looks correct
81-
Helpers.android_screen_match(image=self.image_change)
81+
Helpers.android_screen_match(image=self.image_change, timeout=80)
8282

8383
# Revert changes
8484
ReplaceHelper.rollback(self.app_name, self.js_change)
8585
ReplaceHelper.rollback(self.app_name, self.xml_change)
8686
ReplaceHelper.rollback(self.app_name, self.css_change)
8787

8888
# Verify application looks correct
89-
Helpers.android_screen_match(image=self.image_original)
89+
Helpers.android_screen_match(image=self.image_original, timeout=80)
9090

9191
def test_200_build_android_webpack(self):
9292
Tns.build_android(attributes={"--path": self.app_name,

tests/regression/regression_tests_ng.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,23 @@ def test_100_run_android(self):
6868
log = Tns.run_android(attributes={'--path': self.app_name,
6969
'--device': EMULATOR_ID}, wait=False, assert_success=False)
7070
Tns.wait_for_log(log_file=log, string_list=['successfully built', 'Successfully installed'], timeout=180)
71-
Helpers.android_screen_match(image=self.image_original)
71+
Helpers.android_screen_match(image=self.image_original, timeout=80)
7272

7373
# Change JS, XML and CSS
7474
ReplaceHelper.replace(self.app_name, self.ts_change)
7575
ReplaceHelper.replace(self.app_name, self.html_change)
7676
ReplaceHelper.replace(self.app_name, self.css_change)
7777

7878
# Verify application looks correct
79-
Helpers.android_screen_match(image=self.image_change)
79+
Helpers.android_screen_match(image=self.image_change, timeout=80)
8080

8181
# Revert changes
8282
ReplaceHelper.rollback(self.app_name, self.html_change)
8383
ReplaceHelper.rollback(self.app_name, self.ts_change)
8484
ReplaceHelper.rollback(self.app_name, self.css_change)
8585

8686
# Verify application looks correct
87-
Helpers.android_screen_match(image=self.image_original)
87+
Helpers.android_screen_match(image=self.image_original, timeout=80)
8888

8989
def test_200_build_android_webpack(self):
9090
Tns.build_android(attributes={"--path": self.app_name,

0 commit comments

Comments
 (0)