diff --git a/protractor.conf.js b/protractor.conf.js index 84642f0c7..ec70ace53 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -32,17 +32,19 @@ exports.config = { ] }, - /** - * If you're interacting with a non-Angular application, - * uncomment the below onPrepare section, - * which disables Angular-specific test synchronisation. - */ - // onPrepare: function() { - // browser.waitForAngularEnabled(false); - // }, + onPrepare: function() { + require('ts-node/register'); + + /** + * If you're interacting with a non-Angular application, + * uncomment the below onPrepare section, + * which disables Angular-specific test synchronisation. + */ + // browser.waitForAngularEnabled(false); + }, jasmineNodeOpts: { - requires: [ 'ts-node/register' ], + // Jasmine configuration, see https://serenity-js.org/api/jasmine-adapter/interface/JasmineConfig/ }, capabilities: {