UNPKG

mohsen-angular-leaflet-directive

Version:

angular-leaflet-directive - An AngularJS directive to easily interact with Leaflet maps

16 lines (12 loc) 480 B
'use strict'; describe('Loading 0203-layers-imageoverlay-example.html', function() { beforeEach(function() { browser.get('0203-layers-imageoverlay-example.html'); browser.wait(function() { return element(by.xpath('//img[contains(@src, "andes.jpg")]')).isPresent(); }, 5000); }); it('should load the static image of the andes on the map', function() { expect(element(by.xpath('//img[contains(@src, "andes.jpg")]')).isPresent()).toBe(true); }); });