Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5d63d31

Browse files
authoredMar 5, 2019
fix: tests for live templates (#70)
This job is failing: http://nsbuild01:8080/build/view/Live%20View/job/live-templates/ Reason is we look for transfer of vendor.js, while we have thsi in logs: ``` Successfully transferred all files on device 7F78ED16-59F8-4A41-9AD7-58F679CEC6AC. ``` This happens because in this tempalete we have a lot of lazy loaded modules.
1 parent 0fa82e9 commit 5d63d31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/templates/template_tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ def test(self, template_name, template_info):
8686
Simctl.uninstall_all(simulator_info=self.sim)
8787
result = Tns.run_ios(app_name=app_name, device=self.sim.id, bundle=True)
8888
strings = TnsLogs.run_messages(app_name=app_name, run_type=RunType.FULL, platform=Platform.IOS, bundle=True)
89+
if template_info == Template.DRAWER_NAVIGATION_NG:
90+
strings = TnsLogs.run_messages(app_name=app_name, run_type=RunType.UNKNOWN, platform=Platform.IOS,
91+
bundle=True)
8992
TnsLogs.wait_for_log(log_file=result.log_file, string_list=strings, timeout=300)
9093
if template_info.texts is not None:
9194
for text in template_info.texts:

0 commit comments

Comments
 (0)
Please sign in to comment.