Fixing more tests
issue: MatterHackers/MCCentral#5398 complete print turns off heat test needs to dismiss 'print complete' dialog
This commit is contained in:
parent
fa9d184296
commit
b38461a709
2 changed files with 3 additions and 1 deletions
|
|
@ -679,6 +679,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
public static void WaitForPrintFinished(this AutomationRunner testRunner, PrinterConfig printer, int maxSeconds = 500)
|
||||
{
|
||||
testRunner.WaitFor(() => printer.Connection.CommunicationState == CommunicationStates.FinishedPrint, maxSeconds);
|
||||
// click the ok button on the print complete dialog
|
||||
testRunner.ClickByName("Ok Button");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue