Skip to content

Commit 3a95765

Browse files
committed
fix: test_100_device_log_list_applications_and_run_ios
- Wait for logs a bit longer (it takes some more time sometimes) - Ceck if app installed on all connected devices (it was checked only on one before)
1 parent 6a2d6c0 commit 3a95765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/device/device_ios_tests.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ def test_100_device_log_list_applications_and_run_ios(self):
8181

8282
# Verify list-applications command list org.nativescript.TestApp
8383
for device_id in self.DEVICE_IDS:
84-
output = Tns.run_tns_command("device list-applications", attributes={"--device": self.DEVICE_ID})
84+
output = Tns.run_tns_command("device list-applications", attributes={"--device": device_id})
8585
assert Tns.get_app_id(self.app_name) in output
8686

8787
# Get logs
8888
log = Tns.run_tns_command("device log", attributes={"--device": self.DEVICE_ID}, wait=False)
89-
Tns.wait_for_log(log_file=log, string_list=['>:'], timeout=30, clean_log=False)
89+
Tns.wait_for_log(log_file=log, string_list=['>:'], timeout=90, clean_log=False)
9090
output = File.read(log)
9191
assert "<Notice>:" in output or "<Error>:" in output

0 commit comments

Comments
 (0)