Have DomElementSchemaRegistry support namespaced elements, so that it does not fail when directives are applied in SVG (or xlink). Without this fix, directives or property bindings cannot be used in SVG. Related to #5547 Closes #5653
16 lines
400 B
TypeScript
16 lines
400 B
TypeScript
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
|
|
|
describe('SVG', function() {
|
|
|
|
var URL = 'playground/src/svg/index.html';
|
|
|
|
afterEach(verifyNoBrowserErrors);
|
|
beforeEach(() => { browser.get(URL); });
|
|
|
|
it('should display SVG component contents', function() {
|
|
var svgText = element.all(by.css('g text')).get(0);
|
|
expect(svgText.getText()).toEqual('Hello');
|
|
});
|
|
|
|
});
|