Skip to content

Commit

Permalink
Tests: Manual test improvments. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Sep 17, 2019
1 parent a223207 commit d800441
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/plugins/widget/manual/partialmask.html
Expand Up @@ -13,7 +13,7 @@
bender.ignore();
}

CKEDITOR.addCss( '.left { float: left; width: 200px; } .right { float: right; width: 200px; }' );
CKEDITOR.addCss( '.left { float: left; width: 200px; } .right { float: right; width: 200px; } .cke_widget_partial_mask { border: 1px solid red };' );

CKEDITOR.stylesSet.add( 'default', [
{ name: 'None', type: 'widget', widget: 'partialMasked', attributes: { 'class': '' }, group: 'alignment' },
Expand Down
8 changes: 4 additions & 4 deletions tests/plugins/widget/manual/partialmask.md
Expand Up @@ -2,17 +2,17 @@
@bender-tags: 4.13.0, feature, 3240
@bender-ckeditor-plugins: wysiwygarea,toolbar,clipboard,image2,sourcearea,list,undo,stylescombo

**Note:**
**Note: Test with dev tools open checking mask size and position after each step. Additionally, each mask has a red border so it's positioning is visible without inspecting mask element.**

**Please test with dev tools open and after each step check mask size and position. Each time it should adjust to the changes made.**

Expected and unexpected results are always the same:
Expected and unexpected results are the same for each step:

### Expected result:
Mask adjusted to the new size of caption element. There is only one mask element for widget.

### Unexpected result:
Mask stayed the same size, didn't move properly or there are more than one mask elements.

### Steps:
1. Check if mask covers `caption` element of image widget.
1. Check text widget - the first `editable` should be editable and the second one should be masked.
1. Resize image using resize handler.
Expand Down

0 comments on commit d800441

Please sign in to comment.