File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -313,12 +313,6 @@ async function dragDiagramToShowAndClick(
313313 y : baseY ,
314314 } )
315315 . down ( { button : 0 } ) // Left mouse button.
316- . move ( {
317- duration : 250 ,
318- origin : 'pointer' ,
319- x : moveX ,
320- y : moveY ,
321- } )
322316 . pause ( 250 )
323317 . move ( {
324318 duration : 250 ,
@@ -999,7 +993,13 @@ describe('Data Modeling tab', function () {
999993 ) ;
1000994 await browser . $ ( Selectors . SideDrawer ) . click ( ) ; // Unfocus the input.
1001995
1002- // Drag the node into view to ensure the add nested field button is visible.
996+ // Drag the node to show add new field buttons and new fields.
997+ await dragNode (
998+ browser ,
999+ Selectors . DataModelPreviewCollection ( 'test.testCollection-one' ) ,
1000+ { x : - 100 , y : - 200 }
1001+ ) ;
1002+
10031003 await dragDiagramToShowAndClick (
10041004 browser ,
10051005 Selectors . DataModelAddNestedFieldBtn ( 'test.testCollection-one' , [
@@ -1012,13 +1012,6 @@ describe('Data Modeling tab', function () {
10121012 ] )
10131013 ) ;
10141014
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-
10221015 // Ensure the new fields are in the diagram.
10231016 const newFieldText = await browser
10241017 . $ (
You can’t perform that action at this time.
0 commit comments