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:
parent
d7c2560de6
commit
20f54e28cc
5 changed files with 10 additions and 8 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue