<commit_before>package com.elpassion.android.commons.espresso

import android.support.test.espresso.ViewInteraction
import android.support.test.espresso.action.ViewActions

fun ViewInteraction.click() = perform(ViewActions.click())

fun ViewInteraction.typeText(text: String) = perform(ViewActions.typeText(text))

fun ViewInteraction.pressImeActionButton() = perform(ViewActions.pressImeActionButton())<commit_msg>Add replace text method to View actions.<commit_after>package com.elpassion.android.commons.espresso

import android.support.test.espresso.ViewInteraction
import android.support.test.espresso.action.ViewActions

fun ViewInteraction.click() = perform(ViewActions.click())

fun ViewInteraction.typeText(text: String) = perform(ViewActions.typeText(text))

fun ViewInteraction.replaceText(text: String) = perform(ViewActions.replaceText(text))

fun ViewInteraction.pressImeActionButton() = perform(ViewActions.pressImeActionButton())
{'fraction_non_alphanumeric': 0.10476190476190476, 'fraction_numerical': 0.0, 'mean_word_length': 8.653061224489797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6891807', 'n_tokens_mistral': 274, 'n_tokens_neox': 273, 'n_words': 41}