-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Testing] Enabling more UI Tests by removing platform specific condition - 15 #27965
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
[Testing] Enabling more UI Tests by removing platform specific condition - 15 #27965
Conversation
|
Hey there @LogishaSelvarajSF4525! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
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.
Copilot reviewed 7 out of 12 changed files in this pull request and generated no comments.
Files not reviewed (5)
- src/Controls/tests/TestCases.HostApp/Issues/ScrollViewObjectDisposed.cs: Evaluated as low risk
- src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/ScrollViewObjectDisposed.cs: Evaluated as low risk
- src/Controls/tests/TestCases.HostApp/Issues/Issue6458.cs: Evaluated as low risk
- src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19214_3.cs: Evaluated as low risk
- src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19214_2.cs: Evaluated as low risk
Comments suppressed due to low confidence (2)
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17453.cs:71
- Changing the method signature from 'async Task' to 'void' could cause issues if the method relies on asynchronous operations. Consider reverting it back to 'async Task'.
public void EntryWithMarginClearButtonWorks()
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6458.cs:21
- The method VerifyScreenshot is used, but it is not clear if this method is defined and what it does. Ensure that this method is properly defined and covered by tests.
VerifyScreenshot();
| [Category(UITestCategories.Navigation)] | ||
| [Category(UITestCategories.Compatibility)] | ||
| [FailsOnAndroidWhenRunningOnXamarinUITest] | ||
| public void Issue6458Test() |
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.
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.
@jsuarezruiz I have committed this snapshot in the latest changes.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
| [Test] | ||
| [Category(UITestCategories.Entry)] | ||
| public async Task EntryWithMarginClearButtonWorks() | ||
| public void EntryWithMarginClearButtonWorks() |
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.
This test is failing on Android:
Assert.That(aString, new EmptyStringConstraint())
Expected: <empty>
But was: "Simple text"
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.
@jsuarezruiz Modified the test to ensure it runs on Android and committed the code changes.
| [Description("Tapping a button inside the ScrollView does not cause an exception.")] | ||
| [FailsOnAndroidWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] | ||
| [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] | ||
| public void ScrollViewObjectDisposedTest() |
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.
This test is failing on Android:
at UITest.Appium.HelperExtensions.Click(IUIElement element) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 287
at UITest.Appium.HelperExtensions.Tap(IApp app, String element) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 25
at Microsoft.Maui.TestCases.Tests.Issues.ScrollViewObjectDisposedUITests.ScrollViewObjectDisposedTest() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/ScrollViewObjectDisposed.cs:line 22
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
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.
@jsuarezruiz Modified the test to ensure it runs on Android and committed the code changes.
|
/rebase |
638097e to
6992a2b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
…ion - 15 (#27965) * enable the test case for all platforms * enable ScrollViewObjectDisposed.cs * updated the changes * modified * added the snapshot * added snapshot * modified changes * Update Issue17453.cs * modified Issue17453.cs
…ion - 15 (#27965) * enable the test case for all platforms * enable ScrollViewObjectDisposed.cs * updated the changes * modified * added the snapshot * added snapshot * modified changes * Update Issue17453.cs * modified Issue17453.cs
…ion - 15 (#27965) * enable the test case for all platforms * enable ScrollViewObjectDisposed.cs * updated the changes * modified * added the snapshot * added snapshot * modified changes * Update Issue17453.cs * modified Issue17453.cs

Description of Change
The tests, previously added for specific platforms alone, now we are reviewed, and enabled the tests in all applicable platforms with the Appium framework. We are going to enable tests in blocks in different PRs. This is the 15th group of tests enabled.
Test Cases:
Fixes #22902