Skip to content

Commit

Permalink
Ignore widgetselection tests on non-webkit browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Samsel authored and mlewand committed Feb 7, 2018
1 parent 5db0c71 commit bfef43d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/plugins/widgetselection/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
}

bender.test( {
setUp: function() {
if ( !CKEDITOR.env.webkit ) {
assert.ignore();
}
},

'test `ctrl + a` key combination': function() {
var editor = this.editor;
this.editorBot.setHtmlWithSelection( '<p contenteditable="false">Non-editable</p><p>This ^is text</p>' );
Expand Down
3 changes: 3 additions & 0 deletions tests/plugins/widgetselection/manual/specialcharacters.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ <h1>Hello world!</h1>
</div>

<script>
if ( !CKEDITOR.env.webkit ) {
bender.ignore();
}
CKEDITOR.replace( 'editor1', {
extraAllowedContent: 'p[contenteditable]'
} );
Expand Down

0 comments on commit bfef43d

Please sign in to comment.