Skip to content

Add NativeAuth UI automation test infrastructure, Fixes AB#3606613#437

Closed
spetrescu84 wants to merge 2 commits into
masterfrom
spetrescu/add-native-auth-sample-app-tests
Closed

Add NativeAuth UI automation test infrastructure, Fixes AB#3606613#437
spetrescu84 wants to merge 2 commits into
masterfrom
spetrescu/add-native-auth-sample-app-tests

Conversation

@spetrescu84
Copy link
Copy Markdown

@spetrescu84 spetrescu84 commented May 27, 2026

Summary

Adds pipeline infrastructure to build and deploy the NativeAuth Sample App for UI automation testing.

Changes:

  • azure-pipelines/templates/buildTestApps/build-test-apps.yml: Added build-nativeauth-sample-app.yml template call to build the NativeAuth Sample App APK
  • azure-pipelines/templates/runTests/run-firebase-tests.yml: Added NativeAuthSampleApp.apk to default otherFiles so it gets pushed to Firebase Test Lab devices
  • azure-pipelines/ui-automation/templates/build-nativeauth-sample-app.yml: New pipeline template that builds the NativeAuth Sample App and publishes the APK artifact
  • azure-pipelines/ui-automation/templates/build-msal-automation-app.yml: Added devex-ciam-test variable group and passes NATIVE_AUTH_CONFIG_STRING to Gradle builds

How it works:

  1. The devex-ciam-test variable group provides NATIVE_AUTH_CONFIG_STRING (tenant config)
  2. build-nativeauth-sample-app.yml builds the NativeAuth Sample App APK
  3. run-firebase-tests.yml pushes it to /sdcard/NativeAuthSampleApp.apk on Firebase devices
  4. CopyFileRule copies it to /data/local/tmp/ at test runtime
  5. Tests under testpass.msalonly.nativeauth package are already included via msalTestTarget

Related PRs:

  • MSAL: spetrescu/custom_headers branch (test classes + AbstractCrossAppUiTest)
  • Common: spetrescu/custom_headers branch (NativeAuthSampleApp.java + CopyFileRule)
  • NativeAuth Sample: custom_headers_updated branch (runtime config injection)

AB#3606613

@spetrescu84 spetrescu84 requested a review from a team as a code owner May 27, 2026 20:47
@github-actions
Copy link
Copy Markdown

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

@spetrescu84 spetrescu84 changed the title Add NativeAuth UI automation test infrastructure Add NativeAuth UI automation test infrastructure, Fixes AB#3606613 May 27, 2026
@spetrescu84
Copy link
Copy Markdown
Author

Closed as this is no longer required

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.

1 participant