Skip to content

Commit

Permalink
test(Selenium): remove calls to FirefoxBinary::setTimeout
Browse files Browse the repository at this point in the history
This function has been removed. Indeed, FirefoxBinary has been
deprecated and we're meant to move to FirefoxOptions.
  • Loading branch information
edalex-ian committed Nov 5, 2024
1 parent eaeac17 commit 792b61c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.tle.webtests.framework;

import static java.util.concurrent.TimeUnit.SECONDS;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.Maps;
import com.tle.common.Check;
Expand Down Expand Up @@ -142,7 +140,6 @@ public WebDriver getDriver(Class<?> clazz) throws IOException {
} else {
binary = new FirefoxBinary();
}
binary.setTimeout(SECONDS.toMillis(120));
FirefoxProfile profile = new FirefoxProfile();
profile.addExtension(getClass(), "firebug-1.10.2-fx.xpi");
profile.addExtension(getClass(), "firepath-0.9.7-fx.xpi");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.tle.webtests.framework.setup;

import static java.util.concurrent.TimeUnit.SECONDS;

import com.tle.webtests.framework.Assert;
import com.tle.webtests.framework.PageContext;
import com.tle.webtests.framework.TestConfig;
Expand Down Expand Up @@ -175,7 +173,6 @@ private FirefoxDriver getDriver() {
} else {
binary = new FirefoxBinary();
}
binary.setTimeout(SECONDS.toMillis(120));
FirefoxProfile profile = new FirefoxProfile();
// profile.addExtension(getClass(), "firebug-1.7.3-fx.xpi");
profile.setPreference("extensions.firebug.currentVersion", "999");
Expand Down

0 comments on commit 792b61c

Please sign in to comment.