feat: Add Push Primer feature using Custom Json (RMCCX-6702) #379
Xcode test results
Testing workspace RInAppMessaging with scheme RInAppMessaging-Example
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
996 | 952 | 44 | 0 | 0 | 2.38s |
Test Summary
Tests
- Device: iPhone 11, 16.2 (20C52)
- SDK: Simulator - iOS 16.2, 16.2
Failures
Tests/CampaignsValidatorSpec/CampaignsValidator__will_accept_outdated_test_campaign()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:34 |
Issue Type | Assertion Failure |
Message | expected to contain , got <[]> |
Tests/CampaignsValidatorSpec/CampaignsValidator__will_accept_non_test_campaigns_with_matching_criteria()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:54 |
Issue Type | Assertion Failure |
Message | expected to elementsEqual <[Element(campaign: RInAppMessaging.Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "login", attributes: [])]), isTest: false, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false), events: Set([]))]>, got <[]> |
Tests/CampaignsValidatorSpec/CampaignsValidator__will_accept_test_campaigns_with_matching_criteria()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:63 |
Issue Type | Assertion Failure |
Message | expected to elementsEqual <[Element(campaign: RInAppMessaging.Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "login", attributes: [])]), isTest: true, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false), events: Set([]))]>, got <[]> |
Tests/CampaignsValidatorSpec/CampaignsValidator__when_evaluating_triggers__will_accept_campaign_when_triggers_are_satifsied()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:116 |
Issue Type | Assertion Failure |
Message | expected to contain , got <[]> |
Tests/CampaignsValidatorSpec/CampaignsValidator__when_evaluating_triggers__will_accept_test_campaign_when_triggers_are_satifsied()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:138 |
Issue Type | Assertion Failure |
Message | expected to contain , got <[]> |
Tests/CampaignsValidatorSpec/CampaignsValidator__when_evaluating_triggers__when_tooltip_campaign_has_all_triggers_satisfied__will_accept_tooltip_campaign_with_matching_ViewAppeared_event()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CampaignsValidatorSpec.swift:223 |
Issue Type | Assertion Failure |
Message | expected to contain , got <[]> |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_STRING_type_and_equals_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:65 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_STRING_type_and_isNotEqual_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:91 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_an_INTEGER_type_and_equals_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:117 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_an_INTEGER_type_and_isNotEqual_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:143 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_an_INTEGER_type_and_greaterThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:169 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_an_INTEGER_type_and_lessThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:195 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_DOUBLE_type_and_equals_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:221 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_DOUBLE_type_and_isNotEqual_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:247 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_DOUBLE_type_and_greaterThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:273 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_DOUBLE_type_and_lessThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:299 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_BOOL_type_and_equals_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:325 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_BOOL_type_and_isNotEqual_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:351 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_time_int__type_and_equals_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:377 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_time_int__type_and_isNotEqual_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:403 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_time_int__type_and_greaterThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:429 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_using_an_custom_event_with_a_time_int__type_and_lessThan_operator()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:455 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_even_with_a_case_insensitive_event_name()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:470 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_even_with_a_case_insensitive_attribute_name()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:486 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/CustomEventValidationSpec/CampaignsValidator__should_accept_a_campaign_that_is_matched_even_with_a_case_insensitive_attribute_value()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/CustomEventValidationSpec.swift:502 |
Issue Type | Assertion Failure |
Message | expected to have Array with count 1, got 0 Actual Value: [] |
Tests/PublicAPISpec/RInAppMessaging__will_display_campaign_2_times_for_matching__buffered__events()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:275 |
Issue Type | Assertion Failure |
Message | expected to eventually find object in collection that satisfies predicate |
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:282 |
Issue Type | Assertion Failure |
Message | expected to eventually find object in collection that satisfies predicate |
Tests/PublicAPISpec/RInAppMessaging__will_not_count_an_impression_if_message_wasn_t_closed()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:297 |
Issue Type | Assertion Failure |
Message | expected to eventually find object in collection that satisfies predicate |
Tests/PublicAPISpec/RInAppMessaging__when_calling_closeMessage__will_remove_displayed_campaign_s_view_from_hierarchy()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:486 |
Issue Type | Assertion Failure |
Message | expected to eventually not be nil, got |
Tests/PublicAPISpec/RInAppMessaging__when_calling_closeMessage__will_not_decrement_impressionsLeft_in_closed_campaign()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:494 |
Issue Type | Assertion Failure |
Message | expected to eventually not be nil, got |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_call_the_method_just_before_showing_a_message()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:512 |
Issue Type | Assertion Failure |
Message | expected to eventually equal <1>, got <0> |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_show_a_message_if_the_method_returned_true()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:519 |
Issue Type | Assertion Failure |
Message | expected to eventually not be nil, got |
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:521 |
Issue Type | Assertion Failure |
Message | expected to eventually equal <2>, got <0> |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_not_show_a_message_if_the_method_returned_false()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:529 |
Issue Type | Assertion Failure |
Message | expected to equal <2>, got <0> |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_show_a_tooltip_if_the_method_returned_true()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:536 |
Issue Type | Assertion Failure |
Message | expected to eventually not be nil, got |
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:537 |
Issue Type | Assertion Failure |
Message | expected to be greater than <0>, got <0> |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_not_show_a_tooltip_if_the_method_returned_false()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:546 |
Issue Type | Assertion Failure |
Message | expected to be greater than <0>, got <0> |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_not_pass__Tooltip__in_the_context_array()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:553 |
Issue Type | Assertion Failure |
Message | expected to eventually be greater than <0>, got <0> |
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:554 |
Issue Type | Assertion Failure |
Message | expected to not contain , got (use beNil() to match nils) |
Tests/PublicAPISpec/RInAppMessaging__onVerifyContext__will_call_the_method_before_showing_a_tooltip_with_expected_parameters()
File | /Users/runner/work/ios-inappmessaging/ios-inappmessaging/Tests/Tests/PublicAPISpec.swift:574 |
Issue Type | Assertion Failure |
Message | expected to eventually equal <[Tooltip][ctx1][ctx2] title>, got (use beNil() to match nils) |
Fi |
Details
Test Details
Tests
AccountRepositorySpec
⏱️ | ||||
---|---|---|---|---|
29 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
BackoffSpec
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
Backoff__should_increase_the_retry_delay()
| |
Backoff__should_increase_the_retry_delay_with_a_randomized_value()
|
BundleSpec
⏱️ | ||||
---|---|---|---|---|
9 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
CampaignRepositorySpec
⏱️ | ||||
---|---|---|---|---|
48 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
CampaignTriggerAgentSpec
⏱️ | ||||
---|---|---|---|---|
10 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
CampaignsListManagerSpec
⏱️ | ||||
---|---|---|---|---|
20 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
CampaignsValidatorSpec
⏱️ | ||||
---|---|---|---|---|
9 (60%) | 6 (40%) | 0 (0%) | 0 (0%) | 0.00s |
CampaignsValidator__will_accept_outdated_test_campaign()
| |
CampaignsValidator__will_not_accept_test_campaign_with_impressionLeft___1()
| |
CampaignsValidator__will_accept_non_test_campaigns_with_matching_criteria()
| |
CampaignsValidator__will_accept_test_campaigns_with_matching_criteria()
| |
CampaignsValidator__won_t_accept_campaigns_with_no_impressions_left()
| |
CampaignsValidator__won_t_accept_outdated_campaigns()
| |
CampaignsValidator__won_t_accept_opted_out_campaigns()
| |
CampaignsValidator__when_evaluating_triggers__will_accept_campaign_when_triggers_are_satifsied()
| |
CampaignsValidator__when_evaluating_triggers__will_accept_test_campaign_when_triggers_are_satifsied()
| |
Annotations
Check failure on line 34 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to contain <Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 1, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "login", attributes: [])]), isTest: true, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 0, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 1, isOptedOut: false)>, got <[]>
Check failure on line 54 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to elementsEqual <[Element(campaign: RInAppMessaging.Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "login", attributes: [])]), isTest: false, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false), events: Set([<RInAppMessaging.LoginSuccessfulEvent: 0x600002ac0600>]))]>, got <[]>
Check failure on line 63 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to elementsEqual <[Element(campaign: RInAppMessaging.Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "login", attributes: [])]), isTest: true, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false), events: Set([<RInAppMessaging.LoginSuccessfulEvent: 0x600002ab1b00>]))]>, got <[]>
Check failure on line 116 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to contain <Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "testevent", attributes: []), RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.appStart, eventName: "testevent2", attributes: [])]), isTest: false, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false)>, got <[]>
Check failure on line 138 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to contain <Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "testevent", attributes: []), RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.appStart, eventName: "testevent2", attributes: [])]), isTest: true, infiniteImpressions: false, hasNoEndDate: false, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "testTitle", messageBody: Optional("testBody"), header: Optional("testHeader"), titleColor: "#000000", headerColor: "#444444", messageBodyColor: "#FAFAFA", backgroundColor: "#FAFAFA", frameColor: "#FF2222", resource: RInAppMessaging.Resource(imageUrl: nil, cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: nil, impressionsLeft: 2, isOptedOut: false)>, got <[]>
Check failure on line 223 in Tests/Tests/CampaignsValidatorSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to contain <Campaign(data: RInAppMessaging.CampaignData(campaignId: "test", maxImpressions: 2, type: RInAppMessaging.CampaignDisplayType.modal, triggers: Optional([RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.loginSuccessful, eventName: "testevent", attributes: []), RInAppMessaging.Trigger(type: RInAppMessaging.CampaignTriggerType.event, eventType: RInAppMessaging.EventType.appStart, eventName: "testevent2", attributes: [])]), isTest: false, infiniteImpressions: false, hasNoEndDate: true, isCampaignDismissable: true, messagePayload: RInAppMessaging.MessagePayload(title: "[Tooltip] title", messageBody: Optional("{\"UIElement\" : \"view.id\", \"position\": \"top-center\", \"auto-disappear\": 0, \"redirectURL\": \"\"}"), header: Optional("testHeader"), titleColor: "color", headerColor: "color2", messageBodyColor: "color3", backgroundColor: "#ffffff", frameColor: "color5", resource: RInAppMessaging.Resource(imageUrl: Optional("file:///Users/runner/Library/Developer/CoreSimulator/Devices/F44E8083-0C48-4028-844A-F1D5597250CF/data/Containers/Bundle/Application/FEC546DD-D161-4062-B809-C48BEB3AA785/RInAppMessaging_Example.app/PlugIns/Tests.xctest/test-image.png"), cropType: RInAppMessaging.CampaignCropType.fill), messageSettings: RInAppMessaging.MessageSettings(displaySettings: RInAppMessaging.DisplaySettings(orientation: RInAppMessaging.CampaignOrientation.portrait, slideFrom: Optional(RInAppMessaging.SlideDirection.bottom), endTimeMilliseconds: 9223372036854775807, textAlign: RInAppMessaging.CampaignTextAlignType.fill, optOut: false, html: false, delay: 0), controlSettings: RInAppMessaging.ControlSettings(buttons: [], content: nil))), customJson: nil), tooltipData: Optional(RInAppMessaging.TooltipData(bodyData: RInAppMessaging.TooltipBodyData(uiElementIdentifier: "view.id", position: RInAppMessaging.TooltipBodyData.Position.topCenter, redirectURL: Optional(""), autoCloseSeconds: Optional(0)), backgroundColor: "#ffffff", imageUrl: "file:///Users/runner/Library/Developer/CoreSimulator/Devices/F44E8083-0C48-4028-844A-F1D5597250CF/data/Containers/Bundle/Application/FEC546DD-D161-4062-B809-C48BEB3AA785/RInAppMessaging_Example.app/PlugIns/Tests.xctest/test-image.png")), impressionsLeft: 2, isOptedOut: false)>, got <[]>
Check failure on line 65 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 91 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 117 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 143 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 169 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 195 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 221 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 247 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 273 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 299 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 325 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 351 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 377 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 403 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 429 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 455 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 470 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 486 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []
Check failure on line 502 in Tests/Tests/CustomEventValidationSpec.swift
github-actions / Xcode test results
Assertion Failure
expected to have Array<Element> with count 1, got 0
Actual Value: []