Fixing tests

Added scroll into view
Made popup widget get the right scroll
Made automation runner able to find widgets that aren't visible
This commit is contained in:
Lars Brubaker 2018-01-24 16:31:10 -08:00
parent d7c2560de6
commit 20f54e28cc
5 changed files with 10 additions and 8 deletions

View file

@ -688,6 +688,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.WaitFor(() => printerPopup.Enabled);
testRunner.ClickByName("PrintPopupMenu");
testRunner.ClickByName("Advanced Section");
}
/// <summary>
@ -697,6 +699,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
public static void StartPrint(this AutomationRunner testRunner)
{
testRunner.OpenPrintPopupMenu();
testRunner.ScrollIntoView("Start Print Button");
testRunner.ClickByName("Start Print Button");
}