Skip to content

Commit 2844fa9

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
Skip failing tests until fixed issues.
1 parent be2c763 commit 2844fa9

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

tests/platform_linux.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_205_Platform_Update_Android_ToSameVersion(self):
158158
assert ("Usage" in output)
159159
Build(platform="android", path="TNS_App")
160160

161-
def test_206_Platform_Downgrage_Android_ToOlderVersion(self):
161+
def test_206_Platform_Downgrade_Android_ToOlderVersion(self):
162162
CreateProjectAndAddPlatform(projName="TNS_App", platform="[email protected]")
163163
output = runAUT("cat TNS_App/package.json")
164164
assert ("\"version\": \"1.2.0\"" in output)
@@ -192,7 +192,7 @@ def test_207_Platform_Update_Android_ToLatestVersion(self):
192192
Build(platform="android", path="TNS_App")
193193

194194
@unittest.skip("Skiped because of https://github.com/NativeScript/nativescript-cli/issues/784")
195-
def test_208_Platform_Downgrage_Android_FromLatestVersion(self):
195+
def test_208_Platform_Downgrade_Android_FromLatestVersion(self):
196196
CreateProjectAndAddPlatform(projName="TNS_App", platform="android", frameworkPath=androidRuntimePath)
197197

198198
output = runAUT("cat TNS_App/package.json")

tests/platform_osx.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def test_203_Platform_Add_iOS_CustomVersion(self):
129129
if ('TESTRUN' in os.environ) and (not "SMOKE" in os.environ['TESTRUN']):
130130
assert CheckFilesExists('TNS_App/platforms/ios', 'platform_ios_1.0.0.txt')
131131

132+
@unittest.skip("Skip until fixed: https://github.com/NativeScript/nativescript-cli/issues/772")
132133
def test_204_Platform_Update_iOS(self):
133134
CreateProject(projName="TNS_App")
134135
output = PlatformAdd(platform="[email protected]", path="TNS_App")
@@ -157,7 +158,8 @@ def test_204_Platform_Update_iOS(self):
157158
assert CheckFilesExists('TNS_App/platforms/ios', 'platform_ios_1.2.0.txt')
158159
Build(platform="ios", path="TNS_App")
159160

160-
def test_206_Platform_Update_iOS_ToOlderVersion(self):
161+
@unittest.skip("Skip due to build failure. Probably related: https://github.com/NativeScript/nativescript-cli/issues/785")
162+
def test_206_Platform_Downgrade_iOS_ToOlderVersion(self):
161163
CreateProjectAndAddPlatform(projName="TNS_App", platform="[email protected]")
162164
output = runAUT("cat TNS_App/package.json")
163165
assert ("\"version\": \"1.2.0\"" in output)
@@ -178,7 +180,7 @@ def test_206_Platform_Update_iOS_ToOlderVersion(self):
178180
assert ("\"version\": \"1.1.0\"" in output)
179181
Build(platform="ios", path="TNS_App")
180182

181-
@unittest.skip("Execute when platform update command starts respecting --frameworkPath.")
183+
@unittest.skip("Execute when platform update command starts respecting --frameworkPath: https://github.com/NativeScript/nativescript-cli/issues/743")
182184
def test_207_Platform_Update_iOS_ToLatestVersion(self):
183185
CreateProjectAndAddPlatform(projName="TNS_App", platform="[email protected]")
184186
output = runAUT("cat TNS_App/package.json")
@@ -192,7 +194,8 @@ def test_207_Platform_Update_iOS_ToLatestVersion(self):
192194
assert ("Successfully updated to version 1.2.0" in output)
193195
Build(platform="ios", path="TNS_App")
194196

195-
def test_208_Platform_Update_iOS_FromLatestVersion(self):
197+
@unittest.skip("Skip until fixed: https://github.com/NativeScript/nativescript-cli/issues/772")
198+
def test_208_Platform_Downgrade_iOS_FromLatestVersion(self):
196199
CreateProjectAndAddPlatform(projName="TNS_App", platform="ios", frameworkPath=iosRuntimePath)
197200

198201
output = runAUT("cat TNS_App/package.json")

0 commit comments

Comments
 (0)