Skip to content

Commit 15a57a6

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
Update livesync_simulator.py
1 parent dc65ec2 commit 15a57a6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/livesync_simulator.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,22 @@ def test_001_full_livesync_ios_simulator_xml_js_css_tns_files(self):
100100
# Add new files
101101
def test_101_livesync_ios_simulator_watch_add_xml_file(self):
102102
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")
104104

105105
output = cat_app_file_on_simulator("TNSApp", "app/test/test.xml")
106106
assert "<Button text=\"TEST\" tap=\"{{ tapAction }}\" />" in output
107107

108108
def test_102_livesync_ios_simulator_watch_add_js_file(self):
109109
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")
111111
time.sleep(2)
112112

113113
output = cat_app_file_on_simulator("TNSApp", "app/test/test.js")
114114
assert "application.start();" in output
115115

116116
def test_103_livesync_ios_simulator_watch_add_css_file(self):
117117
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")
119119

120120
output = cat_app_file_on_simulator("TNSApp", "app/test/test.css")
121121
assert "color: #284848;" in output
@@ -124,22 +124,22 @@ def test_103_livesync_ios_simulator_watch_add_css_file(self):
124124
# Change in files
125125
def test_111_livesync_ios_simulator_watch_change_xml_file(self):
126126
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")
128128

129129
output = cat_app_file_on_simulator("TNSApp", "app/main-page.xml")
130130
assert "<Button text=\"WATCH\" tap=\"{{ tapAction }}\" />" in output
131131

132132
def test_112_livesync_ios_simulator_watch_change_js_file(self):
133133
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")
135135
time.sleep(2)
136136

137137
output = cat_app_file_on_simulator("TNSApp", "app/main-view-model.js")
138138
assert "this.set(\"message\", this.counter + \" tricks left\");" in output
139139

140140
def test_113_livesync_ios_simulator_watch_change_css_file(self):
141141
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")
143143

144144
output = cat_app_file_on_simulator("TNSApp", "app/app.css")
145145
assert "color: green;" in output

0 commit comments

Comments
 (0)