diff --git a/packages/react-native-editor/__device-tests__/gutenberg-editor-block-insertion.test.js b/packages/react-native-editor/__device-tests__/gutenberg-editor-block-insertion.test.js index 4dfbf56f52a5a..abebfc7486962 100644 --- a/packages/react-native-editor/__device-tests__/gutenberg-editor-block-insertion.test.js +++ b/packages/react-native-editor/__device-tests__/gutenberg-editor-block-insertion.test.js @@ -2,7 +2,7 @@ * Internal dependencies */ import { blockNames } from './pages/editor-page'; -import { isAndroid, swipeDown, clickMiddleOfElement } from './helpers/utils'; +import { isAndroid, clickMiddleOfElement } from './helpers/utils'; import testData from './helpers/test-data'; describe( 'Gutenberg Editor tests for Block insertion', () => { @@ -95,12 +95,10 @@ describe( 'Gutenberg Editor tests for Block insertion', () => { await editorPage.dismissKeyboard(); } - await swipeDown( editorPage.driver ); const titleElement = await editorPage.getTitleElement( { autoscroll: true, } ); await titleElement.click(); - await titleElement.click(); await editorPage.addNewBlock( blockNames.paragraph ); paragraphBlockElement = await editorPage.getTextBlockAtPosition(