Skip to content

Commit a4d96d8

Browse files
committed
update e2e
1 parent 11bfe02 commit a4d96d8

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

packages/compass-e2e-tests/tests/data-modeling-tab.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,14 @@ describe('Data Modeling tab', function () {
9696
const dataModelEditor = browser.$(Selectors.DataModelEditor);
9797
await dataModelEditor.waitForDisplayed();
9898

99-
let nodes = await getDiagramNodes(browser);
100-
expect(nodes).to.have.lengthOf(2);
101-
expect(nodes).to.deep.equal([
102-
'test.testCollection1',
103-
'test.testCollection2',
104-
]);
99+
browser.waitUntil(async () => {
100+
let nodes = await getDiagramNodes(browser);
101+
expect(nodes).to.have.lengthOf(2);
102+
expect(nodes).to.deep.equal([
103+
'test.testCollection1',
104+
'test.testCollection2',
105+
]);
106+
});
105107

106108
// Apply change to the model
107109
const newModel = {

packages/compass-web/sandbox/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const App = () => {
137137
isAtlas && !!enableGenAIFeaturesAtlasOrg,
138138
optInDataExplorerGenAIFeatures:
139139
isAtlas && !!optInDataExplorerGenAIFeatures,
140-
enableDataModeling: false,
140+
enableDataModeling: true,
141141
}}
142142
onTrack={sandboxTelemetry.track}
143143
onDebug={sandboxLogger.debug}

0 commit comments

Comments
 (0)