Skip to content

Commit

Permalink
Click block on ios during list test
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jan 31, 2020
1 parent 2a835e2 commit 14370a6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions __device-tests__/gutenberg-editor-lists.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ describe( 'Gutenberg Editor tests for List block', () => {
it( 'should update format to ordered list, using toolbar button', async () => {
const listBlockElement = await editorPage.getListBlockAtPosition( 1 );

// Click List block on Android to force EditText focus
if ( isAndroid() ) {
await listBlockElement.click();
}
// Click List block to force EditText focus
await listBlockElement.click();

// Send a click on the order list format button
await editorPage.clickOrderedListToolBarButton();
Expand Down

0 comments on commit 14370a6

Please sign in to comment.