Index: /CKEditor/tests/tt/4445/1.html =================================================================== --- /CKEditor/tests/tt/4445/1.html (revision 4841) +++ /CKEditor/tests/tt/4445/1.html (revision 4842) @@ -30,12 +30,14 @@ tc.resume( function() { - assert.areEqual( editor, thisEditor, 'editor instance doesn\'t match.' ); - assert.isTrue( editor.checkDirty(), "editor should be dirty." ); - assert.isTrue( editor.focusManager.hasFocus, "editor should have focus." ); - // There's more than nothing in the editor now( test the fix body logic has triggered ). - assert.isTrue( editor.getSnapshot().search( /
/i ) != -1, "editor should has a paragraph established." ); + editor.focus(); + tc.wait( function(){ + assert.areEqual( editor, thisEditor, 'editor instance doesn\'t match.' ); + assert.isTrue( editor.checkDirty(), "editor should be dirty." ); + assert.isTrue( editor.focusManager.hasFocus, "editor should have focus." ); + // There's more than nothing in the editor now( test the fix body logic has triggered ). + assert.isTrue( editor.getSnapshot().search( /
/i ) != -1, "editor should has a paragraph established." ); + }, 1000 ); } ); } ); - editor.focus(); tc.wait( function() {