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:
parent
68df133d65
commit
728e21424c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue