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
1 unresolved thread
Files
5
@@ -17,7 +17,11 @@ module.exports.assertion = function (expected) {
@@ -17,7 +17,11 @@ module.exports.assertion = function (expected) {
};
};
this.command = (callback) =>
this.command = (callback) =>
// eslint-disable-next-line prefer-arrow-callback
// eslint-disable-next-line prefer-arrow-callback
this.api.execute(function () {
this.api.execute(
return window.sessionStorage.getItem('js_testing_log_test.warnings');
function () {
}, callback);
return window.sessionStorage.getItem('js_testing_log_test.warnings');
 
},
 
[],
 
callback,
 
);
};
};
Loading