Fix failing MatterControlRuns test
- Switch control to validate from 'SettingsAndControls' to 'Library Tab'
This commit is contained in:
parent
8c926db5d3
commit
e882f925ed
1 changed files with 3 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue