maputnik/test/specs/simple.js

16 lines
379 B
JavaScript
Raw Normal View History

2017-04-04 16:51:30 +02:00
var assert = require('assert');
2017-04-04 17:03:02 +02:00
var config = require("../config/specs");
2017-04-04 16:51:30 +02:00
describe('maputnik', function() {
it('check logo exists', function () {
browser.url(config.baseUrl);
browser.waitForExist(".maputnik-toolbar-link");
var src = browser.getAttribute(".maputnik-toolbar-link img", "src");
assert.equal(src, config.baseUrl+'/img/maputnik.png');
});
});