@@ -60,7 +60,7 @@ describe('Data Modeling tab', function () {
6060 await screenshotIfFailed ( compass , this . currentTest ) ;
6161 } ) ;
6262
63- it ( 'creates a new data model using an existing connection' , async function ( ) {
63+ it . only ( 'creates a new data model using an existing connection' , async function ( ) {
6464 await browser . navigateToDataModeling ( ) ;
6565
6666 // Click on create new data model button
@@ -96,12 +96,14 @@ describe('Data Modeling tab', function () {
9696 const dataModelEditor = browser . $ ( Selectors . DataModelEditor ) ;
9797 await dataModelEditor . waitForDisplayed ( ) ;
9898
99- let nodes = await getDiagramNodes ( browser ) ;
100- expect ( nodes ) . to . have . lengthOf ( 2 ) ;
101- expect ( nodes ) . to . deep . equal ( [
102- 'test.testCollection1' ,
103- 'test.testCollection2' ,
104- ] ) ;
99+ browser . waitUntil ( async ( ) => {
100+ let nodes = await getDiagramNodes ( browser ) ;
101+ expect ( nodes ) . to . have . lengthOf ( 2 ) ;
102+ expect ( nodes ) . to . deep . equal ( [
103+ 'test.testCollection1' ,
104+ 'test.testCollection2' ,
105+ ] ) ;
106+ } ) ;
105107
106108 // Apply change to the model
107109 const newModel = {
0 commit comments