Skip to content

Commit 87c1640

Browse files
author
Natalia-Hristova
committed
fix: tests beacuse of chnages in logging
1 parent bffca71 commit 87c1640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/runtimes/ios/ios_runtime_tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ def test_384_check_for_native_and_js_callstacks(self):
105105
strings = ['Native Stack:',
106106
'sig_handler(int)',
107107
'JS Stack:',
108-
'1 @[native code]',
109-
'2 onNavigatingTo@file:///app/main-page.js:34:0']
108+
'[native code]',
109+
'at onNavigatingTo(file:///app/main-page.js:34:0']
110110
TnsLogs.wait_for_log(log_file=result.log_file, string_list=strings, timeout=150, check_interval=10)
111111

112112
# Verify app is NOT running on device
@@ -148,7 +148,7 @@ def test_386_check_native_crash_will_not_crash_when_discardUncaughtJsExceptions_
148148
log = Tns.run_ios(app_name=APP_NAME, emulator=True)
149149

150150
strings = ['CONSOLE LOG file:///app/app.js:47:0 The folder “not-existing-path” doesn’t exist.',
151-
'JS: 1 contentsOfDirectoryAtPathError@file:///app/main-view-model.js:6:0']
151+
'JS: contentsOfDirectoryAtPathError(file:///app/main-view-model.js:6:0']
152152

153153
test_result = Wait.until(lambda: all(string in File.read(log.log_file) for string in strings), timeout=300,
154154
period=5)

0 commit comments

Comments
 (0)