Skip to content

[YML] Removed duplicate deviceType code. - #37389

Merged
kubaflo merged 1 commit into
dotnet:mainfrom
Ahamed-Ali:fixskindevicetypeyml
Aug 13, 2026
Merged

kubaflo merged 1 commit into
dotnet:mainfrom
Ahamed-Ali:fixskindevicetypeyml

Conversation

@Ahamed-Ali

Copy link
Copy Markdown
Contributor

Description of Change

This pull request makes a minor update to the UI test pipeline configuration

  • Pipeline configuration simplification:
    • Removed the duplicate code that set the $deviceType variable and appended the --skin argument to the test command in eng/pipelines/common/ui-tests-steps.yml.

The same code was already added at line 133 as part of PR #33409.

The duplicate code was also added at line 156 as part of PR #31631.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 37389

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 37389"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@Ahamed-Ali Ahamed-Ali added area-testing Unit tests, device tests community ✨ Community Contribution labels Aug 13, 2026
@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Aug 13, 2026
@sheiksyedm
sheiksyedm marked this pull request as ready for review August 13, 2026 13:12
Copilot AI lite review requested due to automatic review settings August 13, 2026 13:12
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the UI test pipeline script in .NET MAUI by removing a duplicated block that set the deviceType variable and appended the Android emulator skin argument (--skin) to the test command, ensuring the argument is applied only once.

Changes:

  • Removed the second/duplicate $deviceType handling block that appended --skin.
  • Kept a single, centralized device-skin append block earlier in the command construction.

@kubaflo
kubaflo merged commit 5d86a00 into dotnet:main Aug 13, 2026
38 checks passed
@github-actions github-actions Bot added this to the .NET 10 SR11 milestone Aug 13, 2026
Ahamed-Ali added a commit to Ahamed-Ali/maui that referenced this pull request Aug 14, 2026
### Description of Change
This pull request makes a minor update to the UI test pipeline
configuration

- Pipeline configuration simplification:
* Removed the **duplicate** code that set the `$deviceType` variable and
appended the `--skin` argument to the test command in
`eng/pipelines/common/ui-tests-steps.yml`.


The same code was already added at [line
133](https://github.com/dotnet/maui/blob/main/eng/pipelines/common/ui-tests-steps.yml#L133)
as part of [PR dotnet#33409](dotnet#33409).

The duplicate code was also added at [line
156](https://github.com/dotnet/maui/blob/main/eng/pipelines/common/ui-tests-steps.yml#L156)
as part of [PR dotnet#31631](dotnet#31631).
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 14, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — c3e1707e Deployed Aug 13, 2026 by Ahamed-Ali via conclusion #1271
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants