diff --git a/tests/runtimes/android/android_runtime_tests.py b/tests/runtimes/android/android_runtime_tests.py index ca7d4a11..d13416ca 100644 --- a/tests/runtimes/android/android_runtime_tests.py +++ b/tests/runtimes/android/android_runtime_tests.py @@ -334,11 +334,9 @@ def test_430_verify_JSParser_in_SBG_is_failing_the_build_when_there_is_an_error( File.copy(source=source_js, target=target_js, backup_files=True) log = Tns.build_android(os.path.join(TEST_RUN_HOME, APP_NAME), verify=False).output - assert "FAILURE: Build failed with an exception" in log # https://github.com/NativeScript/android-runtime/issues/1405 assert "JSParser Error: Not enough or too many arguments passed(0) when trying to extend interface: " \ "java.util.List in file: bundle.js" in log - assert "Execution failed for task ':app:runSbg'" in log def test_440_tns_run_android_new_date_work_as_expected_when_changing_timezone(self): """ diff --git a/tests/runtimes/android/sbg_tests.py b/tests/runtimes/android/sbg_tests.py index a464f797..e6a947a7 100644 --- a/tests/runtimes/android/sbg_tests.py +++ b/tests/runtimes/android/sbg_tests.py @@ -44,11 +44,10 @@ def test_300_fail_build_when_sbg_bindings_file_is_missing(self): 'sbg-bindings.txt') js_parser_path = os.path.join(TEST_RUN_HOME, APP_NAME, 'platforms', 'android', 'build-tools', 'jsparser', 'js_parser.js') - exception_text = "Exception in thread \"main\" java.io.IOException: Couldn\'t find \'{0}\' bindings input " \ + exception_text = "Error executing Static Binding Generator: Couldn\'t find \'{0}\' bindings input " \ "file. Most probably there\'s an error in the JS Parser execution. You can run JS Parser " \ "with verbose logging by executing \"node \'{1}\' enableErrorLogging\"" \ .format(sbg_bindings_path, js_parser_path) - assert "BUILD FAILED" in result.output, "Expected output not found" assert exception_text in result.output, "Expected output not found" def test_301_check_if_sbg_is_working_correctly_with_nativescript_purchase_plugin(self):