mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142699 - testReaderModeTitle: Wait for Gecko to be ready and reduce waiting time for reader mode to 30 seconds again. r=mcomella
This commit is contained in:
parent
16e78acde2
commit
ae3a8d4650
@ -33,10 +33,9 @@ public class ToolbarComponent extends BaseComponent {
|
||||
|
||||
private static final String URL_HTTP_PREFIX = "http://";
|
||||
|
||||
// We are waiting up to 60 seconds instead of the default waiting time
|
||||
// because reader mode parsing can take quite some time on slower devices
|
||||
// See Bug 1142699
|
||||
private static final int READER_MODE_WAIT_MS = 60000;
|
||||
// We are waiting up to 30 seconds instead of the default waiting time because reader mode
|
||||
// parsing can take quite some time on slower devices (Bug 1142699)
|
||||
private static final int READER_MODE_WAIT_MS = 30000;
|
||||
|
||||
public ToolbarComponent(final UITestContext testContext) {
|
||||
super(testContext);
|
||||
|
@ -1,5 +1,6 @@
|
||||
package org.mozilla.gecko.tests;
|
||||
|
||||
import org.mozilla.gecko.tests.helpers.GeckoHelper;
|
||||
import org.mozilla.gecko.tests.helpers.NavigationHelper;
|
||||
|
||||
/**
|
||||
@ -7,6 +8,8 @@ import org.mozilla.gecko.tests.helpers.NavigationHelper;
|
||||
*/
|
||||
public class testReaderModeTitle extends UITest {
|
||||
public void testReaderModeTitle() {
|
||||
GeckoHelper.blockForReady();
|
||||
|
||||
NavigationHelper.enterAndLoadUrl(StringHelper.ROBOCOP_READER_MODE_BASIC_ARTICLE);
|
||||
|
||||
mToolbar.pressReaderModeButton();
|
||||
|
Loading…
Reference in New Issue
Block a user