Extract default file plating helper to extension method
This commit is contained in:
parent
563b371395
commit
ccd83ba673
2 changed files with 11 additions and 6 deletions
|
|
@ -368,6 +368,16 @@ 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")
|
||||
{
|
||||
testRunner.ClickByName("Library Tab");
|
||||
testRunner.NavigateToFolder(containerName);
|
||||
testRunner.ClickByName(partName, 1);
|
||||
|
||||
testRunner.ClickByName("Print Library Overflow Menu", 1);
|
||||
testRunner.ClickByName("Add to Plate MenuItem");
|
||||
}
|
||||
|
||||
public static async Task RunTest(
|
||||
AutomationTest testMethod,
|
||||
string staticDataPathOverride = null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue