mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 1105887 - Wait for panel in testAboutHomeVisibility; r=mcomella
This commit is contained in:
parent
18d594a471
commit
aa15f056c4
@ -205,6 +205,8 @@ public class AboutHomeComponent extends BaseComponent {
|
||||
*/
|
||||
public AboutHomeComponent navigateToBuiltinPanelType(PanelType panelType) throws IllegalArgumentException {
|
||||
Tabs.getInstance().loadUrl(AboutPages.getURLForBuiltinPanelType(panelType));
|
||||
final int expectedPanelIndex = getPanelIndexForDevice(panelType);
|
||||
waitForPanelIndex(expectedPanelIndex);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user