Skip to content
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

[Housekeeping] Moved a UI test to the proper place #25877

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UITest.Appium;
using UITest.Core;

namespace Microsoft.Maui.AppiumTests.Issues
namespace Microsoft.Maui.TestCases.Tests.Issues
{
public class Issue19127 : _IssuesUITest
{
Expand All @@ -13,6 +13,7 @@ public Issue19127(TestDevice device) : base(device)
}

[Test]
[Category(UITestCategories.Frame)]
public void ContentOfFrameShouldChange()
{
_ = App.WaitForElement("button");
Expand All @@ -23,8 +24,8 @@ public void ContentOfFrameShouldChange()

var textAfterClick = App.FindElement("label2").GetText();

Assert.AreEqual(textBeforeClick, "Camera is Disabled");
Assert.AreEqual(textAfterClick, "Camera is Enabled");
Assert.That(textBeforeClick!, Is.EqualTo("Camera is Disabled"));
Assert.That(textAfterClick!, Is.EqualTo("Camera is Enabled"));
}
}
}