File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,14 @@ 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
592592 await relationshipItem . waitForDisplayed ( ) ;
593+ await relationshipItem
594+ . $ ( Selectors . DataModelCollectionRelationshipItemEdit )
595+ . waitForDisplayed ( ) ;
593596 await relationshipItem
594597 . $ ( Selectors . DataModelCollectionRelationshipItemEdit )
595598 . click ( ) ;
@@ -619,7 +622,7 @@ describe('Data Modeling tab', function () {
619622 . click ( ) ;
620623
621624 // Verify that the relationship is removed from the list and the diagram
622- expect ( await relationshipItem . isExisting ( ) ) . to . be . false ;
625+ await relationshipItem . waitForDisplayed ( { reverse : true } ) ;
623626 await getDiagramEdges ( browser , 0 ) ;
624627 } ) ;
625628
You can’t perform that action at this time.
0 commit comments