forked from dotnet/maui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Testing] Fix for WebView flaky tests in CI which fails due to networ…
…k connectivity. (dotnet#27178) * Added connectivity functionality using NetworkAccess property * Modified Internet Connectivity functionality in CoreGallery * format corrected in Issue3262 * Update changes * Updated changes * Update commit * Provided internet support for GalleryPages also. * removed CorePageview * Update src/Controls/tests/TestCases.HostApp/CoreViews/NoInternetConnectionPage.cs Addressed review correction Co-authored-by: MartyIX <[email protected]> --------- Co-authored-by: NafeelaNazhir <[email protected]> Co-authored-by: MartyIX <[email protected]>
- Loading branch information
1 parent
1807a6c
commit 5ceff42
Showing
5 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/Controls/tests/TestCases.HostApp/CoreViews/NoInternetConnectionPage.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace Maui.Controls.Sample | ||
{ | ||
internal class NoInternetConnectionPage : ContentPage | ||
{ | ||
public NoInternetConnectionPage() | ||
{ | ||
Content = new Label() | ||
{ | ||
Text = "This device doesn't have Internet access", | ||
AutomationId = "NoInternetAccessLabel", | ||
HorizontalOptions = LayoutOptions.Center, | ||
VerticalOptions = LayoutOptions.Center | ||
}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters