File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/compass-e2e-tests Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1501,6 +1501,7 @@ export const DataModelCollectionRelationshipItemEdit = `[aria-label="Edit relati
1501
1501
export const DataModelCollectionRelationshipItemDelete = `[aria-label="Delete relationship"]` ;
1502
1502
export const DataModelCollectionSidebarItemDelete = `[aria-label="Delete collection"]` ;
1503
1503
export const DataModelCollectionSidebarItemDeleteButton = `[data-action="delete"]` ;
1504
+ export const DataModelInfoBannerCloseBtn = `[data-testid="data-info-banner"] [aria-label="Close Message"]` ;
1504
1505
1505
1506
// Side drawer
1506
1507
export const SideDrawer = `[data-testid="${ getDrawerIds ( ) . root } "]` ;
Original file line number Diff line number Diff line change @@ -115,6 +115,11 @@ async function setupDiagram(
115
115
// Wait for the diagram editor to load
116
116
const dataModelEditor = browser . $ ( Selectors . DataModelEditor ) ;
117
117
await dataModelEditor . waitForDisplayed ( ) ;
118
+
119
+ // Close the info banner to get it out of the way
120
+ const infoBannerCloseBtn = browser . $ ( Selectors . DataModelInfoBannerCloseBtn ) ;
121
+ await infoBannerCloseBtn . waitForClickable ( ) ;
122
+ await browser . clickVisible ( Selectors . DataModelInfoBannerCloseBtn ) ;
118
123
}
119
124
120
125
async function selectCollectionOnTheDiagram (
You can’t perform that action at this time.
0 commit comments