-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Testing] Fix Bugzilla41842 test by replacing raw Page with ContentPage #31862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,17 +12,16 @@ public Bugzilla41842(TestDevice testDevice) : base(testDevice) | |
|
|
||
| public override string Issue => "Set FlyoutPage.Detail = New Page() twice will crash the application when set FlyoutLayoutBehavior = FlyoutLayoutBehavior.Split"; | ||
|
|
||
| // Crash after navigation | ||
| /* | ||
| [Test] | ||
| [Ignore("The sample is crashing.")] | ||
| [Category(UITestCategories.FlyoutPage)] | ||
| [Category(UITestCategories.Compatibility)] | ||
| [FailsOnAllPlatformsWhenRunningOnXamarinUITest("The sample is crashing. More information: https://github.com/dotnet/maui/issues/21205")] | ||
| public void Bugzilla41842Test() | ||
| { | ||
| #if MACCATALYST | ||
| App.WaitForElement("FlyoutLabel"); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test is passing on CI. |
||
| #else | ||
| App.WaitForElement("Success"); | ||
| #endif | ||
|
Comment on lines
+20
to
+24
|
||
| } | ||
| */ | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Issue description still references 'New Page()' even though the test now uses ContentPage instances; updating the wording to match the current scenario will avoid confusion.