Skip to content

Commit

Permalink
make clipboard assertion more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 12, 2016
1 parent 81ee3a5 commit 7039dfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/specs/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ module.exports = {

// copy vuex state
.click('.top .buttons .button:nth-child(1)')
.waitFor(100)
.assert.containsText('.top .buttons .button:nth-child(1) .message', '(Copied to clipboard!)')
.waitForElementNotVisible('.top .buttons .button:nth-child(1) .message', 3000)

Expand Down

0 comments on commit 7039dfe

Please sign in to comment.