Fix failing CancelWorksAsExpected test

This commit is contained in:
John Lewin 2019-04-30 18:51:04 -07:00
parent 572418a1f1
commit 922becba20
2 changed files with 3 additions and 6 deletions

View file

@ -82,12 +82,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.AddItemToBedplate();
testRunner.OpenPrintPopupMenu();
testRunner.ClickByName("Layer(s) To Pause Field");
testRunner.Type("2");
testRunner.StartPrint();
testRunner.StartPrint(pauseAtLayers: "2");
// Wait for the Ok button
testRunner.WaitForName("Yes Button", 30);

View file

@ -375,6 +375,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.ClickByName("Next Button");
testRunner.Delay();
testRunner.WaitFor(() => testRunner.ChildExists<SetupStepComPortOne>());
testRunner.ClickByName("Cancel Wizard Button");