mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 915449 - Get EditText view instead of using Solo.getEditText; r=mcomella
This commit is contained in:
parent
d3be5977e3
commit
d1c5c80700
@ -194,11 +194,11 @@ abstract class BaseTest extends ActivityInstrumentationTestCase2<Activity> {
|
||||
boolean success = waitForCondition(new Condition() {
|
||||
@Override
|
||||
public boolean isSatisfied() {
|
||||
EditText urlEditText = mSolo.getEditText(0);
|
||||
EditText urlEditText = (EditText) mSolo.getView(R.id.url_edit_text);
|
||||
if (urlEditText.isInputMethodTarget()) {
|
||||
return true;
|
||||
} else {
|
||||
mSolo.clickOnEditText(0);
|
||||
mSolo.clickOnView(urlEditText);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user