From c0e4dc3503c89543d0dc11b81cee786ba3e7625c Mon Sep 17 00:00:00 2001 From: Tomasz Jakut Date: Wed, 2 Nov 2016 13:45:30 +0100 Subject: [PATCH] Added failing tests in Safari to ignored. --- tests/core/dom/element/element.js | 6 ++++++ tests/plugins/embedbase/undo.js | 9 ++++++++- tests/plugins/font/font.js | 7 +++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/tests/core/dom/element/element.js b/tests/core/dom/element/element.js index 22cc402450f..923a98b796c 100644 --- a/tests/core/dom/element/element.js +++ b/tests/core/dom/element/element.js @@ -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.$ ); diff --git a/tests/plugins/embedbase/undo.js b/tests/plugins/embedbase/undo.js index 8ee0a187667..692f6663590 100644 --- a/tests/plugins/embedbase/undo.js +++ b/tests/plugins/embedbase/undo.js @@ -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: [], @@ -195,4 +202,4 @@ bender.test( { editor.execCommand( 'embed' ); } ); } -} ); \ No newline at end of file +} ); diff --git a/tests/plugins/font/font.js b/tests/plugins/font/font.js index 38c1ac7ad4c..713af1ef102 100644 --- a/tests/plugins/font/font.js +++ b/tests/plugins/font/font.js @@ -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;