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 48f2c59

Browse files
committedNov 21, 2019
fix a test
1 parent 0cf63c2 commit 48f2c59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎tests/cli/preview/templates/hello_word_js_tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,11 @@ def test_210_tns_preview_android_livesync_on_two_emulators(self):
104104
# Click on TAP button on emulator
105105
Adb.click_element_by_text(self.emu.id, 'TAP', case_sensitive=True)
106106

107-
time.sleep(2)
108107
# Preview on second emulator
109108
Preview.run_url(url=url, device=self.emu_API24)
110109
# Here use bundle=False because on consecutive preview build is not executed again
111110
# and no bundle messages are displayed in log
112-
strings = TnsLogs.preview_initial_messages(device=self.emu, platform=Platform.ANDROID)
111+
strings = TnsLogs.preview_initial_messages(device=self.emu, platform=Platform.ANDROID, bundle=False)
113112
TnsLogs.wait_for_log(log_file=result.log_file, string_list=strings, timeout=120)
114113
self.emu_API24.wait_for_text(text=Changes.JSHelloWord.JS.old_text)
115114

0 commit comments

Comments
 (0)
Please sign in to comment.