@@ -696,7 +696,7 @@ describe('Data Modeling tab', function () {
696696 // Rename the collection (it submits on unfocus).
697697 await browser . setValueVisible (
698698 browser . $ ( Selectors . DataModelNameInput ) ,
699- 'testCollection- renamedOne'
699+ 'renamedOne'
700700 ) ;
701701 await drawer . click ( ) ; // Unfocus the input.
702702
@@ -705,16 +705,14 @@ describe('Data Modeling tab', function () {
705705 const collectionName = await browser . getInputByLabel (
706706 browser . $ ( Selectors . SideDrawer ) . $ ( Selectors . DataModelNameInputLabel )
707707 ) ;
708- return (
709- ( await collectionName . getValue ( ) ) === 'testCollection-renamedOne'
710- ) ;
708+ return ( await collectionName . getValue ( ) ) === 'renamedOne' ;
711709 } ) ;
712710
713711 // Select the second collection and verify that the new name is in the diagram.
714712 await selectCollectionOnTheDiagram ( browser , 'test.testCollection-two' ) ;
715713 const nodes = await getDiagramNodes ( browser , 2 ) ;
716714 expect ( nodes ) . to . have . lengthOf ( 2 ) ;
717- expect ( nodes [ 0 ] . id ) . to . equal ( 'test.testCollection- renamedOne' ) ;
715+ expect ( nodes [ 0 ] . id ) . to . equal ( 'test.renamedOne' ) ;
718716 expect ( nodes [ 1 ] . id ) . to . equal ( 'test.testCollection-two' ) ;
719717
720718 // Remove the collection.
@@ -731,7 +729,7 @@ describe('Data Modeling tab', function () {
731729 // Verify that the collection is removed from the list and the diagram.
732730 const nodesPostDelete = await getDiagramNodes ( browser , 1 ) ;
733731 expect ( nodesPostDelete ) . to . have . lengthOf ( 1 ) ;
734- expect ( nodesPostDelete [ 0 ] . id ) . to . equal ( 'test.testCollection- renamedOne' ) ;
732+ expect ( nodesPostDelete [ 0 ] . id ) . to . equal ( 'test.renamedOne' ) ;
735733 } ) ;
736734
737735 it ( 'adding a new collection from the toolbar' , async function ( ) {
0 commit comments