mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 22:13:31 +00:00
Bug 886299 - Adding code to re-enter the awesomescreen tabs before longtapping on the entries; r=gbrown
This commit is contained in:
parent
3e1c8cb5c0
commit
c537d53d4d
@ -85,11 +85,18 @@ public class testShareLink extends BaseTest {
|
||||
|
||||
// Test the share popup in the Bookmarks tab
|
||||
ListView blist = getBookmarksList("about:firefox");
|
||||
// Make sure we are in the Bookmarks tab
|
||||
// TODO: understand why this is sometimes necessary
|
||||
mSolo.clickOnText("Bookmarks");
|
||||
View bookmark = blist.getChildAt(1); // Getting child at 1 because 0 might be the Desktop folder
|
||||
mSolo.clickLongOnView(bookmark);
|
||||
verifySharePopup(shareOptions,"bookmarks");
|
||||
|
||||
// Test the share popup in the History tab
|
||||
clickOnAwesomeBar();
|
||||
// Make sure we are in the History tab
|
||||
// TODO: understand why this is sometimes necessary
|
||||
mSolo.clickOnText("History");
|
||||
ListView hlist = getHistoryList("Today|Yesterday");
|
||||
View history = hlist.getChildAt(1); // Getting child at 1 because 0 might be the "Today" label
|
||||
mSolo.clickLongOnView(history);
|
||||
|
Loading…
x
Reference in New Issue
Block a user