Skip to content

Commit

Permalink
Update manual tests descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Apr 19, 2021
1 parent 93ef139 commit 551b8b8
Show file tree
Hide file tree
Showing 18 changed files with 306 additions and 178 deletions.
16 changes: 16 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophover.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor' );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea'
} );
</script>
31 changes: 31 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles.

### Expected result

* There are hover styles (e.g. background became darker).

### Unexpected result

* There aren't hover styles.

### Notes:

* Moono Lisa does not provide hover styles for on buttons.

2. Check if clicking on buttons activate their active state.

### Expected result

* Clicked button has active state (e.g background became lighter).

### Unexpected result

* Clicked button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
19 changes: 19 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophoverkama.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor', {
skin: 'kama'
} );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea',
skin: 'kama'
} );
</script>
31 changes: 31 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophoverkama.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles.

### Expected result

* There are hover styles (e.g. background became darker).

### Unexpected result

* There aren't hover styles.

### Notes:

* Repeat the procedure for both on and off buttons (e.g. with "Bold" before and after toggling on).

2. Check if clicking on buttons activate their active state.

### Expected result

* Clicked button has active state (e.g background became lighter).

### Unexpected result

* Clicked button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
19 changes: 19 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophovermoono.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor', {
skin: 'moono'
} );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea',
skin: 'moono'
} );
</script>
31 changes: 31 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophovermoono.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles.

### Expected result

* There are hover styles (e.g. background became darker).

### Unexpected result

* There aren't hover styles.

### Notes:

* Repeat the procedure for both on and off buttons (e.g. with "Bold" before and after toggling on).

2. Check if clicking on buttons activate their active state.

### Expected result

* Clicked button has active state (e.g background became lighter).

### Unexpected result

* Clicked button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
16 changes: 16 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehover.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor' );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea'
} );
</script>
35 changes: 35 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles by long tapping on them and releasing the finger.

### Expected result

* On Android: there are hover styles **during** the tap (e.g. background becomes darker).
* On iOS: hover styles can be absent during the tap.
* There aren't any hover styles **after** releasing the finger.

### Unexpected result

* On Android: there aren't any hover styles **during** the tap.
* There are hover style (e.g. background became darker) **after** releasing the finger.

### Notes:

* Moono Lisa does not provide hover styles for on buttons.
* On iOS long tap can also focus the editor.

2. Check if taping on buttons activate their active state.

### Expected result

* Tapped button has active state (e.g background became lighter or the button seems "pressed").

### Unexpected result

* Tapped button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
19 changes: 19 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehoverkama.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor', {
skin: 'kama'
} );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea',
skin: 'kama'
} );
</script>
35 changes: 35 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehoverkama.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles by long tapping on them and releasing the finger.

### Expected result

* On Android: there are hover styles **during** the tap (e.g. background becomes darker).
* On iOS: hover styles can be absent during the tap.
* There aren't any hover styles **after** releasing the finger.

### Unexpected result

* On Android: there aren't any hover styles **during** the tap.
* There are hover style (e.g. background became darker) **after** releasing the finger.

### Notes:

* Repeat the procedure for both on and off buttons (e.g. with "Bold" before and after toggling on).
* On iOS long tap can also focus the editor.

2. Check if taping on buttons activate their active state.

### Expected result

* Tapped button has active state (e.g background became lighter or the button seems "pressed").

### Unexpected result

* Tapped button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
19 changes: 19 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehovermoono.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2><code>Iframe</code>-based editor</h2>
<div id="iframe-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<h2><code>Div</code>-based editor</h2>
<div id="div-editor" contenteditable="true">
<p>Foo Bar</p>
</div>

<script>
CKEDITOR.replace( 'iframe-editor', {
skin: 'moono'
} );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea',
skin: 'moono'
} );
</script>
35 changes: 35 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehovermoono.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@bender-tags: 4.16.1, 4611, bug
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, basicstyles, stylescombo, language

## Procedure

1. Check if buttons have hover styles by long tapping on them and releasing the finger.

### Expected result

* On Android: there are hover styles **during** the tap (e.g. background becomes darker).
* On iOS: hover styles can be absent during the tap.
* There aren't any hover styles **after** releasing the finger.

### Unexpected result

* On Android: there aren't any hover styles **during** the tap.
* There are hover style (e.g. background became darker) **after** releasing the finger.

### Notes:

* Repeat the procedure for both on and off buttons (e.g. with "Bold" before and after toggling on).
* On iOS long tap can also focus the editor.

2. Check if taping on buttons activate their active state.

### Expected result

* Tapped button has active state (e.g background became lighter or the button seems "pressed").

### Unexpected result

* Tapped button does not have active state.
3. Repeat the procedure for the second editor.
4. Repeat the procedure for rich combos.
7 changes: 0 additions & 7 deletions tests/plugins/toolbar/manual/mobilehover.html

This file was deleted.

51 changes: 0 additions & 51 deletions tests/plugins/toolbar/manual/mobilehover.md

This file was deleted.

9 changes: 0 additions & 9 deletions tests/plugins/toolbar/manual/mobilehoverkama.html

This file was deleted.

Loading

0 comments on commit 551b8b8

Please sign in to comment.