Remove five second per test delay when plugins are missing

This commit is contained in:
John Lewin 2016-10-26 07:44:17 -07:00
parent b54b73db7f
commit a592b86cd7

View file

@ -124,7 +124,13 @@ namespace MatterHackers.MatterControl.Tests.Automation
switch (preAction)
{
case PrepAction.CloseSignInAndPrinterSelect:
testRunner.ClickByName("Connection Wizard Skip Sign In Button", 5);
// Non-MCCentral builds won't have the plugin. Reduce the wait time for these cases
if (testRunner.WaitForName("Connection Wizard Skip Sign In Button", 0.5))
{
testRunner.ClickByName("Connection Wizard Skip Sign In Button");
}
testRunner.ClickByName("Cancel Wizard Button", 5);
break;
}