Skip to content

Commit

Permalink
Added failing tests in Safari to ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Nov 2, 2016
1 parent a3f706b commit c0e4dc3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
6 changes: 6 additions & 0 deletions tests/core/dom/element/element.js
Expand Up @@ -26,6 +26,12 @@ bender.test( appendDomObjectTests(
return new CKEDITOR.dom.element( document.getElementById( id ) );
},
{
_should: {
ignore: {
test_isIdentical2: CKEDITOR.env.webkit && !CKEDITOR.env.chrome
}
},

test_$: function() {
var element = newElement( document.getElementById( 'test1' ) );
assert.areSame( document.getElementById( 'test1' ), element.$ );
Expand Down
9 changes: 8 additions & 1 deletion tests/plugins/embedbase/undo.js
Expand Up @@ -40,6 +40,13 @@ embedTools.mockJsonp( function() {
} );

bender.test( {
_should: {
ignore: {
'test undo and redo after creation': CKEDITOR.env.webkit && !CKEDITOR.env.chrome,
'test undo and redo after creation and edition': CKEDITOR.env.webkit && !CKEDITOR.env.chrome
}
},

spies: [],
listeners: [],

Expand Down Expand Up @@ -195,4 +202,4 @@ bender.test( {
editor.execCommand( 'embed' );
} );
}
} );
} );
7 changes: 7 additions & 0 deletions tests/plugins/font/font.js
Expand Up @@ -16,6 +16,13 @@
ffCS = 'font-family:Comic Sans MS,cursive';

bender.test( {
_should: {
ignore: {
'test apply font size over another font size (collapsed selection in empty span)':
CKEDITOR.env.webkit && !CKEDITOR.env.chrome
}
},

'test apply font size (collapsed selection)': function() {
var bot = this.editorBot,
editor = this.editor;
Expand Down

0 comments on commit c0e4dc3

Please sign in to comment.