Wait for button to become enabled
This commit is contained in:
parent
d3e988cc7e
commit
d6b06fae92
1 changed files with 4 additions and 0 deletions
|
|
@ -672,6 +672,10 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.Delay(() => printerConnection.CommunicationState == CommunicationStates.Connected);
|
||||
}
|
||||
|
||||
// Wait for button to become enabled
|
||||
var printerPopup = testRunner.GetWidgetByName("PrintPopupMenu", out _);
|
||||
testRunner.Delay(() => printerPopup.Enabled);
|
||||
|
||||
testRunner.ClickByName("PrintPopupMenu");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue