@@ -65,13 +65,11 @@ def test_200_build_android_app_bundle(self):
65
65
"""Build app with android app bundle option. Verify the output(app.aab) and use bundletool
66
66
to deploy on device"""
67
67
path_to_aab = os .path .join (self .app_name , "platforms" , "android" , "app" , "build" , "outputs" ,
68
- "bundle" , "debug" , "app.aab" )
68
+ "bundle" , "debug" , "app-debug .aab" )
69
69
70
- Tns .build_android (self .app_path , aab = True , verify = False )
71
- # There is an issue at the moment that the path is not shown in log.
72
- # TODO: uncomment this when the issue is fixed
73
- # assert "The build result is located at:" in result.output
74
- # assert path_to_aab in result.output
70
+ result = Tns .build_android (self .app_path , aab = True , verify = False )
71
+ assert "The build result is located at:" in result .output
72
+ assert path_to_aab in result .output
75
73
assert File .exists (path_to_aab )
76
74
77
75
# Verify app can be deployed on emulator via bundletool
@@ -95,7 +93,7 @@ def test_205_build_android_app_bundle_env_snapshot(self):
95
93
# This test will not run on windows because env.snapshot option is not available on that OS
96
94
97
95
path_to_aab = os .path .join (self .app_name , "platforms" , "android" , "app" , "build" ,
98
- "outputs" , "bundle" , "release" , "app.aab" )
96
+ "outputs" , "bundle" , "release" , "app-release .aab" )
99
97
100
98
# Configure app with snapshot optimisations
101
99
source = os .path .join ('assets' , 'abdoid-app-bundle' , 'app.gradle' )
@@ -107,12 +105,10 @@ def test_205_build_android_app_bundle_env_snapshot(self):
107
105
\n useLibs: true,\n androidNdkPath: \" $ANDROID_NDK_HOME\" """ )
108
106
109
107
# env.snapshot is applicable only in release build
110
- Tns .build_android (self .app_path , aab = True , release = True , snapshot = True ,
111
- uglify = True , verify = False )
112
- # There is an issue at the moment that the path is not shown in log.
113
- # TODO: uncomment this when the issue is fixed
114
- # assert "The build result is located at:" in result.output
115
- # assert path_to_aab in result.output
108
+ result = Tns .build_android (self .app_path , aab = True , release = True , snapshot = True ,
109
+ uglify = True , verify = False )
110
+ assert "The build result is located at:" in result .output
111
+ assert path_to_aab in result .output
116
112
assert File .exists (path_to_aab )
117
113
118
114
# Verify app can be deployed on emulator via bundletool
0 commit comments