Skip to content

fix: update expected stacktraces for CLI #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/runtimes/ios/ios_runtime_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_384_check_for_native_and_js_callstacks(self):
'sig_handler(int)',
'JS Stack:',
'[native code]',
'at onNavigatingTo(file:///app/main-page.js:34:0']
'at onNavigatingTo(file: app/main-page.js:34:0']
TnsLogs.wait_for_log(log_file=result.log_file, string_list=strings, timeout=150, check_interval=10)

# Verify app is NOT running on device
Expand Down Expand Up @@ -149,7 +149,7 @@ def test_386_check_native_crash_will_not_crash_when_discardUncaughtJsExceptions_
log = Tns.run_ios(app_name=APP_NAME, emulator=True)

strings = ['The folder “not-existing-path” doesn’t exist.',
'JS:\ncontentsOfDirectoryAtPathError(file:///app/main-view-model.js:6:0)']
'JS:\ncontentsOfDirectoryAtPathError(file: app/main-view-model.js:6:0)']

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