Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

The Nightwatch command drupalModuleInstall (change record) now has an optional second parameter to enable the dependencies for the module.

// core/modules/toolbar/tests/src/Nightwatch/Tests/toolbarTest.js
module.exports = {
  '@tags': ['core'],

  before(browser) {
    browser
      .drupalInstall()
      // The breakpoint module is a dependency of toolbar, if we pass 'true' it will be enabled as well.
      .drupalInstallModule('toolbar', true);
  },
};
Impacts: 
Module developers