We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93cb165 commit a122209Copy full SHA for a122209
tests/functional/lib/issue-list.js
@@ -147,6 +147,21 @@ define([
147
.then(function (className) {
148
assert.notInclude(className, 'is-active', 'Searching should clear all filters');
149
});
150
+ },
151
+
152
+ 'pressing g goes to github issues': function() {
153
+ return this.remote
154
+ .setFindTimeout(intern.config.wc.pageLoadTimeout)
155
+ .get(require.toUrl(url))
156
+ .findByCssSelector('body').click()
157
+ .type('g')
158
+ .end()
159
+ // look for the issues container on github.com/foo/bar/issues
160
+ .findByCssSelector('.repo-container .issues-listing').isDisplayed()
161
+ .then(function (isDisplayed) {
162
+ assert.equal(isDisplayed, true, 'We\'re at GitHub now.');
163
+ })
164
+ .end();
165
}
166
167
0 commit comments