From c3c9c51972c9869faf333c907fa74ae39f1ab83a Mon Sep 17 00:00:00 2001 From: Lars Brubaker Date: Mon, 7 Feb 2022 13:51:49 -0800 Subject: [PATCH] register to listen for .mcx files --- Program.cs | 2 +- Tests/MatterControl.AutomationTests/PrintQueueTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index 7f8391b94..ee23d6dc9 100644 --- a/Program.cs +++ b/Program.cs @@ -318,7 +318,7 @@ namespace MatterHackers.MatterControl rootSystemWindow.ShowAsSystemWindow(); } - private static string[] shellFileExtensions = new string[] { ".stl", ".amf", ".3mf", ".obj" }; + private static string[] shellFileExtensions = new string[] { ".stl", ".amf", ".3mf", ".obj", ".stl" }; private static readonly object locker = new object(); diff --git a/Tests/MatterControl.AutomationTests/PrintQueueTests.cs b/Tests/MatterControl.AutomationTests/PrintQueueTests.cs index d59114904..57b04c376 100644 --- a/Tests/MatterControl.AutomationTests/PrintQueueTests.cs +++ b/Tests/MatterControl.AutomationTests/PrintQueueTests.cs @@ -117,7 +117,7 @@ namespace MatterHackers.MatterControl.Tests.Automation testRunner.NavigateToFolder("Print Queue Row Item Collection"); // Select both items - testRunner.SelectListItems("Row Item 2013-01-25_Mouthpiece_v2"); + testRunner.SelectListItems("Row Item 2013-01-25_Mouthpiece_v2.stl"); // Remove item testRunner.LibraryRemoveSelectedItem(); @@ -126,7 +126,7 @@ namespace MatterHackers.MatterControl.Tests.Automation Assert.AreEqual(expectedCount, QueueData.Instance.ItemCount, "Queue count should decrease by one after clicking Remove"); // Make sure selected item was removed - Assert.IsFalse(testRunner.WaitForName("Row Item 2013-01-25_Mouthpiece_v2", .5), "Mouthpiece part should *not* exist after remove"); + Assert.IsFalse(testRunner.WaitForName("Row Item 2013-01-25_Mouthpiece_v2.stl", .5), "Mouthpiece part should *not* exist after remove"); return Task.CompletedTask; }, queueItemFolderToAdd: QueueTemplate.Three_Queue_Items);