fixing tests
This commit is contained in:
parent
31d7dbcbb8
commit
2b0614bbef
5 changed files with 10 additions and 3 deletions
|
|
@ -32,6 +32,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Localizations;
|
||||
using MatterHackers.MatterControl.DataStorage;
|
||||
using MatterHackers.MatterControl.PrintQueue;
|
||||
|
|
@ -144,7 +145,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
}
|
||||
}
|
||||
|
||||
this.ReloadContent();
|
||||
UiThread.RunOnIdle(this.ReloadContent);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
public virtual void Move(IEnumerable<ILibraryItem> items, ILibraryWritableContainer sourceContainer)
|
||||
{
|
||||
foreach(var item in items.OfType<ILibraryAssetStream>().ToList())
|
||||
foreach( var item in items.OfType<ILibraryAssetStream>().ToList())
|
||||
{
|
||||
var enumerable = new[] { item };
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b1710fc08dbd485a24f94536df3b19718d20b697
|
||||
Subproject commit 35d558c017c97b7740dbc45e47bcd77aee6f3246
|
||||
|
|
@ -51,6 +51,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
bool exportWindowExists1 = testRunner.WaitForName("Export Item Window", 0);
|
||||
Assert.IsTrue(exportWindowExists1 == false, "Export window does not exist");
|
||||
|
||||
testRunner.NavigateToFolder("Print Queue Row Item Collection");
|
||||
testRunner.ClickByName("Queue Export Button");
|
||||
SystemWindow containingWindow;
|
||||
GuiWidget exportWindow = testRunner.GetWidgetByName("Export Item Window", out containingWindow, 5);
|
||||
|
|
|
|||
|
|
@ -352,6 +352,11 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
// close the welcome message
|
||||
testRunner.EnsureWelcomePageClosed();
|
||||
testRunner.Delay();
|
||||
if (testRunner.NamedWidgetExists("Cancel Wizard Button"))
|
||||
{
|
||||
testRunner.ClickByName("Cancel Wizard Button");
|
||||
}
|
||||
|
||||
// Click 'Add Printer' if not on screen
|
||||
if (!testRunner.NameExists("AddPrinterWidget", 0.2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue