Repository navigation
[Android][Testing] Add dedicated CI stage for SafeAreaEdges tests on API 36 (Pixel 3 XL) - #31631
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the UI test pipeline by adding support for Android API level 36 and creating targeted testing for SafeAreaEdges functionality. The changes enable more comprehensive test coverage and precise control over test environments for specific features.
- Added Android API 36 to the supported API levels for broader test coverage
- Created a dedicated pipeline stage for SafeAreaEdges tests on Android API 36 with Pixel 7 device configuration
- Added deviceType parameter support to enable specification of Android device skins in test runs
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/pipelines/common/ui-tests.yml | Added API 36 support, SafeAreaEdges test filter, and dedicated SafeAreaEdges test stage |
| eng/pipelines/common/ui-tests-steps.yml | Added deviceType parameter and ANDROID_TEST_SKIN environment variable support |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/rebase |
41d9c5d to
2c068f4
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/rebase |
2c068f4 to
fd3b76a
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
fd3b76a to
22a8ce4
Compare
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 31631Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 31631" |
7f4ef5c to
038f64c
Compare
|
/azp run maui-pr-uitests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
MauiBot
left a comment
There was a problem hiding this comment.
AI Review Summary
@NafeelaNazhir — new AI review results are available based on this last commit:
fb732e8.
addressed copilot suggestion To request a deterministic rerun after new comments or commits, comment/review rerun.
Review Sessions — click to expand
Gate — Test Before & After Fix
Gate Result: ⚠️ SKIPPED
No tests were detected in this PR.
Recommendation: Add tests to verify the fix using the write-tests-agent.
Pre-Flight — Context & Validation
Pre-Flight — PR #31631
PR Context
- Title: [Android][Testing] Add dedicated CI stage for SafeAreaEdges tests on API 36 (Pixel 3 XL)
- Author: @NafeelaNazhir
- State: open
- Base:
main - Head:
safeareaedges_yml - Platform: android
- Gate:
⚠️ SKIPPED — no tests detected in this PR. Gate verification was already handled separately and was not re-run.
Changed Files
eng/pipelines/common/ui-tests-steps.yml(+5/-0)eng/pipelines/common/ui-tests.yml(+39/-3)
Author Narrative
[!NOTE]
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355.
Android test pipeline changes (ui-tests.yml):
- Moved
SafeAreaEdgesout of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new
androidApiLevelsExtended: [36]parameter to target Android API 36 without changing the existingandroidApiLevels: [30]configuration - Created a dedicated stage (
android_ui_tests_safeareaedges) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout)
Device skin support (ui-tests-steps.yml):
- Added deviceType parameter to
ui-tests-steps.ymlto allow specifying an Android emulator device skin - When set, appends
--skin="<deviceType>"to the test runner command, selecting the correct AVD skin at emulator creation time
Note: This PR contains only the YAML pipeline updates and is a continuation of #31355
Fixes #32059
Independent Code Assessment
This change is pipeline-only. It routes SafeAreaEdges Android UI tests away from the standard Android API 30 category batches and into a dedicated Android API 36 emulator job using a Pixel 3 XL skin so display-cutout/notch behavior is exercised. It also adds a deviceType/skin parameter to the shared UI test steps template so the emulator creation command can select a specific Android skin.
File Classification
eng/pipelines/common/ui-tests.yml: Azure DevOps pipeline stage/category routing for UI tests.eng/pipelines/common/ui-tests-steps.yml: shared UI test execution template and Android emulator command construction.
Code Review Summary
- Findings: No definitive functional error found from static inspection. The main risk is CI-template correctness because this PR adds a new optional parameter and a duplicated Android UI test stage without an executable local gate.
- Warnings: The dedicated stage duplicates much of the existing Android stage structure, increasing maintenance risk if future Android UI test parameters diverge. The skin is passed as free-form command text; correctness depends on the downstream test runner accepting
--skin="pixel_3_xl"for the selected API image. - Blast radius: Android UI test pipeline scheduling only. It changes where
SafeAreaEdgesruns and adds--skinonly whendeviceTypeis supplied. - Verdict: NEEDS_DISCUSSION
- Confidence: medium — pipeline rendering and emulator behavior require CI validation.
Phase 2 Hints
Explore alternatives that avoid broad duplication, reduce free-form command construction risk, or make Android special-case routing easier to maintain while still running SafeAreaEdges on API 36 with a Pixel 3 XL/notch-capable emulator.
Code Review — Deep Analysis
Code Review — PR #31631
Independent Assessment
What this changes: Adds Android UI pipeline routing so SafeAreaEdges runs in a dedicated API 36 Pixel 3 XL job and adds a shared template parameter that appends --skin to the Android test runner command.
Inferred motivation: SafeAreaEdges tests need a device/display cutout that the standard Android API 30 emulator configuration does not provide.
Reconciliation with PR Narrative
Author claims: SafeAreaEdges is moved out of the standard Android batch and run on API 36 with Pixel 3 XL; the step template gains device skin support.
Agreement/disagreement: The diff matches the narrative. The PR is a pipeline-only continuation and contains no product/test-code changes.
Findings
⚠️ Warning — Duplicated Android stage structure increases maintenance risk
The new android_ui_tests_safeareaedges stage repeats the existing Android UI test job shape rather than extending the existing category/API matrix. This is likely acceptable for a one-off category, but future changes to Android UI test job variables, artifacts, or template parameters must be kept in sync manually.
⚠️ Warning — Emulator skin validation is deferred to CI
The deviceType value is appended as --skin command text and depends on downstream runner support for pixel_3_xl with android-emulator-64_36. No local gate was detected for this pipeline-only change.
Devil's Advocate
A separate stage may be the clearest and safest operational choice because it avoids changing the existing API 30 matrix for unrelated categories. The command-line append is gated by an empty check, so existing jobs should not receive the new argument.
Verdict: NEEDS_DISCUSSION
Confidence: medium
Summary: The PR appears directionally sound, but CI-only behavior and duplicated stage maintenance make alternative approaches worth exploring.
Fix — Analysis & Comparison
Fix Candidates
| # | Source | Approach | Test Result | Files Changed | Notes |
|---|---|---|---|---|---|
| 1 | code-review + maui-expert-reviewer | Fold SafeAreaEdges into the existing Android Material3 API 36 Pixel 3 XL job and remove the dedicated stage. |
1 file | Smaller YAML, but changes semantics by running SafeAreaEdges only under useMaterial3: true; not demonstrably better than the PR. |
|
| 2 | code-review + maui-expert-reviewer | Keep the dedicated stage but add the existing project.androidApiLevelsExclude guard before creating SafeAreaEdges API 36 jobs. |
✅ PASS (local YAML/static validation) | 1 file | Preserves PR behavior and aligns with existing Android matrix safeguards; candidate selected unless a stronger independent approach appears. |
| PR | PR #31631 | Dedicated SafeAreaEdges stage on Android API 36 Pixel 3 XL, with shared deviceType/--skin support. |
2 files | Original PR; no tests detected by gate. |
Cross-Pollination
| Model | Round | New Ideas? | Details |
|---|---|---|---|
| maui-expert-reviewer | 1 | Yes | Candidate 1 tried stage reuse to reduce duplication; failure lesson: do not couple SafeAreaEdges to Material3 coverage unless explicitly desired. |
| maui-expert-reviewer | 2 | Yes | Candidate 2 preserves dedicated normal coverage and imports the same API exclusion guard used by the other Android matrix stages. |
Exhausted: No
Selected Fix: Candidate #2 — currently best because it preserves the PR's intended SafeAreaEdges coverage while addressing an API-matrix correctness gap.
Report — Final Recommendation
Comparative Report — PR #31631
Candidates
| Rank | Candidate | Result | Assessment |
|---|---|---|---|
| 1 | pr-plus-reviewer |
Pass-equivalent static validation | Best candidate. It keeps the PR's dedicated Android API 36 Pixel 3 XL SafeAreaEdges stage and adds the reviewer-recommended project.androidApiLevelsExclude guard, matching the existing Android API matrix pattern. |
| 2 | try-fix-2 |
PASS | Functionally the same improvement as pr-plus-reviewer: preserve the dedicated SafeAreaEdges stage and add the missing API exclusion guard. Ranked below pr-plus-reviewer only because the requested PR-plus-reviewer candidate is the same fix applied as reviewer feedback to the PR. |
| 3 | pr |
Gate skipped | Directionally correct, but the new dedicated stage does not honor per-project Android API exclusions. This can schedule SafeAreaEdges API 36 jobs for projects that intentionally excluded that API. |
| 4 | try-fix-1 |
PASS, rejected by review | Static checks passed, but it moves SafeAreaEdges into the Material3 API 36 job. That reduces YAML duplication but changes test semantics by coupling SafeAreaEdges coverage to useMaterial3: true, so it is less faithful to the PR's intended normal SafeAreaEdges coverage. |
No candidate had a failed regression result. Per the ranking rule, any candidate with a failed regression would have been ranked below candidates that passed.
Winner
pr-plus-reviewer wins. It is the narrowest behavior-preserving improvement: it keeps the PR's explicit Android API 36 Pixel 3 XL notch coverage while applying the expert reviewer's matrix-consistency fix. The raw PR is acceptable in direction but less robust, and try-fix-1 changes test configuration semantics.
Notes
The gate was skipped because no tests were detected in the PR. Since this is a pipeline-only change, the author should still consider adding or enabling pipeline rendering/static validation where feasible, but the winning code path should be validated by CI execution of the Android SafeAreaEdges stage.
Future Action — review latest findings
No alternative fix was selected for this run. Review the session findings and CI results before merging.
|
/azp run maui-pr-uitests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Test Failure Review
[!] Test Failure Review —
|
| Failure | Verdict | Evidence |
|---|---|---|
maui-pr-uitests / Android Controls SafeAreaEdges (API 36 Pixel 3 XL) |
Likely PR-caused | PR scope is UI-test pipeline YAML (eng/pipelines/common/ui-tests-steps.yml, eng/pipelines/common/ui-tests.yml), and the failed check is the SafeAreaEdges API 36 Pixel 3 XL job added by this PR. Build 1443696 log 4421 produced 10 deduplicated failures in that job, including LayoutShouldBeCorrectOnFirstNavigation and VerifyRapidSafeAreaToggleCycling with Baseline snapshot not yet created: .../snapshots/android-notch-36/LayoutShouldBeCorrectOnFirstNavigation.png, plus SafeAreaEdges timeout/assertion failures such as Expected: less than 2789 and Footer is now visible. |
maui-pr / Build .NET MAUI Build Windows (Release) and Build Analysis |
Insufficient data | The maui-pr check points to build 1300208, but the gathered context reports it as inaccessible with 404 (Not Found). No logs, timeline records, or test failures were available for that build; Build Analysis also failed without additional actionable data in the context. |
maui-pr-uitests / Android Controls (API 30) CollectionView |
Likely unrelated | Build 1443696 log 4524 contains 42 deduplicated CollectionView failures with a shared setup symptom: OneTimeSetUp: System.TimeoutException : Timed out waiting for Go To Test button to appear. This is Android API 30 CollectionView, not the SafeAreaEdges API 36 Pixel 3 XL path; no test files changed, and recent main-branch runs of the same maui-pr-uitests pipeline include multiple failures. |
maui-pr-uitests / Android Controls (API 30) Entry |
Insufficient data | Timeline records show the Entry task/job failed (PowerShell exited with code '1'), but the gathered log extraction did not produce a distinct Entry test failure or decisive log excerpt. |
maui-pr-uitests / iOS and macOS WebView jobs |
Likely unrelated | The WebView failures are outside the SafeAreaEdges API 36 scope: iOS Controls (vlatest) WebView shows Expected: String containing "Hello World", and macOS Controls WebView shows Appium command/timeouts such as An Appium command did not complete within 45s. These failures do not reference changed files, changed tests, or the newly added SafeAreaEdges job. |
maui-pr-uitests / macOS Controls CollectionView cancellation |
Likely unrelated | The macOS CollectionView job was canceled because the agent ran longer than the 180-minute maximum, which is an infrastructure/timeout signature rather than evidence tied to the Android SafeAreaEdges API 36 stage. |
Recommended action
Fix the new SafeAreaEdges API 36 Pixel 3 XL job first, especially the missing android-notch-36 baseline and SafeAreaEdges timeouts/assertions; reacquire data for inaccessible build 1300208 before making any claim about the maui-pr Windows failure.
Evidence details
- Context generated:
2026-06-02T12:12:08.2763050Zfor PR [Android][Testing] Add dedicated CI stage for SafeAreaEdges tests on API 36 (Pixel 3 XL) #31631. - PR metadata: head commit
fb732e8d0eaad8d23d2872dcfec50b8f896ce597; basemain; labels includearea-testing. - Changed files from context:
eng/pipelines/common/ui-tests-steps.yml,eng/pipelines/common/ui-tests.yml; changed test files:0. - Interesting checks included failing
maui-pr, failingmaui-pr-uitests, failing Android SafeAreaEdges API 36 Pixel 3 XL, Android API 30 CollectionView/Entry, iOS/macOS WebView, and canceled macOS CollectionView. maui-pr-uitestsbuild 1443696: definitionmaui-pr-uitests(313), resultfailed / completed, branchrefs/pull/31631/merge, source version580d3cdc866e81ce342b6d66535e5f7159e0c45a.- Deduplicated extracted failures: 67 total; this report groups repeated UI-test fallout by job/failure mode instead of summing raw failed counts.
- PR-scoped SafeAreaEdges job evidence from build 1443696 log 4421:
SafeAreaPerEdgeValidation: timeout plusExpected: less than 2789.VerifyRuntimeSafeAreaEdgesChange/VerifyRotationDuringAnimationPreservesSafeArea: timed out waiting forTestLabeltext to beFooter is now visible.LayoutShouldBeCorrectOnFirstNavigationandVerifyRapidSafeAreaToggleCycling:Baseline snapshot not yet created: /mnt/vss/_work/1/s/artifacts/bin/Controls.TestCases.Android.Tests/Release/net10.0/snapshots/android-notch-36/LayoutShouldBeCorrectOnFirstNavigation.png.
- Other UI-test evidence:
- Android API 30 CollectionView log 4524: repeated
OneTimeSetUp: System.TimeoutException : Timed out waiting for Go To Test button to appear. - macOS WebView log 4546: repeated Appium command/timeouts, including
An Appium command did not complete within 45s. - macOS CollectionView timeline:
The job running on agent Azure Pipelines 143 ran longer than the maximum time of 180 minutes.
- Android API 30 CollectionView log 4524: repeated
- Recent base-branch comparison for
maui-pr-uitests: build 1444191 failed, 1432188 succeeded, 1431731 failed, 1419912 failed, and 1419503 failed onrefs/heads/main. - Limitations:
AZDO_TOKENwas not set, so authenticated AzDO test-run APIs were skipped.maui-prbuild 1300208 was inaccessible (404 Not Found) in the gathered context.
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
…API 36 (Pixel 3 XL) (#31631) >[!NOTE] >Are you waiting for the changes in this PR to be merged? >It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR->Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355. **Android test pipeline changes (`ui-tests.yml`):** - Moved `SafeAreaEdges` out of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch) - Added a new `androidApiLevelsExtended: [36]` parameter to target Android API 36 without changing the existing `androidApiLevels: [30]` configuration - Created a dedicated stage (`android_ui_tests_safeareaedges`) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout) **Device skin support (`ui-tests-steps.yml`):** - Added deviceType parameter to `ui-tests-steps.yml` to allow specifying an Android emulator device skin - When set, appends `--skin="<deviceType>"` to the test runner command, selecting the correct AVD skin at emulator creation time Note: This PR contains only the YAML pipeline updates and is a continuation of [#31355](#31355) Fixes #32059 ---------
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
This pull request sets up a dedicated Android CI stage for SafeAreaEdges UI tests, running on a notch-equipped device (Pixel 3 XL skin, Android API 36). It is a continuation of #31355.
Android test pipeline changes (
ui-tests.yml):SafeAreaEdgesout of the standard Android test filter batch into its own dedicated stage, so it no longer runs alongside other tests on API 30 (which lacks a notch)androidApiLevelsExtended: [36]parameter to target Android API 36 without changing the existingandroidApiLevels: [30]configurationandroid_ui_tests_safeareaedges) that runs SafeAreaEdges tests on Android API 36 using the Pixel 3 XL device skin (which has a notch/display cutout)Device skin support (
ui-tests-steps.yml):ui-tests-steps.ymlto allow specifying an Android emulator device skin--skin="<deviceType>"to the test runner command, selecting the correct AVD skin at emulator creation timeNote: This PR contains only the YAML pipeline updates and is a continuation of #31355
Fixes #32059