[JBoss JIRA] (ARQGRA-230) Override a toString method in BooleanConditionWrapper
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-230?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-230:
------------------------------
Original Estimate: 1 hour
Remaining Estimate: 1 hour
> Override a toString method in BooleanConditionWrapper
> -----------------------------------------------------
>
> Key: ARQGRA-230
> URL: https://issues.jboss.org/browse/ARQGRA-230
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Jiří Štefek
> Assignee: Jan Papousek
> Priority: Trivial
> Fix For: 2.0.0.Alpha3
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> It would be great if BooleanConditionWrapper had its own toString() method, so the logs from selenium could be more readable than:
> {code}org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for org.jboss.arquillian.graphene.condition.BooleanConditionWrapper@198de25e{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (ARQ-1251) Arquillian Drone is unable to instantiate Firefox driver if acceptSslCerts, webStorageEnabled, loggingPrefs properties are used in arquillian.xml
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ARQ-1251?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration updated ARQ-1251:
-----------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=888458
> Arquillian Drone is unable to instantiate Firefox driver if acceptSslCerts, webStorageEnabled, loggingPrefs properties are used in arquillian.xml
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ARQ-1251
> URL: https://issues.jboss.org/browse/ARQ-1251
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Reporter: Tomas Repel
> Assignee: Karel Piwko
>
> Description of problem:
> If you set these properties via arquillian.xml, the Drone fails to instantiate the Firefox driver. The problem is during creation of org.openqa.selenium.firefox.FirefoxDriver instance, these properties are cast from String to e.g. Boolean (in case of acceptSslCerts) resulting in ClassCastException.
> Snippet of arquillian.xml:
> <extension qualifier="webdriver">
> <property name="acceptSslCerts">false</property>
> <property name="webStorageEnabled">false</property>
> <property name="loggingPrefs">someLoggingPrefs</property>
> </extension>
> Snippet of Firefox driver injection that fails:
> @Drone
> FirefoxDriver browser;
> Version-Release number of selected component (if applicable):
> Arquillian 1.0.3.Final
> Arquillian Drone extension 1.1.0.Final
> Selenium 2.27.0 (WebDriver 2)
> How reproducible:
> Always.
> Steps to Reproduce:
> 1. launch functional test using code snippets above
>
> Actual results:
> Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
> at org.openqa.selenium.firefox.FirefoxDriver.populateProfile(FirefoxDriver.java:148)
> at org.openqa.selenium.firefox.FirefoxDriver.extractProfile(FirefoxDriver.java:133)
> at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
> at org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance(SecurityActions.java:142)
> ... 50 more
> Expected results:
> It launches Firefox browser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years
[JBoss JIRA] (ARQ-1251) Arquillian Drone is unable to instantiate Firefox driver if acceptSslCerts, webStorageEnabled, loggingPrefs properties are used in arquillian.xml
by Tomas Repel (JIRA)
Tomas Repel created ARQ-1251:
--------------------------------
Summary: Arquillian Drone is unable to instantiate Firefox driver if acceptSslCerts, webStorageEnabled, loggingPrefs properties are used in arquillian.xml
Key: ARQ-1251
URL: https://issues.jboss.org/browse/ARQ-1251
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Drone
Reporter: Tomas Repel
Assignee: Karel Piwko
Description of problem:
If you set these properties via arquillian.xml, the Drone fails to instantiate the Firefox driver. The problem is during creation of org.openqa.selenium.firefox.FirefoxDriver instance, these properties are cast from String to e.g. Boolean (in case of acceptSslCerts) resulting in ClassCastException.
Snippet of arquillian.xml:
<extension qualifier="webdriver">
<property name="acceptSslCerts">false</property>
<property name="webStorageEnabled">false</property>
<property name="loggingPrefs">someLoggingPrefs</property>
</extension>
Snippet of Firefox driver injection that fails:
@Drone
FirefoxDriver browser;
Version-Release number of selected component (if applicable):
Arquillian 1.0.3.Final
Arquillian Drone extension 1.1.0.Final
Selenium 2.27.0 (WebDriver 2)
How reproducible:
Always.
Steps to Reproduce:
1. launch functional test using code snippets above
Actual results:
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.openqa.selenium.firefox.FirefoxDriver.populateProfile(FirefoxDriver.java:148)
at org.openqa.selenium.firefox.FirefoxDriver.extractProfile(FirefoxDriver.java:133)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:100)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance(SecurityActions.java:142)
... 50 more
Expected results:
It launches Firefox browser.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years