Collapse WidescreenPanel into PartPreviewContent

This commit is contained in:
John Lewin 2018-10-29 21:47:03 -07:00
parent c93717cb9b
commit 09dbb18021
6 changed files with 11 additions and 38 deletions

View file

@ -170,7 +170,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
public static void WaitForFirstDraw(this AutomationRunner testRunner)
{
testRunner.GetWidgetByName("WidescreenPanel", out SystemWindow systemWindow, 10);
testRunner.GetWidgetByName("PartPreviewContent", out SystemWindow systemWindow, 10);
// make sure we wait for MC to be up and running
testRunner.WaitforDraw(systemWindow);
}
@ -302,7 +302,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
public static void AddAndSelectPrinter(this AutomationRunner testRunner, string make = "Airwolf 3D", string model = "HD")
{
testRunner.GetWidgetByName("WidescreenPanel", out SystemWindow systemWindow, 10);
testRunner.GetWidgetByName("PartPreviewContent", out SystemWindow systemWindow, 10);
// make sure we wait for MC to be up and running
testRunner.WaitforDraw(systemWindow);

View file

@ -97,7 +97,7 @@ namespace MatterControl.Tests
{
await MatterControlUtilities.RunTest((testRunner) =>
{
Assert.IsTrue(testRunner.NameExists("WidescreenPanel"));
Assert.IsTrue(testRunner.NameExists("PartPreviewContent"));
return Task.CompletedTask;
});