mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 719954 - Change testBookmark to actually load a bookmark instead of a history item. r=gbrown,jmaher
This commit is contained in:
parent
5a06a2ef87
commit
adc2b503ed
@ -15,18 +15,15 @@ public class testBookmark extends BaseTest {
|
||||
mActions.sendSpecialKey(Actions.SpecialKey.DOWN);
|
||||
hitEnterAndWait();
|
||||
|
||||
//Click the top item in the history list.
|
||||
//Click the top item in the bookmark list.
|
||||
clickOnAwesomeBar();
|
||||
mActions.sendSpecialKey(Actions.SpecialKey.RIGHT);
|
||||
mActions.sendSpecialKey(Actions.SpecialKey.RIGHT);
|
||||
ArrayList<TextView> l = null;
|
||||
while (l == null || l.size() < 1) {
|
||||
// first item in the history list is a heading ("Today");
|
||||
// click on the next one
|
||||
l = mSolo.clickInList(2);
|
||||
l = mSolo.clickInList(1);
|
||||
}
|
||||
waitForLoad();
|
||||
|
||||
//Order of history items isn't constant so URL can't be tested.
|
||||
//Items in bookmarks aren't constant so URL can't be tested.
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user