Skip to content

Commit c17a38a

Browse files
console logs
1 parent 932ed51 commit c17a38a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/sync/hello_world_js.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def __sync_hello_world_js_ts(app_type, app_name, platform, device, bundle=True,
153153

154154
def preview_hello_world_js_ts(app_name, platform, device, bundle=True, hmr=True, instrumented=False,
155155
click_open_alert=False):
156-
result = Preview.run_app(app_name=app_name, bundle=bundle, hmr=hmr, platform=platform,
156+
result = Preview.run_app(app_name=app_name, bundle=bundle, hmr=hmr,
157157
device=device, instrumented=instrumented, click_open_alert=click_open_alert)
158158

159159
# Verify app looks properly

products/nativescript/preview_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def dismiss_simulator_alert():
128128
run(command)
129129

130130
@staticmethod
131-
def run_app(app_name, platform, device, bundle=True, hmr=True, instrumented=False, click_open_alert=False):
131+
def run_app(app_name, device, bundle=True, hmr=True, instrumented=False, click_open_alert=False):
132132
result = Tns.preview(app_name=app_name, bundle=bundle, hmr=hmr)
133133

134134
# Read the log and extract the url to load the app on emulator
@@ -143,7 +143,7 @@ def run_app(app_name, platform, device, bundle=True, hmr=True, instrumented=Fals
143143
device.click("Open")
144144

145145
# Verify logs
146-
strings = TnsLogs.preview_initial_messages(platform=platform, device=device, hmr=hmr, bundle=bundle,
146+
strings = TnsLogs.preview_initial_messages(device=device, hmr=hmr, bundle=bundle,
147147
instrumented=instrumented)
148148
TnsLogs.wait_for_log(log_file=result.log_file, string_list=strings, timeout=200)
149149
return result

0 commit comments

Comments
 (0)