build(bazel): update bazel integration test to test secondary angular imports such as @angular/common/http (#24170)

PR Close #24170
This commit is contained in:
Greg Magolan
2018-05-29 15:35:48 -07:00
committed by Victor Berchet
parent 6948ef125c
commit 5cbcb5680b
16 changed files with 1040 additions and 37 deletions

View File

@ -0,0 +1,12 @@
import {browser, by, element, ExpectedConditions} from 'protractor';
describe('angular example application', () => {
it('should display: Hello World!', (done) => {
browser.get('');
const div = element(by.css('div'));
div.getText().then(t => expect(t).toEqual(`Hello world!`));
element(by.css('input')).sendKeys('!');
div.getText().then(t => expect(t).toEqual(`Hello world!!`));
done();
});
});