Skip to content

Commit c52ee56

Browse files
committed
update e2e
1 parent ed03343 commit c52ee56

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
@@ -128,12 +128,14 @@ describe('Data Modeling tab', function () {
128128

129129
const dataModelEditor = browser.$(Selectors.DataModelEditor);
130130

131-
let nodes = await getDiagramNodes(browser);
132-
expect(nodes).to.have.lengthOf(2);
133-
expect(nodes).to.deep.equal([
134-
'test.testCollection1',
135-
'test.testCollection2',
136-
]);
131+
browser.waitUntil(async () => {
132+
let nodes = await getDiagramNodes(browser);
133+
expect(nodes).to.have.lengthOf(2);
134+
expect(nodes).to.deep.equal([
135+
'test.testCollection1',
136+
'test.testCollection2',
137+
]);
138+
});
137139

138140
// Apply change to the model
139141
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)