Fix SaveAsToQueue test

- Issue MatterHackers/MCCentral#4268
Reconsider EnsureFolderVisible as the hook for opening the 'Add Content Menu'
This commit is contained in:
John Lewin 2018-10-10 22:32:08 -07:00
parent 4f34f4d25f
commit bcd10e9e1b
2 changed files with 23 additions and 15 deletions

View file

@ -40,7 +40,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
// Select scene object
testRunner.Select3DPart("Calibration - Box.stl");
// Click Copy button and count Scene.Children
// Click Copy button and count Scene.Children
testRunner.ClickByName("Duplicate Button");
testRunner.WaitFor(() => scene.Children.Count == 2);
Assert.AreEqual(2, scene.Children.Count, "Should have 2 parts after copy");
@ -147,8 +147,6 @@ namespace MatterHackers.MatterControl.Tests.Automation
{
testRunner.AddAndSelectPrinter();
testRunner.OpenEmptyPartTab();
testRunner.AddItemToBedplate();
var view3D = testRunner.GetWidgetByName("View3DWidget", out _) as View3DWidget;