Collapse WidescreenPanel into PartPreviewContent
This commit is contained in:
parent
c93717cb9b
commit
09dbb18021
6 changed files with 11 additions and 38 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ namespace MatterControl.Tests
|
|||
{
|
||||
await MatterControlUtilities.RunTest((testRunner) =>
|
||||
{
|
||||
Assert.IsTrue(testRunner.NameExists("WidescreenPanel"));
|
||||
Assert.IsTrue(testRunner.NameExists("PartPreviewContent"));
|
||||
|
||||
return Task.CompletedTask;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue