Skip to content
Snippets Groups Projects

Issue #3371963: Update Nightwatch to 3.x

Closed Binayak Ghosh requested to merge issue/drupal-3371963:3371963-update-nightwatch-to into 11.x
Files
5
@@ -17,7 +17,11 @@ module.exports.assertion = function (expected) {
};
this.command = (callback) =>
// eslint-disable-next-line prefer-arrow-callback
this.api.execute(function () {
return window.sessionStorage.getItem('js_testing_log_test.warnings');
}, callback);
this.api.execute(
function () {
return window.sessionStorage.getItem('js_testing_log_test.warnings');
},
[],
callback,
);
};
Loading