core-resource-app-test
Version:
App that contains assets and scripts for the core apps
19 lines (14 loc) • 570 B
JavaScript
;
describe('Loading 0100-basic-first-example.html', function() {
beforeEach(function() {
browser.get('0100-basic-first-example.html');
browser.wait(function() {
return element(by.css('img.leaflet-tile-loaded')).isPresent();
}, 5000);
}, 30000);
it('should load the Leaflet map inside the directive tag', function() {
element(by.className('angular-leaflet-map')).getText().then(function(text) {
expect(text).toBe("+\n-\nLeaflet | © OpenStreetMap contributors");
});
});
});