Wait for widget close before returning

- Issue MatterHackers/MCCentral#2809
Test timing issues cause Plus tab null reference errors
This commit is contained in:
John Lewin 2018-02-09 13:55:01 -08:00
parent f01c3df7c8
commit f9fb0560da

View file

@ -195,6 +195,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
var plusTabRegion = testRunner.GetRegionByName("Initial Plus Tab");
testRunner.ClickByName("Close Tab Button", plusTabRegion);
testRunner.WaitForWidgetDisappear("Initial Plus Tab", 2);
}
public static void ChangeToQueueContainer(this AutomationRunner testRunner)