Revise PauseOnLayerDoesPauseOnPrint test

- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
This commit is contained in:
John Lewin 2017-06-03 19:08:14 -07:00
parent 2eb9af71f0
commit fc45a60d35
5 changed files with 26 additions and 21 deletions

View file

@ -371,14 +371,18 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.Delay(.5);
}
public static void AddDefaultFileToBedPlate(this AutomationRunner testRunner, string containerName = "Calibration Parts Row Item Collection", string partName = "Row Item Calibration - Box.stl")
public static void AddDefaultFileToBedplate(this AutomationRunner testRunner, string containerName = "Calibration Parts Row Item Collection", string partName = "Row Item Calibration - Box.stl")
{
testRunner.ClickByName("Library Tab");
testRunner.NavigateToFolder(containerName);
testRunner.ClickByName(partName, 1);
testRunner.ClickByName(partName);
testRunner.ClickByName("Print Library Overflow Menu", 1);
testRunner.ClickByName("Print Library Overflow Menu");
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Save Button");
testRunner.Delay(1);
}
public static void WaitForPrintFinished(this AutomationRunner testRunner)