Skip to content

Commit

Permalink
Fix image loading tests (dotnet#20955)
Browse files Browse the repository at this point in the history
* Set Scroll Bars to always visible

* - set to always visible

* Update ImageLoadingGalleryPage.cs

* - generate new images
  • Loading branch information
PureWeen authored Mar 3, 2024
1 parent 5ad30b6 commit 4973dc9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ namespace Maui.Controls.Sample
{
internal class ImageLoadingGalleryPage : CoreGalleryBasePage
{
public ImageLoadingGalleryPage() : base()
{
#if WINDOWS
((ScrollView)Content).VerticalScrollBarVisibility = Microsoft.Maui.ScrollBarVisibility.Never;
#endif
}

protected override void Build()
{
Add(Test.ImageLoading.FromBundleSvg, ImageSource.FromFile("dotnet_bot.png"));
Expand Down
Binary file modified src/Controls/tests/UITests/snapshots/windows/LoadAndVerifyGif.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Controls/tests/UITests/snapshots/windows/LoadAndVerifyPng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Controls/tests/UITests/snapshots/windows/LoadAndVerifySvg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4973dc9

Please sign in to comment.