Uno.Gallery/Uno.Gallery.UITests/Given_CalendarView.cs

47 строки
1.0 KiB
C#
Исходник Обычный вид История

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Uno.UITest.Helpers;
using Uno.UITest.Helpers.Queries;
using Uno.UITests.Helpers;
namespace Uno.Gallery.UITests
{
[Ignore("Removing CalendarView/Picker samples for mobile until it becomes more stable")]
public class Given_CalendarView : TestBase
{
[Test]
public void When_CalendarViewMaterial()
{
2021-03-29 20:44:34 +03:00
NavigateToSample("CalendarView", "Material");
TakeScreenshot("Material CalendarView");
App.WaitForElement(q => q.All().Marked("Material_CalendarView"));
}
[Test]
public void When_CalendarViewCupertino()
{
2021-03-29 20:44:34 +03:00
NavigateToSample("CalendarView", "Cupertino");
TakeScreenshot("Cupertino CalendarView");
App.WaitForElement(q => q.All().Marked("Cupertino_CalendarView"));
}
[Test]
public void When_CalendarViewFluent()
{
2021-03-29 20:44:34 +03:00
NavigateToSample("CalendarView", "Fluent");
TakeScreenshot("Fluent CalendarView");
App.WaitForElement(q => q.All().Marked("Fluent_CalendarView"));
}
}
}