Fixed a broken unittest and fixed a bug that was not allowing us to ad gcode files to the print queue.

This commit is contained in:
Greg 2016-03-07 16:48:34 -08:00
parent 752e1ac626
commit 5184454dc5
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ namespace MatterHackers.MatterControl
public static string OpenPrintableFileParams { get { return "STL, AMF, ZIP, GCODE|*.stl;*.amf;*.zip;*.gcode"; } }
public static string OpenDesignFileParams { get { return "STL, AMF, ZIP|*.stl;*.amf;*.zip"; } }
public static string OpenDesignFileParams { get { return "STL, AMF, ZIP|*.stl;*.amf;*.zip;*.gcode"; } }
private static ApplicationSettings globalInstance = null;
public Dictionary<string, DataStorage.SystemSetting> settingsDictionary;

View file

@ -142,7 +142,7 @@ namespace MatterHackers.MatterControl.UI
bool exportWindowExists1 = testRunner.WaitForName( "Export Item Window", 0);
resultsHarness.AddTestResult(exportWindowExists1 == false, "Export window does not exist");
testRunner.ClickByName("Export Queue Button", 5);
testRunner.ClickByName("Queue Export Button", 5);
SystemWindow containingWindow;
GuiWidget exportWindow = testRunner.GetWidgetByName("Export Item Window", out containingWindow, 5);
resultsHarness.AddTestResult(exportWindow != null, "Export window does exist");