26 lines
694 B
JavaScript
26 lines
694 B
JavaScript
var testUtil = require('../../angular2/e2e_test/test_util');
|
|
|
|
describe('ng1.x largetable benchmark', function () {
|
|
var URL = 'benchmarks_external/src/largetable/largetable_benchmark.html';
|
|
|
|
afterEach(testUtil.verifyNoBrowserErrors);
|
|
|
|
[
|
|
'baselineBinding',
|
|
'baselineInterpolation',
|
|
'ngBind',
|
|
'ngBindOnce',
|
|
'interpolation',
|
|
'interpolationAttr',
|
|
'ngBindFn',
|
|
'interpolationFn',
|
|
'ngBindFilter',
|
|
'interpolationFilter'
|
|
].forEach(function(benchmarkType) {
|
|
it('should log the stats with: ' + benchmarkType, function() {
|
|
browser.get(URL + '?benchmarkType='+benchmarkType);
|
|
testUtil.clickAll(['#createDom', '#destroyDom']);
|
|
});
|
|
});
|
|
});
|