Switch tests to Controls tab as needed
This commit is contained in:
parent
bf6c40acab
commit
a6630fb8f8
3 changed files with 21 additions and 13 deletions
|
|
@ -549,9 +549,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
public static void SwitchToAdvancedSliceSettings(this AutomationRunner testRunner)
|
||||
{
|
||||
testRunner.ClickByName("Slice Settings Sidebar");
|
||||
|
||||
testRunner.ClickByName("Pin Settings Button");
|
||||
|
||||
testRunner.Delay(1);
|
||||
|
||||
// Switch to Slice Settings Tab
|
||||
|
|
@ -566,6 +564,19 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.Delay(.5);
|
||||
}
|
||||
|
||||
public static void SwitchToControlsTab(this AutomationRunner testRunner)
|
||||
{
|
||||
// If the sidebar exists, we need to expand and pin it
|
||||
if (testRunner.WaitForName("Slice Settings Sidebar", 0.2))
|
||||
{
|
||||
testRunner.ClickByName("Slice Settings Sidebar");
|
||||
testRunner.ClickByName("Pin Settings Button");
|
||||
testRunner.Delay(1);
|
||||
}
|
||||
|
||||
testRunner.ClickByName("Controls Tab");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds the given asset names to the local library and validates the result
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue