Revise failing queue tests on slow VMs

- Use Assert.AreEqual
- Add failure messages
- Extend ClickByName and WaitForName durations
- Restore 500ms waits in NavigateToFolder
This commit is contained in:
John Lewin 2016-12-19 11:59:49 -08:00
parent e43a72cec6
commit 56f1ab247e
3 changed files with 28 additions and 52 deletions

View file

@ -198,7 +198,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.ClickByName("Serial Port Dropdown", 3);
testRunner.ClickByName(config.MCPort + " Menu Item", 1);
testRunner.ClickByName(config.MCPort + " Menu Item", 5);
testRunner.ClickByName("Cancel Wizard Button");
@ -346,11 +346,10 @@ namespace MatterHackers.MatterControl.Tests.Automation
{
SearchRegion libraryRowItemRegion = testRunner.GetRegionByName(libraryRowItemName, 3);
testRunner.ClickByName(libraryRowItemName);
//testRunner.MoveToByName(libraryRowItemName);
//testRunner.Wait(.5);
testRunner.Wait(.5);
testRunner.ClickByName("Open Collection", searchRegion: libraryRowItemRegion);
//testRunner.Wait(.5);
testRunner.Wait(.5);
}
public static async Task RunTest(