Open JohanLarsson opened 6 years ago
Idea for usage:
[Test]
public void ClickAllTabs()
{
using (var listener = new ObservableTraceListener())
{
using (var app = Application.Launch("Gu.Wpf.FlipView.Demo.exe"))
{
var window = app.MainWindow;
var tab = window.FindTabControl();
foreach (var tabItem in tab.Items)
{
_ = tabItem.Select();
}
}
Assert.IsEmpty(listener.Messages);
}
}