@@ -45,7 +45,7 @@ def setUpClass(cls):
45
45
46
46
def test_001_js_app_app_resources (self ):
47
47
folder = os .path .join (TnsPaths .get_app_path (app_name = self .js_app ), 'app' )
48
- assert PerfUtils .is_value_in_range (actual = Folder .get_size (folder ), expected = 2991548 , tolerance = 0.1 )
48
+ assert PerfUtils .is_value_in_range (actual = Folder .get_size (folder ), expected = 1267420 , tolerance = 0.1 )
49
49
50
50
def test_002_js_app_node_modules (self ):
51
51
folder = os .path .join (TnsPaths .get_app_path (app_name = self .js_app ), 'node_modules' )
@@ -75,11 +75,11 @@ def test_003_js_app_apk(self):
75
75
@unittest .skipIf (Settings .HOST_OS != OSType .OSX , 'iOS tests can be executed only on macOS.' )
76
76
def test_102_js_app_ipa (self ):
77
77
ipa = TnsPaths .get_ipa_path (app_name = self .js_app , release = True , for_device = True )
78
- assert PerfUtils .is_value_in_range (actual = File .get_size (ipa ), expected = 16001936 , tolerance = 0.05 )
78
+ assert PerfUtils .is_value_in_range (actual = File .get_size (ipa ), expected = 13376474 , tolerance = 0.05 )
79
79
80
80
def test_100_ng_app_app_resources (self ):
81
81
app_folder = os .path .join (TnsPaths .get_app_path (app_name = self .ng_app ), 'App_Resources' )
82
- assert PerfUtils .is_value_in_range (actual = Folder .get_size (app_folder ), expected = 2986244 , tolerance = 0.1 )
82
+ assert PerfUtils .is_value_in_range (actual = Folder .get_size (app_folder ), expected = 1262116 , tolerance = 0.1 )
83
83
84
84
def test_101_ng_app_node_modules (self ):
85
85
app_folder = os .path .join (TnsPaths .get_app_path (app_name = self .ng_app ), 'node_modules' )
@@ -104,4 +104,4 @@ def test_102_ng_app_apk(self):
104
104
@unittest .skipIf (Settings .HOST_OS != OSType .OSX , 'iOS tests can be executed only on macOS.' )
105
105
def test_102_ng_app_ipa (self ):
106
106
ipa = TnsPaths .get_ipa_path (app_name = self .ng_app , release = True , for_device = True )
107
- assert PerfUtils .is_value_in_range (actual = File .get_size (ipa ), expected = 16226626 , tolerance = 0.05 )
107
+ assert PerfUtils .is_value_in_range (actual = File .get_size (ipa ), expected = 13561763 , tolerance = 0.05 )
0 commit comments