progama.spec.js
1.98 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(function(){
'use strict';
describe('The "Programa" page', function () {
var page = browser.get('/');
// beforeEach(function () {
// browser.get('/');
// });
describe('Common layout', function (){
require('./layout.js')();
});
describe('Component: article-preview', function (){});
describe('Component: article-content', function (){});
// describe('Component: article-template-1', function (){});
describe('Component: proposal-random', function (){
it('should have a loading state', function() {});
it('should have a breadcrumb', function() {});
it('should have the text-content of proposal', function() {});
it('should have a vote up button', function() {});
it('should have a vote skip button', function() {});
it('should have a vote down button', function() {});
it('should have a social share area', function() {});
it('should have the ranking position', function() {});
it('should have a ranking button trigger', function() {});
it('should be accessible', function() {});
});
describe('Component: proposal-ranking', function (){
it('should have a loading state', function() {});
it('should have a close button trigger', function() {});
it('should have the ranking position of proposal', function() {});
it('should have the text-content of proposal', function() {});
it('should have the number of views', function() {});
it('should have the number of votes up', function() {});
it('should have the number of votes down', function() {});
it('should have a link to proposal', function() {});
it('should have a link to all proposals', function() {});
it('should be accessible', function() {});
});
describe('Component: proposal-maker', function (){
it('should be accessible', function() {});
});
describe('Component: proposal-ranking', function (){
it('should be accessible', function() {});
});
});
})();