2015-02-05 17:35:00 -05:00
|
|
|
var testUtil = require('../../angular2/e2e_test/test_util');
|
2015-01-15 13:52:48 -05:00
|
|
|
|
|
|
|
describe('ng1.x largetable benchmark', function () {
|
2015-02-02 19:25:34 -05:00
|
|
|
var URL = 'benchmarks_external/src/largetable/largetable_benchmark.html';
|
2015-01-15 13:52:48 -05:00
|
|
|
|
|
|
|
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']);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|