@@ -31,7 +31,7 @@ def setUpClass(cls):
31
31
cls .emu_API24 = DeviceManager .Emulator .ensure_available (Settings .Emulators .EMU_API_24 )
32
32
33
33
# Download Preview and Playground packages
34
- Preview .get_app_packages ()
34
+ # Preview.get_app_packages()
35
35
36
36
# Install Preview and Playground
37
37
Preview .install_preview_app (cls .emu , Platform .ANDROID )
@@ -96,7 +96,7 @@ def test_210_tns_preview_android_livesync_on_two_emulators(self):
96
96
log = File .read (result .log_file )
97
97
url = Preview .get_url (log )
98
98
Preview .run_url (url = url , device = self .emu )
99
- strings = TnsLogs .preview_initial_messages (platform = Platform . ANDROID )
99
+ strings = TnsLogs .preview_initial_messages (device = self . emu )
100
100
TnsLogs .wait_for_log (log_file = result .log_file , string_list = strings )
101
101
self .emu .wait_for_text (text = Changes .JSHelloWord .JS .old_text , timeout = 90 )
102
102
@@ -107,7 +107,7 @@ def test_210_tns_preview_android_livesync_on_two_emulators(self):
107
107
Preview .run_url (url = url , device = self .emu_API24 )
108
108
# Here use bundle=False because on consecutive preview build is not executed again
109
109
# and no bundle messages are displayed in log
110
- strings = TnsLogs .preview_initial_messages (platform = Platform . ANDROID , bundle = False )
110
+ strings = TnsLogs .preview_initial_messages (device = self . emu , bundle = False )
111
111
TnsLogs .wait_for_log (log_file = result .log_file , string_list = strings )
112
112
self .emu_API24 .wait_for_text (text = Changes .JSHelloWord .JS .old_text )
113
113
@@ -136,7 +136,7 @@ def test_210_tns_preview_on_simulator_and_emulator_livesync(self):
136
136
log = File .read (result .log_file )
137
137
url = Preview .get_url (log )
138
138
Preview .run_url (url = url , device = self .emu )
139
- strings = TnsLogs .preview_initial_messages (platform = Platform . ANDROID )
139
+ strings = TnsLogs .preview_initial_messages (device = self . emu )
140
140
TnsLogs .wait_for_log (log_file = result .log_file , string_list = strings )
141
141
self .emu .wait_for_text (text = Changes .JSHelloWord .JS .old_text )
142
142
@@ -145,7 +145,7 @@ def test_210_tns_preview_on_simulator_and_emulator_livesync(self):
145
145
146
146
# Preview on simulator
147
147
Preview .run_url (url = url , device = self .sim )
148
- strings = TnsLogs .preview_initial_messages (platform = Platform . IOS )
148
+ strings = TnsLogs .preview_initial_messages (device = self . sim )
149
149
TnsLogs .wait_for_log (log_file = result .log_file , string_list = strings )
150
150
self .sim .wait_for_text (text = Changes .JSHelloWord .JS .old_text )
151
151
0 commit comments