[JBoss JIRA] (ARQ-1045) Fail fast if path to browser is not valid
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1045?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1045:
-----------------------------
Labels: starter (was: )
> Fail fast if path to browser is not valid
> -----------------------------------------
>
> Key: ARQ-1045
> URL: https://issues.jboss.org/browse/ARQ-1045
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.0.CR2
> Reporter: Karel Piwko
> Labels: starter
> Fix For: drone_1.2.0.next
>
>
> There is no reason to delegate failure to Selenium. If browser binary does not exist for default selenium, simply fail fast. E.g.
> {code:xml}
> <property name="browser">*firefox /opt/firefox-9.0.1/firefox-bin</property>
> {code}
> {code}
> java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: java.lang.RuntimeException: Firefox 3 could not be found in the path!
> Please add the directory containing ''firefox.exe'' to your PATH environment
> variable, or explicitly specify a path to Firefox 3 like this:
> *firefox3 c:\blah\firefox.exe
> at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:109)
> at org.jboss.arquillian.drone.selenium.factory.DefaultSeleniumFactory.createInstance(DefaultSeleniumFactory.java:67)
> {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
11 years, 4 months
[JBoss JIRA] (ARQ-1045) Fail fast if path to browser is not valid
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1045?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1045:
-----------------------------
Fix Version/s: (was: drone_1.2.0.next)
> Fail fast if path to browser is not valid
> -----------------------------------------
>
> Key: ARQ-1045
> URL: https://issues.jboss.org/browse/ARQ-1045
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.0.CR2
> Reporter: Karel Piwko
> Labels: starter
>
> There is no reason to delegate failure to Selenium. If browser binary does not exist for default selenium, simply fail fast. E.g.
> {code:xml}
> <property name="browser">*firefox /opt/firefox-9.0.1/firefox-bin</property>
> {code}
> {code}
> java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: java.lang.RuntimeException: Firefox 3 could not be found in the path!
> Please add the directory containing ''firefox.exe'' to your PATH environment
> variable, or explicitly specify a path to Firefox 3 like this:
> *firefox3 c:\blah\firefox.exe
> at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:109)
> at org.jboss.arquillian.drone.selenium.factory.DefaultSeleniumFactory.createInstance(DefaultSeleniumFactory.java:67)
> {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
11 years, 4 months
[JBoss JIRA] (ARQ-1059) Expose events for instantiation and destruction of drivers
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1059?page=com.atlassian.jira.plugin.s... ]
Karel Piwko closed ARQ-1059.
----------------------------
Closing the issue. First, Enhancer SPI was added. Second, these events were added as a part of Drone 1.2.0.Alpha3 SPI rewrite.
> Expose events for instantiation and destruction of drivers
> ----------------------------------------------------------
>
> Key: ARQ-1059
> URL: https://issues.jboss.org/browse/ARQ-1059
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.0.CR2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
>
> Right now, Graphene needs to wrap all specific factories with higher priority and delegate to original factories - in the process, Graphene creates proxy for real instance (to allow its magic) and during destruction, Graphene "unwraps" original instance and pass it to real implementation.
> It forces Graphene reflect changes in drivers implemented by Drone and ties it to the particular version of Drone.
> ---
> The suggested events should allow listeners to "modify" the created instance (e.g. Graphene could then provide its proxy instead and setup real implementation to context).
> Similarly during destruction, event should be fired before {{destroy}} method, which would allow to reflect changes and provide the real instance to be destroyed (Graphene would unwrap proxy and pass real driver instance to destroy and reset the context).
--
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
11 years, 4 months
[JBoss JIRA] (ARQ-1462) Increase Instance creation timeout
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1462?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1462:
-----------------------------
Assignee: Karel Piwko
Fix Version/s: drone_1.2.0.Beta1
Affects Version/s: drone_1.2.0.Alpha3
Component/s: Extension - Drone
> Increase Instance creation timeout
> ----------------------------------
>
> Key: ARQ-1462
> URL: https://issues.jboss.org/browse/ARQ-1462
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.0.Alpha3
> Reporter: Karel Piwko
> Assignee: Karel Piwko
> Fix For: drone_1.2.0.Beta1
>
>
> Increase default value of 5 seconds to more reasonable default. If, for instance user is specifying Firefox Profile, 5 seconds is too short.
> Increase to 30 seconds by default.
--
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
11 years, 4 months
[JBoss JIRA] (ARQ-1462) Increase Instance creation timeout
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1462:
--------------------------------
Summary: Increase Instance creation timeout
Key: ARQ-1462
URL: https://issues.jboss.org/browse/ARQ-1462
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Karel Piwko
Increase default value of 5 seconds to more reasonable default. If, for instance user is specifying Firefox Profile, 5 seconds is too short.
Increase to 30 seconds by default.
--
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
11 years, 4 months
[JBoss JIRA] (ARQ-1315) Make possible to configure firefox preferences via arquillian.xml
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1315?page=com.atlassian.jira.plugin.s... ]
Karel Piwko resolved ARQ-1315.
------------------------------
Assignee: Karel Piwko
Fix Version/s: drone_1.2.0.Beta1
Resolution: Done
Pushed in https://github.com/arquillian/arquillian-extension-drone/commit/e5f445f46...
Now, you can use <property name="firefoxUserPreferences">target/test-classes/prefs.js</property>, the same format of file that Firefox uses to store its about:config preferences.
> Make possible to configure firefox preferences via arquillian.xml
> -----------------------------------------------------------------
>
> Key: ARQ-1315
> URL: https://issues.jboss.org/browse/ARQ-1315
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.1.Final, drone_1.2.0.Alpha2
> Reporter: Fabian Schwarzer
> Assignee: Karel Piwko
> Fix For: drone_1.2.0.Beta1
>
>
> In order to configure a FF extension (see ARQ-1259) one needs to add properties to FF (like on the about:config page) via arquillian.xml. This could be done by preparing a FF profile and configure this in arquillian.xml. Unfortunately drone does not seem to pick up the firefox_profile property in arquillian.xml (propably due to org.openqa.selenium.firefox.FirefoxDriver.java:184)
> So it would be great if there were some means to configure FF properties; either by configuring them in the arquillian.xml like done in ARQ-1259, or by making it possible to pass a profile via
> <extension qualifier="webdriver">
> <property name="browserCapabilities">firefox</property>
> <property name="firefox_profile">/path/to/profile</property>
> </extension>
> see also ARQ-1245
--
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
11 years, 4 months
[JBoss JIRA] (ARQ-1179) Mark a test so it will only run against certain browsers
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1179?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1179:
-----------------------------
Fix Version/s: (was: drone_1.2.0.next)
> Mark a test so it will only run against certain browsers
> --------------------------------------------------------
>
> Key: ARQ-1179
> URL: https://issues.jboss.org/browse/ARQ-1179
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Reporter: Brian Leathem
>
> It would be useful to be able to annotate a particular test so it will only run when driven by a particular set of browsers.
> Some sample use cases:
> # Some tests cannot target the incomplete js impl found in html unit. I would mark such tests not to run when htmlunit is the configured browser (in CI for instance)
> # Some tests may target non-standard behaviour in certain browsers (older IE versions for instance) and may not make sense to run in all browsers. I would mark such tests not to run only when IE is the configured 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
11 years, 4 months