Add test helper method to clear Setup Required

This commit is contained in:
John Lewin 2018-12-24 10:52:53 -08:00
parent 5e982f2eb9
commit 4fb21c525f

View file

@ -544,6 +544,20 @@ namespace MatterHackers.MatterControl.Tests.Automation
}
}
public static void OpenRequiredSetupAndConfigureMaterial(this AutomationRunner testRunner)
{
// Complete new material selection requirement
testRunner.ClickByName("PrintPopupMenu");
testRunner.ClickByName("Finish Setup Button");
// Configure ABS as selected material
//testRunner.ClickByName("Material DropDown List");
//testRunner.ClickByName("ABS Menu");
// Currently material selection is not required, simply act of clicking 'Select' clears setup required
testRunner.ClickByName("Already Loaded Button");
}
public static void NavigateToLibraryHome(this AutomationRunner testRunner)
{
testRunner.EnsureContentMenuOpen();