Skip to content

Commit d33c2bf

Browse files
committed
fix: remove asserts for 'Running full build' message
1 parent d6ee500 commit d33c2bf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/emulator/run_android_tests.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ def test_001_tns_run_android_js_css_xml_manifest(self):
119119
# Changes in App_Resources should rebuild native project
120120
res_path = os.path.join(self.app_name, 'app', 'App_Resources', 'Android', 'AndroidManifest.xml')
121121
File.replace(res_path, '17', '19')
122-
strings = ['Preparing project', 'Building project', 'Gradle build', 'Running full build',
123-
'Successfully synced application']
122+
strings = ['Preparing project', 'Building project', 'Gradle build', 'Successfully synced application']
124123
Tns.wait_for_log(log_file=log, string_list=strings, timeout=60)
125124

126125
# Verify app looks correct inside emulator
@@ -372,7 +371,6 @@ def test_310_tns_run_android_clean_builds(self):
372371
assert 'Skipping prepare' in log, "Prepare NOT skipped when no files are changed and `tns run android --clean`"
373372
assert 'Building project...' in log, "Full rebuild not triggered when --clean is used"
374373
assert 'Gradle build' in log, "Full rebuild not triggered when --clean is used"
375-
assert 'Running full build' in log, "Full rebuild not triggered when --clean is used"
376374

377375
Device.wait_for_text(device_id=EMULATOR_ID, text='42 taps left')
378376

@@ -382,7 +380,6 @@ def test_310_tns_run_android_clean_builds(self):
382380
'--justlaunch': '', '--clean': ''})
383381
assert 'Skipping prepare' not in log, "Prepare skipped when change files and run `tns run android --clean`"
384382
assert 'Gradle build' in log, "Full rebuild not triggered when --clean is used"
385-
assert 'Running full build' in log, "Full rebuild not triggered when --clean is used"
386383

387384
Device.wait_for_text(device_id=EMULATOR_ID, text='52 taps left')
388385

@@ -392,7 +389,6 @@ def test_310_tns_run_android_clean_builds(self):
392389
'--justlaunch': '', '--clean': ''})
393390
assert 'Skipping prepare' not in log
394391
assert 'Gradle build' in log, "Full rebuild not triggered when --clean is used"
395-
assert 'Running full build' in log, "Full rebuild not triggered when --clean is used"
396392

397393
Device.wait_for_text(device_id=EMULATOR_ID, text='42 taps left')
398394

0 commit comments

Comments
 (0)