Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/compass-e2e-tests/tests/data-modeling-tab.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,14 @@ describe('Data Modeling tab', function () {
const relationshipItem = drawer.$(
Selectors.DataModelCollectionRelationshipItem(relationshipId)
);
expect(await relationshipItem.isDisplayed()).to.be.true;
await relationshipItem.waitForDisplayed();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

expect(await relationshipItem.getText()).to.include('testCollection-one');

// Edit the relationship
await relationshipItem.waitForDisplayed();
await relationshipItem
.$(Selectors.DataModelCollectionRelationshipItemEdit)
.waitForDisplayed();
await relationshipItem
.$(Selectors.DataModelCollectionRelationshipItemEdit)
.click();
Expand Down Expand Up @@ -619,7 +622,7 @@ describe('Data Modeling tab', function () {
.click();

// Verify that the relationship is removed from the list and the diagram
expect(await relationshipItem.isExisting()).to.be.false;
await relationshipItem.waitForDisplayed({ reverse: true });
await getDiagramEdges(browser, 0);
});

Expand Down