Skip to content

Commit

Permalink
Adjust casperjs test.
Browse files Browse the repository at this point in the history
No Issue
- Keeping the tag entry input focused after sendKeys seems to
  make the test more reliable.
  • Loading branch information
jaswilli committed Dec 18, 2014
1 parent 68df133 commit 728e214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/test/functional/client/editor_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 728e214

Please sign in to comment.