[java-idp-integration-tests] 01/02: Remove Firefox profile
Tom Zeller
tzeller at dragonacea.biz
Thu Sep 20 15:31:22 EDT 2018
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=dfc9280f87ce05133230f5c437527551a95331cb
commit dfc9280f87ce05133230f5c437527551a95331cb
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Sep 20 14:19:14 2018 -0500
Remove Firefox profile
Use 'webdriver.firefox.profile' system property instead.
---
src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 3ab0c42..69ead54 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -55,8 +55,6 @@ import org.openqa.selenium.Point;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
-import org.openqa.selenium.firefox.FirefoxProfile;
-import org.openqa.selenium.firefox.internal.ProfilesIni;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.remote.BrowserType;
import org.openqa.selenium.remote.CapabilityType;
@@ -1154,10 +1152,7 @@ public abstract class BaseIntegrationTest
*/
@BeforeMethod(enabled = false)
public void setUpFirefoxDriver() throws IOException {
- final ProfilesIni allProfiles = new ProfilesIni();
- final FirefoxProfile profile = allProfiles.getProfile("FirefoxShibtest");
- driver = new FirefoxDriver(profile);
-
+ driver = new FirefoxDriver();
driver.manage().window().setPosition(new Point(0, 0));
driver.manage().window().setSize(new Dimension(1024, 768));
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list