Wait up to 1 second for SettingsAndControls to appear
This commit is contained in:
parent
ef10258ae4
commit
458f0649e6
1 changed files with 2 additions and 2 deletions
|
|
@ -465,7 +465,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public static void SwitchToSettingsAndControls(this AutomationRunner testRunner)
|
||||
{
|
||||
if (testRunner.WaitForName("SettingsAndControls", .2))
|
||||
if (testRunner.WaitForName("SettingsAndControls"))
|
||||
{
|
||||
testRunner.ClickByName("SettingsAndControls");
|
||||
testRunner.Delay(.5);
|
||||
|
|
@ -474,7 +474,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
public static void SwitchToAdvancedSettings(AutomationRunner testRunner)
|
||||
{
|
||||
if (testRunner.WaitForName("SettingsAndControls", .2))
|
||||
if (testRunner.WaitForName("SettingsAndControls"))
|
||||
{
|
||||
testRunner.ClickByName("SettingsAndControls");
|
||||
testRunner.Delay(.5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue