File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -119,13 +119,15 @@ describe('Data Modeling tab', function () {
119119 JSON . stringify ( newModel )
120120 ) ;
121121 await browser . clickVisible ( Selectors . DataModelEditorApplyButton ) ;
122+ await browser . waitForAnimations ( dataModelEditor ) ;
122123
123124 // Verify that the model is updated
124125 nodes = await getDiagramNodes ( browser ) ;
125126 expect ( nodes ) . to . have . lengthOf ( 0 ) ;
126127
127128 // Undo the change
128129 await browser . clickVisible ( Selectors . DataModelUndoButton ) ;
130+ await browser . waitForAnimations ( dataModelEditor ) ;
129131 nodes = await getDiagramNodes ( browser ) ;
130132 expect ( nodes ) . to . have . lengthOf ( 2 ) ;
131133 expect ( nodes ) . to . deep . equal ( [
@@ -136,6 +138,7 @@ describe('Data Modeling tab', function () {
136138 // Redo the change
137139 await browser . waitForAriaDisabled ( Selectors . DataModelRedoButton , false ) ;
138140 await browser . clickVisible ( Selectors . DataModelRedoButton ) ;
141+ await browser . waitForAnimations ( dataModelEditor ) ;
139142 nodes = await getDiagramNodes ( browser ) ;
140143 expect ( nodes ) . to . have . lengthOf ( 0 ) ;
141144
You can’t perform that action at this time.
0 commit comments