Changed Login -> Sign in & Logout -> Sign Out
This commit is contained in:
parent
a9718fa28a
commit
2dadb72271
9 changed files with 68 additions and 49 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue