This is an automated email from the ASF dual-hosted git repository. thiagohp pushed a commit to branch TAP5-2744-fixing-selenium-tests in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/TAP5-2744-fixing-selenium-tests by this push: new 0da9f03ac TAP5-2744: explicitly choosing Firefox for Selenium 0da9f03ac is described below commit 0da9f03acb0653ff3bab3ffc3c12b3e40d317b96 Author: Thiago H. de Paula Figueiredo <thi...@arsmachina.com.br> AuthorDate: Wed Dec 28 12:04:00 2022 -0300 TAP5-2744: explicitly choosing Firefox for Selenium --- .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java index d35969f9f..3f74477ab 100644 --- a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java +++ b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java @@ -213,20 +213,21 @@ public abstract class SeleniumTestCase extends Assert implements Selenium final Runnable stopWebServer = launchWebServer(container, webAppFolder, contextPath, port, sslPort); - FirefoxDriverManager.getInstance().setup(); +// FirefoxDriverManager.getInstance().setup(); + FirefoxDriverManager.firefoxdriver().setup(); File ffProfileTemplate = new File(TapestryRunnerConstants.MODULE_BASE_DIR, "src/test/conf/ff_profile_template"); DesiredCapabilities desiredCapabilities = new DesiredCapabilities(); FirefoxOptions options = new FirefoxOptions(desiredCapabilities); options.setLogLevel(FirefoxDriverLogLevel.TRACE); - + if (ffProfileTemplate.isDirectory() && ffProfileTemplate.exists()) { LOGGER.info("Loading Firefox profile from: {}", ffProfileTemplate); FirefoxProfile profile = new FirefoxProfile(ffProfileTemplate); options.setProfile(profile); - profile.layoutOnDisk(); +// profile.layoutOnDisk(); } else {