Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIA-2621 add usnat to /meta-data #508

Merged

Conversation

andresilveirah
Copy link
Member

  • Implement new campaign type USNatCampaign
  • Implement new consent type SPUSNatConsent
  • Expand SPUserData to contain SPUSNatConsent
  • Expand /meta-data request/response to contain usnat
    • handle /meta-data when calling response .loadMessages
  • Add tests for SPCoordinator regarding USNat /meta-data

Since usnat is only available on stage and many tests rely on ids present only on prod, several tests were skipped. Only the ones related to the feature will run. We'll revert that back when usnat is in preprod and we're close to merge to develop.

@@ -503,5 +503,33 @@ class SPClientCoordinatorSpec: QuickSpec {
}
}
}

// TODO: remove fdescribe
fdescribe("a property with USNat campaign") {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI f in fdescribe might be a typo, pls double check

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, remove the comment pls

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I placed this comments on purpose, because unfortunately we have to skip a lot of tests in order to run them while pointing the SDK to stage. The SDK rely on ids that are only available in prod. Those TODOs will remind us to bring the tests back before merging to develop.

@andresilveirah andresilveirah force-pushed the DIA-2030_add_support_to_usnat branch from 17c2f66 to 84ccb68 Compare November 3, 2023 11:55
@andresilveirah andresilveirah force-pushed the DIA_2621_add_usnat_to_metadata branch from 6395cb1 to 8bb63cb Compare November 3, 2023 12:04
@andresilveirah andresilveirah merged commit e480e7b into DIA-2030_add_support_to_usnat Nov 3, 2023
@andresilveirah andresilveirah deleted the DIA_2621_add_usnat_to_metadata branch November 3, 2023 14:36
@andresilveirah andresilveirah mentioned this pull request Nov 3, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants