You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/12/05 17:12:42 UTC
[tapestry-5] branch master updated: Fixing ClassCastExceptin in
SeleniumTestCase.setup()
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new aeeb4fc Fixing ClassCastExceptin in SeleniumTestCase.setup()
aeeb4fc is described below
commit aeeb4fc22fc49e3e14a1a0257ebec1941769c9f2
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sat Dec 5 14:12:23 2020 -0300
Fixing ClassCastExceptin in SeleniumTestCase.setup()
---
.../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 6592420..af22cd9 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
@@ -389,7 +389,7 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
this.testContext = context;
selenium = (Selenium) context.getAttribute(TapestryTestConstants.SELENIUM_ATTRIBUTE);
- webDriver = ((WrapsDriver) selenium).getWrappedDriver();
+ webDriver = ((WebDriverBackedSelenium) selenium).getWrappedDriver();
baseURL = (String) context.getAttribute(TapestryTestConstants.BASE_URL_ATTRIBUTE);
errorReporter = (ErrorReporter) context.getAttribute(TapestryTestConstants.ERROR_REPORTER_ATTRIBUTE);
}