Remove five second per test delay when plugins are missing
This commit is contained in:
parent
b54b73db7f
commit
a592b86cd7
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue