Skip to content

Commit b402538

Browse files
author
Mike Taylor
committed
Issue #712. Remove problematic labels tests. cf. #773.
1 parent 41ff579 commit b402538

File tree

1 file changed

+0
-54
lines changed

1 file changed

+0
-54
lines changed

tests/functional/labels-auth.js

-54
Original file line numberDiff line numberDiff line change
@@ -52,60 +52,6 @@ define([
5252
assert.isTrue(displayed, 'The label editor widget is open');
5353
})
5454
.end();
55-
},
56-
57-
'Label appears once selected': function () {
58-
return this.remote
59-
.setFindTimeout(intern.config.wc.pageLoadTimeout)
60-
.get(require.toUrl(url('/issues/2')))
61-
.findByCssSelector('.LabelEditor-launcher').click()
62-
.end()
63-
.findByCssSelector('label.LabelEditor-item input[name="contactready"]').click()
64-
.end()
65-
.sleep(500)
66-
.findByCssSelector('.Label--badge').getVisibleText()
67-
.then(function (labelText) {
68-
assert.include(labelText, 'contactready', 'Label appears once it has been selected');
69-
})
70-
.end();
71-
},
72-
73-
'Label has been sent to GitHub': function () {
74-
return this.remote
75-
.setFindTimeout(intern.config.wc.pageLoadTimeout)
76-
.get(require.toUrl(url('/issues/2')))
77-
.findByCssSelector('.LabelEditor-launcher').click()
78-
.end()
79-
.findByCssSelector('label.LabelEditor-item input[name="contactready"]').click()
80-
.end()
81-
.findByCssSelector('.LabelEditor-btn').click()
82-
.end()
83-
.refresh()
84-
.findByCssSelector('.Label--badge')
85-
.getVisibleText()
86-
.then(function (labelText) {
87-
assert.include(labelText, 'contactready', 'Label has been set on Github');
88-
})
89-
.end();
90-
},
91-
92-
'Removes a label': function () {
93-
return this.remote
94-
.setFindTimeout(intern.config.wc.pageLoadTimeout)
95-
.get(require.toUrl(url('/issues/2')))
96-
.findByCssSelector('.LabelEditor-launcher').click()
97-
.end()
98-
.findByCssSelector('label.LabelEditor-item input[name="contactready"]').click()
99-
.end()
100-
.findByCssSelector('.LabelEditor-btn').click()
101-
.end()
102-
.get(require.toUrl(url('/issues/2')))
103-
.findByCssSelector('.Label--badge')
104-
.getVisibleText()
105-
.then(function (labelText) {
106-
assert.include(labelText, 'contactready', 'Label has been removed');
107-
})
108-
.end();
10955
}
11056
};
11157
});

0 commit comments

Comments
 (0)