Skip to content

Commit

Permalink
Tests: IEs sometimes move focus asynchronously (and that affects the …
Browse files Browse the repository at this point in the history
…next test).
  • Loading branch information
Reinmar committed Oct 27, 2014
1 parent d7b4e48 commit eb8e9b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/core/focusManager/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ bender.test(
'test editor focus - toolbar focused': function() {
var ed = this.editor, bot = this.editorBot;
bot.execCommand( 'toolbarFocus' );
this.assertFocus();

// IEs move focus asynchronously in some cases...
wait( function() {
this.assertFocus();
}, 100 );
},

// #11647
Expand Down

0 comments on commit eb8e9b0

Please sign in to comment.