maputnik/test/specs/simple.js

16 lines
381 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");
2017-10-11 14:16:04 +02:00
assert.equal(src, config.baseUrl+'/img/logo-color.svg');
2017-04-04 16:51:30 +02:00
});
});