Skip to content

Commit

Permalink
fix: Fixing Push Notification tests. Also reverting some scheme changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaland committed May 1, 2024
1 parent 3991628 commit 7806a4f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 105 deletions.
3 changes: 0 additions & 3 deletions .swiftpm/xcode/xcshareddata/xcschemes/AWSAPIPlugin.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "AWSRESTOperationTests/testGetReturnsOperation()">
</Test>
<Test
Identifier = "AWSRESTOperationTests/testRESTOperationConstructURLFailure()">
</Test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,6 @@
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "ModelCompareTests/testTodosAreEqualWithSameEmbeddedableCollection()">
</Test>
<Test
Identifier = "MutationEventExtensionsTest">
</Test>
Expand Down Expand Up @@ -655,11 +652,6 @@
BlueprintName = "AmplifyTests"
ReferencedContainer = "container:">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "ModelCodableTests/testToJSON()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
Expand Down
3 changes: 0 additions & 3 deletions .swiftpm/xcode/xcshareddata/xcschemes/Amplify.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@
<Test
Identifier = "DataStoreCategoryConfigurationTests/testPreconditionFailureInvokingWithMultiplePlugins()">
</Test>
<Test
Identifier = "ModelCodableTests/testToJSON()">
</Test>
<Test
Identifier = "StorageCategoryConfigurationTests">
</Test>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,97 +29,23 @@
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "21EA887228F9BC600000BA75"
BuildableName = "AWSAPIPluginLazyLoadTests.xctest"
BlueprintName = "AWSAPIPluginLazyLoadTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "GraphQLLazyLoadCompositePKTests/testIncludesAllChildren()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "21698A7A28899804004BD994"
BuildableName = "AWSAPIPluginFunctionalTests.xctest"
BlueprintName = "AWSAPIPluginFunctionalTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "GraphQLConnectionScenario1Tests/testListProjectsByTeamID()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "21698A9428899818004BD994"
BuildableName = "AWSAPIPluginGraphQLAuthDirectiveTests.xctest"
BlueprintName = "AWSAPIPluginGraphQLAuthDirectiveTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "39E0F13C289DD57D00939D9F"
BuildableName = "AWSAPIPluginGraphQLIAMTests.xctest"
BlueprintName = "AWSAPIPluginGraphQLIAMTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "213DBC7428A6C47000B30280"
BuildableName = "AWSAPIPluginGraphQLLambdaAuthTests.xctest"
BlueprintName = "AWSAPIPluginGraphQLLambdaAuthTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "39E0F2A028A43FB100939D9F"
BuildableName = "AWSAPIPluginGraphQLUserPoolTests.xctest"
BlueprintName = "AWSAPIPluginGraphQLUserPoolTests"
BlueprintIdentifier = "97914BC229558714002000EA"
BuildableName = "APIStressTests.xctest"
BlueprintName = "APIStressTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "GraphQLWithUserPoolIntegrationTests">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "395906AB28AC4A16004B96B1"
BuildableName = "AWSAPIPluginRESTIAMTests.xctest"
BlueprintName = "AWSAPIPluginRESTIAMTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "395906BF28AC63A9004B96B1"
BuildableName = "AWSAPIPluginRESTUserPoolTests.xctest"
BlueprintName = "AWSAPIPluginRESTUserPoolTests"
BlueprintIdentifier = "21EA887228F9BC600000BA75"
BuildableName = "AWSAPIPluginLazyLoadTests.xctest"
BlueprintName = "AWSAPIPluginLazyLoadTests"
ReferencedContainer = "container:APIHostApp.xcodeproj">
</BuildableReference>
</TestableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,13 @@
BlueprintName = "AWSPinpointAnalyticsPluginIntegrationTests"
ReferencedContainer = "container:AnalyticsHostApp.xcodeproj">
</BuildableReference>
<SkippedTests>
<Test
Identifier = "AWSPinpointAnalyticsPluginIntergrationTests/testGetEscapeHatch()">
</Test>
</SkippedTests>
</TestableReference>
<TestableReference
skipped = "NO">
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97914D2029564227002000EA"
BlueprintIdentifier = "97914D16295641D3002000EA"
BuildableName = "AnalyticsStressTests.xctest"
BlueprintName = "AnalyticsStressTests"
ReferencedContainer = "container:AnalyticsHostApp.xcodeproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ final class PushNotificationHostAppUITests: XCTestCase {
XCTFail("Failed to receive open_notification event from hub")
}
}
#endif

#if !os(visionOS)
@MainActor
func testAppInBackground_withBasicAppleRemoteNotification_notRecordNotificationOpened() async throws {
initAmplify()
Expand Down

0 comments on commit 7806a4f

Please sign in to comment.