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:

committed by
Victor Berchet

parent
6948ef125c
commit
5cbcb5680b
12
integration/bazel/test/e2e/app.spec.ts
Normal file
12
integration/bazel/test/e2e/app.spec.ts
Normal 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();
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user