(el: ElementFinder)
| 40 | describe('(with `ShadowDom` view encapsulation)', () => { |
| 41 | const helloWorldShadowEl = element(by.css('hello-world-shadow-el')); |
| 42 | const getShadowDomText = (el: ElementFinder) => |
| 43 | browser.executeScript('return arguments[0].shadowRoot.textContent', el); |
| 44 | |
| 45 | it('should display "Hello World!"', function () { |
| 46 | expect(getShadowDomText(helloWorldShadowEl)).toBe('Hello World!'); |
no test coverage detected
searching dependent graphs…