By star-szr on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.2.x
Introduced in version:
10.2.0
Issue links:
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