Fixed test
This commit is contained in:
parent
5af78b67e7
commit
c904b4bf80
1 changed files with 4 additions and 4 deletions
|
|
@ -35,22 +35,22 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
testRunner.AddItemToBedplate();
|
||||
|
||||
// Sorten the delay so the test runs in a reasonable time
|
||||
ApplicationController.Instance.ActivePrinter.Connection.TurnOffHeatDelay = 5;
|
||||
|
||||
testRunner.StartPrint();
|
||||
|
||||
// Wait for print to finish
|
||||
testRunner.WaitForPrintFinished();
|
||||
|
||||
// Wait for expected temp
|
||||
testRunner.WaitFor(() => ApplicationController.Instance.ActivePrinter.Connection.GetActualHotendTemperature(0) <= 0);
|
||||
testRunner.WaitFor(() => ApplicationController.Instance.ActivePrinter.Connection.GetActualHotendTemperature(0) <= 0, 10);
|
||||
Assert.Less(ApplicationController.Instance.ActivePrinter.Connection.GetActualHotendTemperature(0), 30);
|
||||
|
||||
// Wait for expected temp
|
||||
testRunner.WaitFor(() => ApplicationController.Instance.ActivePrinter.Connection.ActualBedTemperature <= 10);
|
||||
Assert.Less(ApplicationController.Instance.ActivePrinter.Connection.ActualBedTemperature, 10);
|
||||
|
||||
// Sorten the delay so the test runs in a reasonable time
|
||||
ApplicationController.Instance.ActivePrinter.Connection.TurnOffHeatDelay = 5;
|
||||
|
||||
// Make sure we can run this whole thing again
|
||||
testRunner.StartPrint();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue