-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-test-_misc.js
41 lines (28 loc) · 1.03 KB
/
ui-test-_misc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
const kDefaultRoute = require('./controller.js').OLSKControllerRoutes().shift();
describe('OLSKFollow_Misc', function () {
before(function() {
return browser.OLSKVisit(kDefaultRoute);
});
describe('OLSKFollowTwitter', function test_OLSKFollowTwitter () {
it('sets target', function () {
return browser.assert.attribute(OLSKFollowTwitter, 'target', '_blank');
});
it('sets href', function () {
return browser.assert.attribute(OLSKFollowTwitter, 'href', 'https://rosano.ca/twitter');
});
it('sets text', function () {
return browser.assert.text(OLSKFollowTwitter, 'Twitter');
});
});
describe('OLSKFollowMastodon', function test_OLSKFollowMastodon () {
it('sets target', function () {
return browser.assert.attribute(OLSKFollowMastodon, 'target', '_blank');
});
it('sets href', function () {
return browser.assert.attribute(OLSKFollowMastodon, 'href', 'https://rosano.ca/mastodon');
});
it('sets text', function () {
return browser.assert.text(OLSKFollowMastodon, 'Mastodon');
});
});
});