From 7039dfeff287c0017fa4eab92796879702895de2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 12 Dec 2016 17:53:38 -0500 Subject: [PATCH] make clipboard assertion more stable --- test/specs/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/specs/test.js b/test/specs/test.js index b41978189..4f32f5e69 100644 --- a/test/specs/test.js +++ b/test/specs/test.js @@ -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)