Getting automation tests to pass with new ui changes
issue: MatterHackers/MCCentral#4108 Many test failures related to Controls/Terminal tabs being hidden by default
This commit is contained in:
parent
5169b7d81c
commit
f4d69c8f28
6 changed files with 34 additions and 5 deletions
|
|
@ -17,8 +17,10 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
Assert.IsFalse(testRunner.WaitForName("TerminalWidget", 0.5), "Terminal Window should not exist");
|
||||
|
||||
testRunner.ClickByName("Terminal Sidebar");
|
||||
testRunner.Delay(1);
|
||||
// when we start up a new session the Terminal Sidebar should not be present
|
||||
Assert.IsFalse(testRunner.WaitForName("Terminal Sidebar", 0.5), "Terminal Sidebar should not exist");
|
||||
|
||||
testRunner.SwitchToTerminalTab();
|
||||
|
||||
Assert.IsTrue(testRunner.WaitForName("TerminalWidget"), "Terminal Window should exists after Show Terminal button is clicked");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue