@@ -184,9 +184,9 @@ def __debug_sources(self, platform, device):
184
184
# Open sources tab and verify content is loaded
185
185
self .dev_tools = ChromeDevTools (self .chrome , platform = platform , tab = ChromeDevToolsTabs .SOURCES )
186
186
187
- # Open JS file and place breakpoint on line 17
187
+ # Open JS file and place breakpoint on line 18
188
188
self .dev_tools .load_source_file ("main-view-model.js" )
189
- self .dev_tools .breakpoint (17 )
189
+ self .dev_tools .breakpoint (18 )
190
190
191
191
# Tap on TAP button in emulator and check it is hit
192
192
device .click (text = "TAP" , case_sensitive = True )
@@ -205,9 +205,9 @@ def __debug_sync_changes(self, platform, device):
205
205
# Open sources tab and verify content is loaded
206
206
self .dev_tools = ChromeDevTools (self .chrome , platform = platform , tab = ChromeDevToolsTabs .SOURCES )
207
207
208
- # Open JS file and place breakpoint on line 17
208
+ # Open JS file and place breakpoint on line 18
209
209
self .dev_tools .load_source_file ("main-view-model.js" )
210
- self .dev_tools .breakpoint (17 )
210
+ self .dev_tools .breakpoint (18 )
211
211
212
212
# Sync JS changes works fine until breakpoint is hit
213
213
Sync .replace (app_name = self .app_name , change_set = Changes .JSHelloWord .JS )
@@ -249,10 +249,10 @@ def __debug_watch_expression(self, platform, device):
249
249
Tns .debug (app_name = self .app_name , platform = platform , emulator = True )
250
250
device .wait_for_text (text = 'TAP' )
251
251
252
- # Open sources tab and place breakpoint on line 17 of main-view-model.js
252
+ # Open sources tab and place breakpoint on line 18 of main-view-model.js
253
253
self .dev_tools = ChromeDevTools (self .chrome , platform = platform , tab = ChromeDevToolsTabs .SOURCES )
254
254
self .dev_tools .load_source_file ("main-view-model.js" )
255
- self .dev_tools .breakpoint (17 )
255
+ self .dev_tools .breakpoint (18 )
256
256
257
257
# Tap on TAP button in emulator and check it is hit
258
258
device .click (text = "TAP" , case_sensitive = True )
@@ -301,7 +301,7 @@ def __debug_start(self, platform, device):
301
301
# Verify debug is working (covers https://github.com/NativeScript/nativescript-cli/issues/2831)
302
302
self .dev_tools .open_tab (ChromeDevToolsTabs .SOURCES )
303
303
self .dev_tools .load_source_file ("main-view-model.js" )
304
- self .dev_tools .breakpoint (17 )
304
+ self .dev_tools .breakpoint (18 )
305
305
device .click (text = "TAP" , case_sensitive = True )
306
306
pause_element = self .dev_tools .wait_element_by_text (text = "Paused on breakpoint" , timeout = 10 )
307
307
assert pause_element is not None , 'Failed to pause on breakpoint.'
0 commit comments