mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 823165 - fix robocop tests to work on panda boards. r=gbrown
This commit is contained in:
parent
2e53e50313
commit
42e9f5bddc
@ -34,10 +34,12 @@ public class testAwesomebarSwipes extends BaseTest {
|
||||
ViewPager pager = (ViewPager)mSolo.getView(ViewPager.class, 0);
|
||||
mAsserter.is(pager.getCurrentItem(), 0, "All pages is selected");
|
||||
|
||||
mSolo.scrollToSide(Solo.RIGHT);
|
||||
int width = mDriver.getGeckoWidth() / 2;
|
||||
int y = mDriver.getGeckoHeight() / 2;
|
||||
mActions.drag(width, 0, y, y);
|
||||
mAsserter.is(pager.getCurrentItem(), 1, "Bookmarks page is selected");
|
||||
|
||||
mSolo.scrollToSide(Solo.LEFT);
|
||||
mActions.drag(0, width, y, y);
|
||||
mAsserter.is(pager.getCurrentItem(), 0, "All pages is selected");
|
||||
|
||||
// Test tapping on the tab strip changes tabs
|
||||
|
Loading…
Reference in New Issue
Block a user