Skip to content

Commit

Permalink
test: Add test for infinite loop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Feb 1, 2024
1 parent 42049f1 commit 62d492e
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ namespace Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls;
[RunsOnUIThread]
public class Given_CalendarView
{
[TestMethod]
public async Task When_MinDate_Has_Different_Offset()
{
var calendarView = new CalendarView();
calendarView.MinDate = new DateTimeOffset(new DateTime(2010, 1, 1, 22, 0, 0), TimeSpan.Zero);
calendarView.MaxDate = new DateTimeOffset(new DateTime(2010, 1, 31), TimeSpan.FromHours(2));

await UITestHelper.Load(calendarView);
}

#if __WASM__
[TestMethod]
public async Task When_ItemCornerRadius()
Expand Down

0 comments on commit 62d492e

Please sign in to comment.