Skip to content

[Testing] Fix for flaky UITests CookiesCorrectlyLoadWithMultipleWebViews in CI - #31823

Merged
rmarinho merged 2 commits into
dotnet:mainfrom
TamilarasanSF4853:fix-flaky-Issue12134
Oct 1, 2025
Merged

rmarinho merged 2 commits into
dotnet:mainfrom
TamilarasanSF4853:fix-flaky-Issue12134

Conversation

@TamilarasanSF4853

@TamilarasanSF4853 TamilarasanSF4853 commented Sep 30, 2025 •

Copy link
Copy Markdown
Contributor

This PR addresses the UI test image failures that occurred in the main branch and includes updates to improve rendering and test stability across platforms.

  • In the CookiesCorrectlyLoadWithMultipleWebViews test case, I changed the WebView source to match the cookies.

Test cases:

  • CookiesCorrectlyLoadWithMultipleWebViews

@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label Sep 30, 2025
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @@TamilarasanSF4853! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service Bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Sep 30, 2025
@jsuarezruiz

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho

Copy link
Copy Markdown
Member

/azp run MAUI-UITests-public

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@sheiksyedm sheiksyedm added the area-testing Unit tests, device tests label Oct 1, 2025
@TamilarasanSF4853
TamilarasanSF4853 marked this pull request as ready for review October 1, 2025 05:55
Copilot AI review requested due to automatic review settings October 1, 2025 05:55

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 fixes a flaky UI test by correcting the WebView source URL to ensure cookie consistency across multiple WebView instances in the CookiesCorrectlyLoadWithMultipleWebViews test case.

  • Updates the WebView source URL from a Xamarin-specific path to the root domain to match cookie behavior

@rmarinho
rmarinho merged commit 10b65f8 into dotnet:main Oct 1, 2025
@rmarinho

rmarinho commented Oct 1, 2025

Copy link
Copy Markdown
Member

/backport to release/10.0.1xx-rc2

@github-actions

github-actions Bot commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

Started backporting to release/10.0.1xx-rc2: https://github.com/dotnet/maui/actions/runs/18157396227

rmarinho added a commit that referenced this pull request Oct 18, 2025
* [Testing] Fix for flaky UITests CookiesCorrectlyLoadWithMultipleWebViews in CI (#31823)

This PR addresses the UI test image failures that occurred in the main
branch and includes updates to improve rendering and test stability
across platforms.

- In the CookiesCorrectlyLoadWithMultipleWebViews test case, I changed
the WebView source to match the cookies.

### Test cases:

- CookiesCorrectlyLoadWithMultipleWebViews

* [iOS] Fix added for Navigation.SetTitleView does not work in ios 26. (#31831)

* [iOS] Fix added for Navigation.SetTitleView does not work in ios 26.

* changes added.

* changed the version condition.

* [testing] Update androidApiLevels for device tests (#31827)

* Update androidApiLevels for device tests

* [ci] Update provisioning of api 36

* Add reference (#31669)

* [Windows, Catalyst] Fix IsPresented=true Not Working on Initial Value in FlyoutPage (#31515)

* mac fix added

* Windows fix added

* test case added

* Update Issue31372.cs

* Update Issue31372.cs

* Update WindowHandler.iOS.cs

* fix updated

* Update WindowHandler.iOS.cs

* Update WindowHandler.iOS.cs

* Update PublicAPI.Shipped.txt

* changes added in UnShipped file

* Temporarily disable flaky WebView tests using FlakyTest attribute (#31868)

* Initial plan

* Temporarily disable flaky WebView tests with FlakyTest attribute

Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>

* Add tracking issue link to FlakyTest attributes

Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>

* Invert NavigationPage UseMauiHandler flag (#31859)

* Update dependencies from https://github.com/dotnet/xharness build 20251004.2 (#31872)

On relative base path root
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 9.0.0-prerelease.25426.1 -> To Version 9.0.0-prerelease.25504.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [release/9.0.1xx-sr12] Fix ProjectList not displaying due to missing BindingContext update in template sample (#31954)

* update ProjectListPage

* Update MauiApp.1.csproj

---------

Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com>

* [release/9.0.1xx-sr12] [Android] -Picker dialog causes crash when page is popped while dialo… (#31919)

* [Android] -Picker dialog causes crash when page is popped while dialog is open

* removed the dispose call.

* Revert "removed the dispose call."

This reverts commit e1e7a9f.

* removed the dispose call.

* Modified with Dismiss() method.

---------

Co-authored-by: sheiksyedm <sheiksyedm@syncfusion.com>

* [release/9.0.1xx-sr12] [iOS] Fix memory leak in CollectionViewHandler2 ItemsLayout PropertyChanged subscription (#31922)

* [release/9.0.1xx-sr12] [Android][Regression] Fixed Entry and Editor AppThemeBinding colors for text and placeholder reset to default on theme change (#31921)

* added snapshots and fix

* removed test cases

* added the test cases and snapshots

* added braces

* added mac and windows snapshots

* added mac and windows snapshots

* added snapshot

---------

Co-authored-by: TamilarasanSF4853 <tamilarasan.velu@syncfusion.com>

* 9.0.120 Release Branding (#31979)

* [release/9.0.1xx-sr12] [ci] Update arcade main (#31987)

* Update arcade

* Don t use internal feeds

---------

Co-authored-by: Rui Marinho <me@ruimarinho.net>

* Update FlyoutViewHandler.Windows.cs (#32007)

Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>

---------

Co-authored-by: TamilarasanSF4853 <tamilarasan.velu@syncfusion.com>
Co-authored-by: sheiksyedm <sheiksyedm@syncfusion.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com>
Co-authored-by: devanathan-vaithiyanathan <114395405+devanathan-vaithiyanathan@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rmarinho <1235097+rmarinho@users.noreply.github.com>
Co-authored-by: Tim Miller <drasticactions@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vignesh-SF3580 <102575140+Vignesh-SF3580@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 1, 2025
@TamilarasanSF4853
TamilarasanSF4853 deleted the fix-flaky-Issue12134 branch January 9, 2026 10:25
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.

5 participants