Created a new printer turns of temps test

Fixed the test to pass
Made emulator turn off bed temp correctly.
This commit is contained in:
Lars Brubaker 2017-01-03 10:45:16 -08:00
parent 7bbb84ebb0
commit 515966b0f0
6 changed files with 67 additions and 6 deletions

View file

@ -194,6 +194,9 @@ namespace MatterHackers.MatterControl.Tests.Automation
process.Start();
// edit the com port
SystemWindow containingWindow;
var editButton = testRunner.GetWidgetByName("Edit Printer Button", out containingWindow);
testRunner.WaitUntil(() => editButton.Enabled, 5); // Wait until the edit button is ready to click it. Ensures the printer is loaded.
testRunner.ClickByName("Edit Printer Button", 3);
testRunner.ClickByName("Serial Port Dropdown", 3);