@@ -171,25 +171,25 @@ def test_103_livesync_ios_simulator_watch_add_css_file(self):
171
171
assert "color: #284848;" in output
172
172
173
173
def test_111_livesync_ios_simulator_watch_change_xml_file (self ):
174
- replace ("TNS_App/app/test/test .xml" , "TEST" , "WATCH" )
175
- self .wait_for_text_in_output ("app/test/test .xml" )
174
+ replace ("TNS_App/app/main-page .xml" , "TEST" , "WATCH" )
175
+ self .wait_for_text_in_output ("app/main-page .xml" )
176
176
177
- output = cat_app_file_on_simulator ("TNSApp" , "app/test/test .xml" )
177
+ output = cat_app_file_on_simulator ("TNSApp" , "app/main-page .xml" )
178
178
assert "<Button text=\" WATCH\" tap=\" {{ tapAction }}\" />" in output
179
179
180
180
def test_112_livesync_ios_simulator_watch_change_js_file (self ):
181
- replace ("TNS_App/app/test/test .js" , "start(); " , "start(); // test " )
182
- self .wait_for_text_in_output ("app/test/test .js" )
181
+ replace ("TNS_App/app/main-view-model .js" , "clicks " , "tricks " )
182
+ self .wait_for_text_in_output ("app/main-view-model .js" )
183
183
time .sleep (2 )
184
184
185
- output = cat_app_file_on_simulator ("TNSApp" , "app/test/test .js" )
186
- assert "application.start(); // test " in output
185
+ output = cat_app_file_on_simulator ("TNSApp" , "app/main-view-model .js" )
186
+ assert "this.set( \" message \" , this.counter + \" tricks left \" ); " in output
187
187
188
188
def test_113_livesync_ios_simulator_watch_change_css_file (self ):
189
- replace ("TNS_App/app/test/test .css" , "#284848" , "lightgreen" )
190
- self .wait_for_text_in_output ("app/test/test .css" )
189
+ replace ("TNS_App/app/app .css" , "#284848" , "lightgreen" )
190
+ self .wait_for_text_in_output ("app/app .css" )
191
191
192
- output = cat_app_file_on_simulator ("TNSApp" , "app/test/test .css" )
192
+ output = cat_app_file_on_simulator ("TNSApp" , "app/app .css" )
193
193
assert "color: lightgreen;" in output
194
194
195
195
# https://github.com/NativeScript/nativescript-cli/issues/1210
0 commit comments