0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Adjust casperjs test.

No Issue
- Keeping the tag entry input focused after sendKeys seems to
  make the test more reliable.
This commit is contained in:
Jason Williams 2014-12-18 19:50:31 +00:00
parent 68df133d65
commit 728e21424c

View file

@ -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);
});