File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -234,10 +234,9 @@ async function dragNode(
234234 y : Math . round ( startPosition . y + 15 ) , // we're aiming for the header area (top of the node)
235235 } )
236236 . down ( { button : 0 } ) // Left mouse button
237- . pause ( 250 )
238- . move ( { duration : 250 , origin : 'pointer' , ...pointerActionMoveParams } )
239- . pause ( 250 )
240- // .move({ duration: 250, origin: 'pointer', ...pointerActionMoveParams })
237+ . move ( { duration : 500 , origin : 'pointer' , ...pointerActionMoveParams } )
238+ . pause ( 500 )
239+ . move ( { duration : 500 , origin : 'pointer' , ...pointerActionMoveParams } )
241240 . up ( { button : 0 } ) // Release the left mouse button
242241 . perform ( ) ;
243242 await browser . waitForAnimations ( node ) ;
@@ -314,6 +313,12 @@ async function dragDiagramToShowAndClick(
314313 y : baseY ,
315314 } )
316315 . down ( { button : 0 } ) // Left mouse button.
316+ . move ( {
317+ duration : 250 ,
318+ origin : 'pointer' ,
319+ x : moveX ,
320+ y : moveY ,
321+ } )
317322 . pause ( 250 )
318323 . move ( {
319324 duration : 250 ,
@@ -1007,6 +1012,13 @@ describe('Data Modeling tab', function () {
10071012 ] )
10081013 ) ;
10091014
1015+ // Drag the node to show the new fields.
1016+ await dragNode (
1017+ browser ,
1018+ Selectors . DataModelPreviewCollection ( 'test.testCollection-one' ) ,
1019+ { x : - 100 , y : - 200 }
1020+ ) ;
1021+
10101022 // Ensure the new fields are in the diagram.
10111023 const newFieldText = await browser
10121024 . $ (
You can’t perform that action at this time.
0 commit comments