Changed Login -> Sign in & Logout -> Sign Out

This commit is contained in:
Lars Brubaker 2016-08-29 17:13:45 -07:00
parent a9718fa28a
commit 2dadb72271
9 changed files with 68 additions and 49 deletions

View file

@ -112,14 +112,14 @@ namespace MatterHackers.MatterControl.Tests.Automation
public enum PrepAction
{
CloseLoginAndPrinterSelect,
CloseSignInAndPrinterSelect,
};
public static void PrepForTestRun(AutomationRunner testRunner, PrepAction preAction = PrepAction.CloseLoginAndPrinterSelect)
public static void PrepForTestRun(AutomationRunner testRunner, PrepAction preAction = PrepAction.CloseSignInAndPrinterSelect)
{
switch (preAction)
{
case PrepAction.CloseLoginAndPrinterSelect:
case PrepAction.CloseSignInAndPrinterSelect:
testRunner.ClickByName("Connection Wizard Skip Sign In Button", 5);
testRunner.ClickByName("Cancel Wizard Button", 5);
break;
@ -189,6 +189,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.ClickByName("Save & Continue Button", 2);
testRunner.Wait(.5);
testRunner.ClickByName("Cancel Wizard Button", 2);
testRunner.Wait(1);
}