Skip to content

Commit

Permalink
remove swipe down and extra click on title element (#43080)
Browse files Browse the repository at this point in the history
Co-authored-by: jos <17252150+jostnes@users.noreply.github.com>
  • Loading branch information
jostnes and jostnes authored Aug 12, 2022
1 parent 041a7aa commit fbb0559
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit fbb0559

Please sign in to comment.