Made sure that when we change printers we update the home library

This makes sure we show and hide the sd card folder
issue: MatterHackers/MCCentral#3769
fix sd card print test

took out dead code
This commit is contained in:
Lars Brubaker 2018-06-26 11:06:32 -07:00
parent 2a7f7084fa
commit 7caccde0f3
4 changed files with 6 additions and 14 deletions

View file

@ -526,7 +526,6 @@ namespace MatterHackers.MatterControl.Tests.Automation
{
Assert.IsTrue(ProfileManager.Instance.ActiveProfile != null);
testRunner.WaitForName("SD Card Row Item Collection");
testRunner.NavigateToFolder("SD Card Row Item Collection");
testRunner.ClickByName("Row Item Item 1.gcode");
@ -557,7 +556,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
}
return Task.CompletedTask;
}, overrideHeight: 900, maxTimeToRun: 90);
}, maxTimeToRun: 90);
}
[Test, Category("Emulator")]

View file

@ -455,7 +455,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
case "Print Queue Row Item Collection":
case "Local Library Row Item Collection":
// If visible, navigate into Libraries container before opening target
if(testRunner.NameExists("Library Row Item Collection"))
if (testRunner.NameExists("Library Row Item Collection"))
{
testRunner.DoubleClickByName("Library Row Item Collection");
}