From 23d5b9ff6be4b9e182add72be878ff6cdb7e083a Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 22 Nov 2018 11:11:59 -0800 Subject: [PATCH] Manually resume cancelled leveling wizard --- Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs b/Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs index 3514d0636..c53fc62cf 100644 --- a/Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs +++ b/Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs @@ -48,6 +48,9 @@ namespace MatterHackers.MatterControl.Tests.Automation Assert.IsFalse(testRunner.WaitForName("PrintPopupMenu", .5), "Start Print should not be visible if PrintLeveling is required"); Assert.IsTrue(testRunner.WaitForName("Finish Setup Button"), "Finish Setup should be visible if PrintLeveling is required"); + // HACK: automatically resuming setup wizard. Long term we want a better plan + testRunner.ClickByName("Finish Setup Button"); + testRunner.Complete9StepLeveling(); // make sure the button has changed to start print