- angular-compile.git
- test
- angular2-protractor
- test.js
This file ( 768B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
browser.ignoreSynchronization = true;
describe('CompileHtml', () => {
browser.get(`index.html`);
const clicker = (button, counter) => {
const total = 5;
for(let i =0; i < total - 1; i++) {
button.click();
browser.waitForAngular();
}
const count = counter.getText();
expect(count).toEqual(total.toString());
}
it('Service', () => {
const button = element(by.id('button-container'))
const counter = element(by.id('counter-container'));
clicker(button, counter);
});
it('Attribute', () => {
const button = element(by.id('button-attribute'))
const counter = element(by.id('counter-attribute'));
clicker(button, counter);
});
});