File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,13 @@ describe('Data Modeling tab', function () {
585585 const relationshipItem = drawer . $ (
586586 Selectors . DataModelCollectionRelationshipItem ( relationshipId )
587587 ) ;
588- expect ( await relationshipItem . isDisplayed ( ) ) . to . be . true ;
588+ await relationshipItem . waitForDisplayed ( ) ;
589589 expect ( await relationshipItem . getText ( ) ) . to . include ( 'testCollection-one' ) ;
590590
591591 // Edit the relationship
592- await relationshipItem . waitForDisplayed ( ) ;
592+ await relationshipItem
593+ . $ ( Selectors . DataModelCollectionRelationshipItemEdit )
594+ . waitForDisplayed ( ) ;
593595 await relationshipItem
594596 . $ ( Selectors . DataModelCollectionRelationshipItemEdit )
595597 . click ( ) ;
@@ -619,7 +621,7 @@ describe('Data Modeling tab', function () {
619621 . click ( ) ;
620622
621623 // Verify that the relationship is removed from the list and the diagram
622- expect ( await relationshipItem . isExisting ( ) ) . to . be . false ;
624+ await relationshipItem . waitForDisplayed ( { reverse : true } ) ;
623625 await getDiagramEdges ( browser , 0 ) ;
624626 } ) ;
625627
You can’t perform that action at this time.
0 commit comments