Fix failing MatterControlRuns test

- Switch control to validate from 'SettingsAndControls' to 'Library Tab'
This commit is contained in:
John Lewin 2017-05-20 15:50:17 -07:00
parent 8c926db5d3
commit e882f925ed

View file

@ -105,18 +105,13 @@ namespace MatterControl.Tests
[Test, Apartment(ApartmentState.STA), RunInApplicationDomain]
public async Task MatterControlRuns()
{
AutomationTest testToRun = (testRunner) =>
await MatterControlUtilities.RunTest((testRunner) =>
{
testRunner.CloseSignInAndPrinterSelect();
Assert.IsTrue(testRunner.NameExists("SettingsAndControls"));
Assert.IsTrue(testRunner.WaitForName("Library Tab", 3));
testRunner.ClickByName("Library Tab");
return Task.FromResult(0);
};
await MatterControlUtilities.RunTest(testToRun, maxTimeToRun: 90);
});
}
#endif