docs: clarify hierarchical injectors (#28700)

PR Close #28700
This commit is contained in:
Kapunahele Wong
2019-02-13 12:50:30 -05:00
committed by Andrew Kushnir
parent 3cf2005a93
commit 1c6516199e
55 changed files with 1638 additions and 194 deletions

View File

@ -0,0 +1,21 @@
import { browser, element, by } from 'protractor';
describe('Resolution-modifiers-example', function () {
beforeAll(function () {
browser.get('');
});
it('shows basic flower emoji', function() {
expect(element.all(by.css('p')).get(0).getText()).toContain('🌸');
});
it('shows basic leaf emoji', function() {
expect(element.all(by.css('p')).get(1).getText()).toContain('🌿');
});
it('shows yellow flower in host child', function() {
expect(element.all(by.css('p')).get(9).getText()).toContain('🌼');
});
});