Skip to content

Commit 4b7c9b4

Browse files
sebalandharsh62
authored andcommitted
fix: Fixing Push Notification tests. Also reverting some scheme changes.
1 parent 260bd8e commit 4b7c9b4

File tree

6 files changed

+11
-105
lines changed

6 files changed

+11
-105
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/AWSAPIPlugin.xcscheme

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
ReferencedContainer = "container:">
5050
</BuildableReference>
5151
<SkippedTests>
52-
<Test
53-
Identifier = "AWSRESTOperationTests/testGetReturnsOperation()">
54-
</Test>
5552
<Test
5653
Identifier = "AWSRESTOperationTests/testRESTOperationConstructURLFailure()">
5754
</Test>

.swiftpm/xcode/xcshareddata/xcschemes/Amplify-Package.xcscheme

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -622,9 +622,6 @@
622622
ReferencedContainer = "container:">
623623
</BuildableReference>
624624
<SkippedTests>
625-
<Test
626-
Identifier = "ModelCompareTests/testTodosAreEqualWithSameEmbeddedableCollection()">
627-
</Test>
628625
<Test
629626
Identifier = "MutationEventExtensionsTest">
630627
</Test>
@@ -669,11 +666,6 @@
669666
BlueprintName = "AmplifyTests"
670667
ReferencedContainer = "container:">
671668
</BuildableReference>
672-
<SkippedTests>
673-
<Test
674-
Identifier = "ModelCodableTests/testToJSON()">
675-
</Test>
676-
</SkippedTests>
677669
</TestableReference>
678670
<TestableReference
679671
skipped = "NO">

.swiftpm/xcode/xcshareddata/xcschemes/Amplify.xcscheme

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@
6767
<Test
6868
Identifier = "DataStoreCategoryConfigurationTests/testPreconditionFailureInvokingWithMultiplePlugins()">
6969
</Test>
70-
<Test
71-
Identifier = "ModelCodableTests/testToJSON()">
72-
</Test>
7370
<Test
7471
Identifier = "StorageCategoryConfigurationTests">
7572
</Test>

AmplifyPlugins/API/Tests/APIHostApp/APIHostApp.xcodeproj/xcshareddata/xcschemes/APIHostApp.xcscheme

Lines changed: 8 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -29,97 +29,23 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
<TestableReference
32-
skipped = "NO">
33-
<BuildableReference
34-
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "21EA887228F9BC600000BA75"
36-
BuildableName = "AWSAPIPluginLazyLoadTests.xctest"
37-
BlueprintName = "AWSAPIPluginLazyLoadTests"
38-
ReferencedContainer = "container:APIHostApp.xcodeproj">
39-
</BuildableReference>
40-
<SkippedTests>
41-
<Test
42-
Identifier = "GraphQLLazyLoadCompositePKTests/testIncludesAllChildren()">
43-
</Test>
44-
</SkippedTests>
45-
</TestableReference>
46-
<TestableReference
47-
skipped = "NO">
48-
<BuildableReference
49-
BuildableIdentifier = "primary"
50-
BlueprintIdentifier = "21698A7A28899804004BD994"
51-
BuildableName = "AWSAPIPluginFunctionalTests.xctest"
52-
BlueprintName = "AWSAPIPluginFunctionalTests"
53-
ReferencedContainer = "container:APIHostApp.xcodeproj">
54-
</BuildableReference>
55-
<SkippedTests>
56-
<Test
57-
Identifier = "GraphQLConnectionScenario1Tests/testListProjectsByTeamID()">
58-
</Test>
59-
</SkippedTests>
60-
</TestableReference>
61-
<TestableReference
62-
skipped = "YES">
63-
<BuildableReference
64-
BuildableIdentifier = "primary"
65-
BlueprintIdentifier = "21698A9428899818004BD994"
66-
BuildableName = "AWSAPIPluginGraphQLAuthDirectiveTests.xctest"
67-
BlueprintName = "AWSAPIPluginGraphQLAuthDirectiveTests"
68-
ReferencedContainer = "container:APIHostApp.xcodeproj">
69-
</BuildableReference>
70-
</TestableReference>
71-
<TestableReference
72-
skipped = "YES">
73-
<BuildableReference
74-
BuildableIdentifier = "primary"
75-
BlueprintIdentifier = "39E0F13C289DD57D00939D9F"
76-
BuildableName = "AWSAPIPluginGraphQLIAMTests.xctest"
77-
BlueprintName = "AWSAPIPluginGraphQLIAMTests"
78-
ReferencedContainer = "container:APIHostApp.xcodeproj">
79-
</BuildableReference>
80-
</TestableReference>
81-
<TestableReference
82-
skipped = "NO">
83-
<BuildableReference
84-
BuildableIdentifier = "primary"
85-
BlueprintIdentifier = "213DBC7428A6C47000B30280"
86-
BuildableName = "AWSAPIPluginGraphQLLambdaAuthTests.xctest"
87-
BlueprintName = "AWSAPIPluginGraphQLLambdaAuthTests"
88-
ReferencedContainer = "container:APIHostApp.xcodeproj">
89-
</BuildableReference>
90-
</TestableReference>
91-
<TestableReference
92-
skipped = "NO">
32+
skipped = "NO"
33+
parallelizable = "YES">
9334
<BuildableReference
9435
BuildableIdentifier = "primary"
95-
BlueprintIdentifier = "39E0F2A028A43FB100939D9F"
96-
BuildableName = "AWSAPIPluginGraphQLUserPoolTests.xctest"
97-
BlueprintName = "AWSAPIPluginGraphQLUserPoolTests"
36+
BlueprintIdentifier = "97914BC229558714002000EA"
37+
BuildableName = "APIStressTests.xctest"
38+
BlueprintName = "APIStressTests"
9839
ReferencedContainer = "container:APIHostApp.xcodeproj">
9940
</BuildableReference>
100-
<SkippedTests>
101-
<Test
102-
Identifier = "GraphQLWithUserPoolIntegrationTests">
103-
</Test>
104-
</SkippedTests>
10541
</TestableReference>
10642
<TestableReference
10743
skipped = "NO">
10844
<BuildableReference
10945
BuildableIdentifier = "primary"
110-
BlueprintIdentifier = "395906AB28AC4A16004B96B1"
111-
BuildableName = "AWSAPIPluginRESTIAMTests.xctest"
112-
BlueprintName = "AWSAPIPluginRESTIAMTests"
113-
ReferencedContainer = "container:APIHostApp.xcodeproj">
114-
</BuildableReference>
115-
</TestableReference>
116-
<TestableReference
117-
skipped = "YES">
118-
<BuildableReference
119-
BuildableIdentifier = "primary"
120-
BlueprintIdentifier = "395906BF28AC63A9004B96B1"
121-
BuildableName = "AWSAPIPluginRESTUserPoolTests.xctest"
122-
BlueprintName = "AWSAPIPluginRESTUserPoolTests"
46+
BlueprintIdentifier = "21EA887228F9BC600000BA75"
47+
BuildableName = "AWSAPIPluginLazyLoadTests.xctest"
48+
BlueprintName = "AWSAPIPluginLazyLoadTests"
12349
ReferencedContainer = "container:APIHostApp.xcodeproj">
12450
</BuildableReference>
12551
</TestableReference>

AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AnalyticsHostApp.xcodeproj/xcshareddata/xcschemes/AnalyticsHostApp.xcscheme

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,13 @@
3737
BlueprintName = "AWSPinpointAnalyticsPluginIntegrationTests"
3838
ReferencedContainer = "container:AnalyticsHostApp.xcodeproj">
3939
</BuildableReference>
40-
<SkippedTests>
41-
<Test
42-
Identifier = "AWSPinpointAnalyticsPluginIntergrationTests/testGetEscapeHatch()">
43-
</Test>
44-
</SkippedTests>
4540
</TestableReference>
4641
<TestableReference
47-
skipped = "NO">
42+
skipped = "NO"
43+
parallelizable = "YES">
4844
<BuildableReference
4945
BuildableIdentifier = "primary"
50-
BlueprintIdentifier = "97914D2029564227002000EA"
46+
BlueprintIdentifier = "97914D16295641D3002000EA"
5147
BuildableName = "AnalyticsStressTests.xctest"
5248
BlueprintName = "AnalyticsStressTests"
5349
ReferencedContainer = "container:AnalyticsHostApp.xcodeproj">

AmplifyPlugins/Notifications/Push/Tests/PushNotificationHostApp/PushNotificationHostAppUITests/PushNotificationHostAppUITests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ final class PushNotificationHostAppUITests: XCTestCase {
154154
XCTFail("Failed to receive open_notification event from hub")
155155
}
156156
}
157-
#endif
158157

159-
#if !os(visionOS)
160158
@MainActor
161159
func testAppInBackground_withBasicAppleRemoteNotification_notRecordNotificationOpened() async throws {
162160
initAmplify()

0 commit comments

Comments
 (0)