Skip to content

Commit adc19a1

Browse files
committed
asset number of selected collections
1 parent b65f4c8 commit adc19a1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,11 @@ async function setupDiagram(
5858
);
5959
await browser.clickVisible(Selectors.CreateDataModelConfirmButton);
6060

61-
// TODO: Confirm all collections are selected by default (COMPASS-9309)
62-
// Note: We'll need to change the UI, right now the labels are disconnected from the checkboxes
61+
// Ensure that all the collections are selected by default
62+
const text = await browser.$(Selectors.CreateDataModelModal).getText();
63+
// 2 is based on the collections we create in beforeEach hook
64+
expect(text).to.contain('2/2 total collections selected.');
65+
6366
await browser.clickVisible(Selectors.CreateDataModelConfirmButton);
6467

6568
// Wait for the diagram editor to load

0 commit comments

Comments
 (0)