File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ function onButtonPushed(testCase, ~)
8080
8181 fcn = @()addButton(section , icon , name );
8282 button = testCase .verifyWarningFree(fcn );
83+ drawnow
8384
8485 % Verify the buttons changed
8586 newButton = section .Component(end );
@@ -103,6 +104,7 @@ function onButtonPushed(testCase, ~)
103104
104105 fcn = @()addStateButton(section , icon , name );
105106 button = testCase .verifyWarningFree(fcn );
107+ drawnow
106108
107109 % Verify the buttons changed
108110 newButton = section .Component(end );
@@ -124,6 +126,7 @@ function onButtonPushed(testCase, ~)
124126
125127 fcn = @()addVerticalSection(section );
126128 section = testCase .verifyWarningFree(fcn );
129+ drawnow
127130
128131 end % function
129132
@@ -141,6 +144,7 @@ function onButtonPushed(testCase, ~)
141144 section(sIdx ).addButton(" " , string(bIdx ));
142145 end
143146 end
147+ drawnow
144148
145149 % Attach the sections to the toolbar
146150 testCase .verifySetProperty(" Section" , section )
You can’t perform that action at this time.
0 commit comments