Ensure actions causing ReloadAll are wrapped in WaitForReloadAll
This commit is contained in:
parent
4939481a8d
commit
18a1ccfaa2
1 changed files with 6 additions and 3 deletions
|
|
@ -68,9 +68,12 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
// reset to defaults and make sure print leveling is cleared
|
||||
testRunner.SwitchToSliceSettings();
|
||||
|
||||
testRunner.ClickByName("Printer Overflow Menu");
|
||||
testRunner.ClickByName("Reset to Defaults Menu Item");
|
||||
testRunner.ClickByName("Yes Button");
|
||||
testRunner.WaitForReloadAll(() =>
|
||||
{
|
||||
testRunner.ClickByName("Printer Overflow Menu");
|
||||
testRunner.ClickByName("Reset to Defaults Menu Item");
|
||||
testRunner.ClickByName("Yes Button");
|
||||
});
|
||||
|
||||
testRunner.OpenPrintPopupMenu();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue