From bc88861c158086be98118e303d86ec4c36545e5e Mon Sep 17 00:00:00 2001 From: Natalia-Hristova Date: Wed, 13 Mar 2019 16:51:41 +0200 Subject: [PATCH] Extend assertion string to test issue tns-ios#1009 --- tests/simulator/run_ios_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/simulator/run_ios_tests.py b/tests/simulator/run_ios_tests.py index cd24ec0c..7b616d64 100644 --- a/tests/simulator/run_ios_tests.py +++ b/tests/simulator/run_ios_tests.py @@ -171,7 +171,7 @@ def test_180_tns_run_ios_console_log(self): log = Tns.run_ios(attributes={'--path': self.app_name, '--emulator': ''}, wait=False, assert_success=False) strings = ['Project successfully built', 'Successfully installed on device with identifier', self.SIMULATOR_ID, - "CONSOLE LOG", + "CONSOLE LOG file:///app/main-page.js", "true", "false", "null", @@ -190,7 +190,7 @@ def test_180_tns_run_ios_console_log(self): "error", "false == true", "empty string evaluates to 'false'", - "CONSOLE TRACE", + "CONSOLE TRACE file:///app/main-page.js", "console.trace() called", "0: pageLoaded", "Button(8)",