Skip to content

Commit

Permalink
Ignore desktop/mobile tests on not supported env.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Apr 21, 2021
1 parent b57995b commit 17ee32c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophover.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor' );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea'
Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophoverkama.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor', {
skin: 'kama'
} );
Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/desktophovermoono.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor', {
skin: 'moono'
} );
Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehover.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( !bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor' );
CKEDITOR.replace( 'div-editor', {
extraPlugins: 'divarea'
Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehoverkama.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( !bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor', {
skin: 'kama'
} );
Expand Down
4 changes: 4 additions & 0 deletions tests/plugins/toolbar/manual/hover/mobilehovermoono.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ <h2><code>Div</code>-based editor</h2>
</div>

<script>
if ( !bender.tools.env.mobile ) {
bender.ignore();
}

CKEDITOR.replace( 'iframe-editor', {
skin: 'moono'
} );
Expand Down

0 comments on commit 17ee32c

Please sign in to comment.