Skip to content

Commit efb4f48

Browse files
committed
chore:remove tests from run_ios_device test
`test_404_tns_run_ios_on_not_existing_device_should_not_start_simualtor` also exists in simulator tests, no need to run it twice.
1 parent 66bb6f7 commit efb4f48

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/device/run_ios_device_tests.py

-11
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,3 @@ def test_400_tns_run_ios_should_not_crash_when_uninstall_app(self):
295295
strings = ['Successfully installed', 'Successfully synced application']
296296
Tns.wait_for_log(log_file=log, string_list=strings, timeout=180, check_interval=10)
297297
assert Device.wait_for_text(device_id=self.DEVICE_ID, text="TEST"), "XML changes not synced on device!"
298-
299-
def test_404_tns_run_ios_on_not_existing_device_should_not_start_simualtor(self):
300-
"""
301-
`tns run ios --device fakeID` should show error and emulator should not be started (test for issue #2728)
302-
"""
303-
Simulator.stop()
304-
output = Tns.run_ios(attributes={'--path': self.app_name, '--device': 'fakeID', '--justlaunch': ''},
305-
assert_success=False)
306-
TnsAsserts.invalid_device(output=output)
307-
sleep(10)
308-
assert not Simulator.is_running()[0], 'iOS Simulator started by `tns run ios --device fakeID`!'

0 commit comments

Comments
 (0)