From 728e21424c20ff0739f531ba3a3981a994947b40 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Thu, 18 Dec 2014 19:50:31 +0000 Subject: [PATCH] Adjust casperjs test. No Issue - Keeping the tag entry input focused after sendKeys seems to make the test more reliable. --- core/test/functional/client/editor_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test/functional/client/editor_test.js b/core/test/functional/client/editor_test.js index e4841f56b2..10ec6572c7 100644 --- a/core/test/functional/client/editor_test.js +++ b/core/test/functional/client/editor_test.js @@ -289,7 +289,7 @@ CasperTest.begin('Tag editor', 7, function suite(test) { casper.thenClick('#entry-tags input.tag-input'); casper.then(function () { - casper.sendKeys('#entry-tags input.tag-input', tagName); + casper.sendKeys('#entry-tags input.tag-input', tagName, {keepFocus: true}); casper.sendKeys('#entry-tags input.tag-input', casper.page.event.key.Enter); });