Revise RaftEnabledPassedToSliceEngine test
This commit is contained in:
parent
9db96fbf0c
commit
f342460a84
2 changed files with 12 additions and 26 deletions
|
|
@ -23,36 +23,17 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
{
|
||||
MatterControlUtilities.AddAndSelectPrinter(testRunner, "Airwolf 3D", "HD");
|
||||
|
||||
// Navigate to Local Library
|
||||
testRunner.ClickByName("Library Tab");
|
||||
testRunner.NavigateToFolder("Local Library Row Item Collection");
|
||||
testRunner.Delay(1);
|
||||
testRunner.AddTestAssetsToLibrary("Rook.amf");
|
||||
|
||||
testRunner.ClickByName("Row Item Calibration - Box");
|
||||
testRunner.Delay(.2);
|
||||
|
||||
// Add the Calibration box to the queue and selects it
|
||||
testRunner.ClickByName("Row Item Calibration - Box Print Button");
|
||||
testRunner.Delay(1);
|
||||
|
||||
testRunner.ClickByName("Layer View Tab");
|
||||
testRunner.Delay(.2);
|
||||
|
||||
testRunner.ClickByName("Bread Crumb Button Home", 1);
|
||||
testRunner.Delay(.2);
|
||||
testRunner.ClickByName("Row Item Rook");
|
||||
testRunner.AddSelectedItemToBedplate();
|
||||
|
||||
testRunner.SwitchToAdvancedSliceSettings();
|
||||
testRunner.Delay(.2);
|
||||
|
||||
testRunner.ClickByName("Raft / Priming Tab", 1);
|
||||
testRunner.Delay(.2);
|
||||
|
||||
testRunner.ClickByName("Create Raft Checkbox", 1);
|
||||
testRunner.Delay(1.5);
|
||||
|
||||
testRunner.ClickByName("Generate Gcode Button", 1);
|
||||
testRunner.Delay(2);
|
||||
testRunner.ClickByName("Raft / Priming Tab");
|
||||
testRunner.ClickByName("Create Raft Checkbox");
|
||||
|
||||
testRunner.ClickByName("Toggle Layer View Button");
|
||||
testRunner.ClickByName("Generate Gcode Button");
|
||||
testRunner.Delay(() => MatterControlUtilities.CompareExpectedSliceSettingValueWithActualVaue("enableRaft", "True"), 10);
|
||||
|
||||
// Call compare slice settings method here
|
||||
|
|
|
|||
|
|
@ -377,6 +377,11 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.NavigateToFolder(containerName);
|
||||
testRunner.ClickByName(partName);
|
||||
|
||||
testRunner.AddSelectedItemToBedplate();
|
||||
}
|
||||
|
||||
public static void AddSelectedItemToBedplate(this AutomationRunner testRunner)
|
||||
{
|
||||
testRunner.ClickByName("Print Library Overflow Menu");
|
||||
testRunner.ClickByName("Add to Plate Menu Item");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue