Run the printing test twice
This commit is contained in:
parent
c3abfedc5d
commit
7e8bac8716
2 changed files with 14 additions and 2 deletions
|
|
@ -48,7 +48,19 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.WaitFor(() => ApplicationController.Instance.ActivePrinter.Connection.ActualBedTemperature <= 10);
|
||||
Assert.Less(ApplicationController.Instance.ActivePrinter.Connection.ActualBedTemperature, 10);
|
||||
|
||||
// Validate that the bottom controls have been re-enabled
|
||||
// Make sure we can run this whole thing again
|
||||
testRunner.StartPrint();
|
||||
|
||||
// Wait for print to finish
|
||||
testRunner.WaitForPrintFinished();
|
||||
|
||||
// Wait for expected temp
|
||||
testRunner.WaitFor(() => ApplicationController.Instance.ActivePrinter.Connection.GetActualHotendTemperature(0) <= 0);
|
||||
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);
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue