Making the tests pass.
This commit is contained in:
parent
b83b967968
commit
5c0272e77a
3 changed files with 13 additions and 14 deletions
|
|
@ -27,7 +27,7 @@ namespace MatterHackers.MatterControl.UI
|
|||
|
||||
testRunner.ClickByName("SettingsAndControls", 5);
|
||||
testRunner.Wait(2);
|
||||
testRunner.ClickByName("Configuration Tab", 6);
|
||||
testRunner.ClickByName("Options Tab", 6);
|
||||
|
||||
bool terminalWindowExists1 = testRunner.WaitForName("Gcode Terminal", 0);
|
||||
resultsHarness.AddTestResult(terminalWindowExists1 == false, "Terminal Window does not exist");
|
||||
|
|
@ -72,15 +72,14 @@ namespace MatterHackers.MatterControl.UI
|
|||
AutomationRunner testRunner = new AutomationRunner(MatterControlUtilities.DefaultTestImages);
|
||||
{
|
||||
|
||||
testRunner.ClickByName("SettingsAndControls", 5);
|
||||
testRunner.Wait(2);
|
||||
testRunner.ClickByName("Configuration Tab", 6);
|
||||
testRunner.ClickByName("SettingsAndControls", secondsToWait: 5);
|
||||
testRunner.ClickByName("Options Tab", secondsToWait: 6);
|
||||
|
||||
bool printNotificationsWindowExists1 = testRunner.WaitForName("Notification Options Window", 0);
|
||||
bool printNotificationsWindowExists1 = testRunner.WaitForName("Notification Options Window", secondsToWait: 3);
|
||||
resultsHarness.AddTestResult(printNotificationsWindowExists1 == false, "Print Notification Window does not exist");
|
||||
|
||||
testRunner.ClickByName("Configure Notification Settings Button", 6);
|
||||
bool printNotificationsWindowExists2 = testRunner.WaitForName("Notification Options Window", 3);
|
||||
testRunner.ClickByName("Configure Notification Settings Button", secondsToWait: 6);
|
||||
bool printNotificationsWindowExists2 = testRunner.WaitForName("Notification Options Window", secondsToWait: 3);
|
||||
resultsHarness.AddTestResult(printNotificationsWindowExists2 == true, "Print Notifications Window exists after Configure button is clicked");
|
||||
|
||||
MatterControlUtilities.CloseMatterControl(testRunner);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue