2016-06-23 12:47:54 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2016-05-02 01:54:19 -04:00
|
|
|
import {verifyNoBrowserErrors} from '@angular/platform-browser/testing_e2e';
|
2015-12-06 07:21:34 -05:00
|
|
|
|
|
|
|
describe('SVG', function() {
|
|
|
|
|
2016-05-02 01:54:19 -04:00
|
|
|
var URL = 'all/playground/src/svg/index.html';
|
2015-12-06 07:21:34 -05:00
|
|
|
|
|
|
|
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');
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|