angular-docs-cn/modules/e2e_test_lib/e2e_test/test_util.es6

13 lines
285 B
JavaScript

var benchpress = require('../../../tools/benchpress/index.js');
module.exports = {
verifyNoBrowserErrors: benchpress.verifyNoBrowserErrors,
clickAll: clickAll
};
function clickAll(buttonSelectors) {
buttonSelectors.forEach(function(selector) {
$(selector).click();
});
}