Rename action to 'Add to Bed'

This commit is contained in:
John Lewin 2018-10-12 17:25:00 -07:00
parent f9465551eb
commit c4b611865a
5 changed files with 8 additions and 8 deletions

View file

@ -92,9 +92,9 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.NavigateToFolder("Print Queue Row Item Collection");
testRunner.ClickByName("Row Item cube_20x20x20");
testRunner.ClickByName("Print Library Overflow Menu");
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Add to Bed Menu Item");
testRunner.ClickByName("Print Library Overflow Menu");
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Add to Bed Menu Item");
// start the print
testRunner.StartPrint();
@ -115,7 +115,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
// Add a cylinder
testRunner.ClickByName("Row Item cylinder_5x20");
testRunner.ClickByName("Print Library Overflow Menu");
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Add to Bed Menu Item");
// re-slice the part
testRunner.ClickByName("Re-Slice Button");
@ -140,7 +140,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
// add the cube
testRunner.ClickByName("Row Item cube_20x20x20");
testRunner.ClickByName("Print Library Overflow Menu");
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Add to Bed Menu Item");
// re-slice the part
testRunner.ClickByName("Re-Slice Button");

View file

@ -23,7 +23,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
var scene = view3D.InteractionLayer.Scene;
testRunner.WaitFor(() => scene.SelectedItem != null);
Assert.IsNotNull(scene.SelectedItem, "Expect part selection after Add to Plate action");
Assert.IsNotNull(scene.SelectedItem, "Expect part selection after Add to Bed action");
testRunner.ClickByName("Duplicate Button");

View file

@ -561,7 +561,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
var scene = view3D.InteractionLayer.Scene;
var preAddCount = scene.Children.Count();
testRunner.ClickByName("Add to Plate Menu Item");
testRunner.ClickByName("Add to Bed Menu Item");
// wait for the object to be added
testRunner.WaitFor(() => scene.Children.Count == preAddCount + 1);
// wait for the object to be done loading