File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/compass-e2e-tests/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments