Skip to content

Commit ba1a6c3

Browse files
authored
chore(compass-e2e-tests): Pass browser to goToRunAggregation (#3124)
1 parent f4d651d commit ba1a6c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/compass-e2e-tests/tests/collection-aggregations-tab.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ describe('Collection aggregations tab', function () {
663663
await browser.setAceValue(Selectors.stageEditor(0), '{}');
664664

665665
// Run and wait for results
666-
await goToRunAggregation();
666+
await goToRunAggregation(browser);
667667

668668
const errorBanner = await browser.$(Selectors.AggregationErrorBanner);
669669
await errorBanner.waitForDisplayed();
@@ -717,6 +717,9 @@ describe('Collection aggregations tab', function () {
717717
// TODO: test Collapse/Expand all stages button (currently broken)
718718
});
719719

720+
// TODO: Move this test back to a single describe block to avoid a massive
721+
// duplication of the setup code
722+
//
720723
// eslint-disable-next-line mocha/max-top-level-suites
721724
describe('Aggregation Explain', function () {
722725
let compass: Compass;

0 commit comments

Comments
 (0)