2015-02-11 14:40:29 -05:00
|
|
|
var testUtil = require('angular2/e2e_test/test_util');
|
2015-01-08 13:02:23 -05:00
|
|
|
|
|
|
|
describe('ng2 element injector benchmark', function () {
|
|
|
|
|
2015-02-02 19:25:34 -05:00
|
|
|
var URL = 'benchmarks/src/element_injector/element_injector_benchmark.html';
|
2015-01-08 13:02:23 -05:00
|
|
|
|
2015-01-09 21:00:04 -05:00
|
|
|
afterEach(testUtil.verifyNoBrowserErrors);
|
2015-01-08 13:02:23 -05:00
|
|
|
|
|
|
|
it('should not throw errors', function() {
|
|
|
|
browser.get(URL);
|
2015-01-09 21:00:04 -05:00
|
|
|
testUtil.clickAll(['#instantiate', '#instantiateDirectives']);
|
2015-01-08 13:02:23 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
});
|