@@ -100,22 +100,22 @@ def test_001_full_livesync_ios_simulator_xml_js_css_tns_files(self):
100
100
# Add new files
101
101
def test_101_livesync_ios_simulator_watch_add_xml_file (self ):
102
102
shutil .copyfile ("TNS_App/app/main-page.xml" , "TNS_App/app/test/test.xml" )
103
- self .wait_for_text_in_output ("app/test/test.xml" )
103
+ self .wait_for_text_in_output ("app/test/test.xml to " )
104
104
105
105
output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.xml" )
106
106
assert "<Button text=\" TEST\" tap=\" {{ tapAction }}\" />" in output
107
107
108
108
def test_102_livesync_ios_simulator_watch_add_js_file (self ):
109
109
shutil .copyfile ("TNS_App/app/app.js" , "TNS_App/app/test/test.js" )
110
- self .wait_for_text_in_output ("app/test/test.js" )
110
+ self .wait_for_text_in_output ("app/test/test.js to " )
111
111
time .sleep (2 )
112
112
113
113
output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.js" )
114
114
assert "application.start();" in output
115
115
116
116
def test_103_livesync_ios_simulator_watch_add_css_file (self ):
117
117
shutil .copyfile ("TNS_App/app/app.css" , "TNS_App/app/test/test.css" )
118
- self .wait_for_text_in_output ("app/test/test.css" )
118
+ self .wait_for_text_in_output ("app/test/test.css to " )
119
119
120
120
output = cat_app_file_on_simulator ("TNSApp" , "app/test/test.css" )
121
121
assert "color: #284848;" in output
@@ -124,22 +124,22 @@ def test_103_livesync_ios_simulator_watch_add_css_file(self):
124
124
# Change in files
125
125
def test_111_livesync_ios_simulator_watch_change_xml_file (self ):
126
126
replace ("TNS_App/app/main-page.xml" , "TEST" , "WATCH" )
127
- self .wait_for_text_in_output ("app/main-page.xml" )
127
+ self .wait_for_text_in_output ("app/main-page.xml to " )
128
128
129
129
output = cat_app_file_on_simulator ("TNSApp" , "app/main-page.xml" )
130
130
assert "<Button text=\" WATCH\" tap=\" {{ tapAction }}\" />" in output
131
131
132
132
def test_112_livesync_ios_simulator_watch_change_js_file (self ):
133
133
replace ("TNS_App/app/main-view-model.js" , "clicks" , "tricks" )
134
- self .wait_for_text_in_output ("app/main-view-model.js" )
134
+ self .wait_for_text_in_output ("app/main-view-model.js to " )
135
135
time .sleep (2 )
136
136
137
137
output = cat_app_file_on_simulator ("TNSApp" , "app/main-view-model.js" )
138
138
assert "this.set(\" message\" , this.counter + \" tricks left\" );" in output
139
139
140
140
def test_113_livesync_ios_simulator_watch_change_css_file (self ):
141
141
replace ("TNS_App/app/app.css" , "#284848" , "green" )
142
- self .wait_for_text_in_output ("app/app.css" )
142
+ self .wait_for_text_in_output ("app/app.css to " )
143
143
144
144
output = cat_app_file_on_simulator ("TNSApp" , "app/app.css" )
145
145
assert "color: green;" in output
0 commit comments