BranchMetrics / android-branch-deep-linking-attribution

The Branch Android SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://docs.branch.io/pages/apps/android/
MIT License
395 stars 155 forks source link

SDK 2228 DMA automation tests #1176

Closed NidhiDixit09 closed 1 month ago

NidhiDixit09 commented 3 months ago

Reference

SDK-2228 -- [Automation] DMA Compliance testing automation. https://branch.atlassian.net/browse/SDK-2228

Description

-> Updated Automation Test bed app for testing API setDMAParamsForEEA. -> In Home Screen Added two buttons - One for setting DMA Params and Another for logging event. Both button after calling corresponding Branch APIs open LoggingView Window, which prints logs for the operations performed. They show APIs posted with reuqest and response params. -> Added Scroll Bar in Home Screen.

Testing Instructions

OR

--es "testData", {\"dma_eea\":\"Yes\",\"dma_ad_personalization\":\"Yes\",\"dma_ad_user_data\":\"Yes\",\"Include\":\"Yes\",\"URL\":\"https:\\/\\/timber.test-app.link\\/80OHAnv8DHb\"}"

When this App is lanuched through Appium Automations tests, Appium will pass these paramters as optionalIntentArguments --> ref: SDK-2288-DMA-Compliance-Automation is added in Automation workflow just for testing. It will be removed later on.

Risk Assessment [HIGH || MEDIUM || LOW]

LOW

Reviewer Checklist (To be checked off by the reviewer only)

cc @BranchMetrics/saas-sdk-devs for visibility.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 38.04%. Comparing base (1b6bb47) to head (69cd050).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1176 +/- ## ============================================ - Coverage 38.11% 38.04% -0.07% + Complexity 689 686 -3 ============================================ Files 59 59 Lines 6279 6279 Branches 939 939 ============================================ - Hits 2393 2389 -4 - Misses 3443 3444 +1 - Partials 443 446 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

NidhiDixit09 commented 1 month ago

Test-Automation-Improvements Branch / Pull request has all commits from this pull request.