Skip to content

Commit

Permalink
webcompat#272 gear is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
karlcow committed Aug 14, 2015
1 parent e39050a commit 633d101
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/functional/labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ define([
// The teardown should remove all labels which would have
// been put during the process, specifically if it fails
// in the middle of testing.
},

'label gear is visible': function () {
return this.remote
.setFindTimeout(intern.config.wc.pageLoadTimeout)
.get(require.toUrl(url(2)))
.findByCssSelector('.LabelEditor-wrapper')
.isDisplayed()
.then(function (displayed) {
assert.isTrue(displayed, 'The label gear icon is visible once logged');
})
.end();
}
};
});
Expand Down

0 comments on commit 633d101

Please sign in to comment.