diff --git a/core/tns/tns_verifications.py b/core/tns/tns_verifications.py index 57a126ee..e8789a04 100644 --- a/core/tns/tns_verifications.py +++ b/core/tns/tns_verifications.py @@ -150,7 +150,11 @@ def platform_added(app_name, platform=Platform.NONE, output=None): # Verify console output is correct if output is not None: assert 'Copying template files...' in output - assert 'Project successfully created.' in output + if platform is Platform.ANDROID: + assert 'Platform android successfully added' in output + if platform is Platform.IOS: + assert 'Platform ios successfully added.' in output + assert 'Project successfully created.' not in output # This is to handle test for app with space. # In this case we put app name inside ''.