Fixed the mirror test
This commit is contained in:
parent
0d776e20f2
commit
af9d26ae68
2 changed files with 8 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
{
|
||||
await MatterControlUtilities.RunTest((testRunner) =>
|
||||
{
|
||||
testRunner.OpenEmptyPartTab();
|
||||
testRunner.OpenEmptyPartTab();
|
||||
|
||||
testRunner.NavigateToFolder("Local Library Row Item Collection");
|
||||
testRunner.InvokeLibraryCreateFolderDialog();
|
||||
|
|
|
|||
|
|
@ -177,8 +177,14 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public static void OpenEmptyPartTab(this AutomationRunner testRunner)
|
||||
{
|
||||
SystemWindow systemWindow;
|
||||
testRunner.GetWidgetByName("Hardware Tab", out systemWindow, 10);
|
||||
testRunner.WaitforDraw(systemWindow);
|
||||
|
||||
// Latest product starts at empty part tab
|
||||
if (testRunner.NameExists("Cancel Wizard Button"))
|
||||
|
||||
// close the welcome message
|
||||
if (testRunner.NameExists("Cancel Wizard Button", 10))
|
||||
{
|
||||
testRunner.ClickByName("Cancel Wizard Button");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue