Skip to content

Commit ecca1ad

Browse files
author
Miroslava Ivanova
committed
add check interval for starter kits templates
1 parent e3872df commit ecca1ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/templates/starter_kit_templates_tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def test_100_run_android(self, demo):
170170
log = Tns.run_android(attributes={'--path': demo,
171171
'--device': EMULATOR_ID}, wait=False, assert_success=False)
172172
Tns.wait_for_log(log_file=log, string_list=Helpers.no_wp_run, not_existing_string_list=Helpers.wp_errors,
173-
timeout=240)
173+
timeout=240, check_interval=5)
174174
Helpers.android_screen_match(image=demo + '_home', tolerance=1.0)
175175
if "-ng" in demo or "-ts" in demo:
176176
Helpers.wait_typescript_watcher()
@@ -196,7 +196,7 @@ def test_100_run_ios(self, demo):
196196
Tns.kill()
197197
log = Tns.run_ios(attributes={'--path': demo, '--emulator': ''}, wait=False, assert_success=False)
198198
Tns.wait_for_log(log_file=log, string_list=Helpers.no_wp_run, not_existing_string_list=Helpers.wp_errors,
199-
timeout=240)
199+
timeout=240, check_interval=5)
200200
Helpers.ios_screen_match(sim_id=self.SIMULATOR_ID, image=demo + '_home', tolerance=1.0)
201201
if "-ng" in demo or "-ts" in demo:
202202
Helpers.wait_typescript_watcher()
@@ -224,7 +224,7 @@ def test_200_run_android_bundle(self, demo):
224224
'--bundle': '',
225225
'--device': EMULATOR_ID}, wait=False, assert_success=False)
226226
Tns.wait_for_log(log_file=log, string_list=Helpers.wp_run, not_existing_string_list=Helpers.wp_errors,
227-
timeout=240)
227+
timeout=240, check_interval=5)
228228
Helpers.android_screen_match(image=demo + '_home', tolerance=1.0)
229229
Helpers.wait_webpack_watcher()
230230

0 commit comments

Comments
 (0)