[JBoss JIRA] (ARQ-1032) Drone: shortcut for starting Selenium Server
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQ-1032:
-------------------------------
Summary: Drone: shortcut for starting Selenium Server
Key: ARQ-1032
URL: https://issues.jboss.org/browse/ARQ-1032
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.1.0.CR1
Reporter: Lukáš Fryč
Assignee: Karel Piwko
When starting Drone test development, user needs to obtain appropriate version of {{selenium-server.jar}}, start it with {{java}} and provide all necessary properties like {{chrome.driver.binary}}.
Required information is already available in {{pom.xml}} (selenium version) and {{arquillian.xml}} (driver properties).
To allow quick bootstrap, Drone should provide method for user to ramp up to development quickly.
Following integration can be considered:
* JBDS
* Forge - {{drone start}}
* Maven - {{mvn arquillian:drone-start}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (ARQRUSH-39) Enhance Positive/Negative buttons
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQRUSH-39:
---------------------------------
Summary: Enhance Positive/Negative buttons
Key: ARQRUSH-39
URL: https://issues.jboss.org/browse/ARQRUSH-39
Project: Arquillian RushEye
Issue Type: Enhancement
Components: Manager
Reporter: Lukáš Fryč
Assignee: Jakub Dunia
The possitive button should be called "Accept changes".
Negative button can be removed, since its functionality would be duplicated with Next Case / Next Test.
----
"Accept changes" will actually act on what is selected:
1. if Test is selected
* one particular test's pattern is accepted as new pattern, replacing the old one
2. if Case is selected
* all the changes in underlying Case are accepted (adopted to current suite)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] Created: (ARQ-591) Create extension for running JavaScript unit tests by Drone
by Lukáš Fryč (JIRA)
Create extension for running JavaScript unit tests by Drone
-----------------------------------------------------------
Key: ARQ-591
URL: https://issues.jboss.org/browse/ARQ-591
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Extension - Drone
Reporter: Lukáš Fryč
This extension can handle several JS unit testing libraries,
but at initial point, I suggest to go with QUnit [1].
At first, extension needs to go through available test definitions
and prepare list of tests to provide it to test runner (JUnit/TestNG).
At second, test needs to open tested page by Selenium (Drone).
It would be necessary to run tests by several particular browser brands (HtmlUnit, Firefox, IE, ...).
QUnit tests are traditionally at once - you open the page and all tests are ran.
Then runner needs to collect all the results OR it can force QUnit to run only one test at time.
[1] http://docs.jquery.com/Qunit
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (ARQ-1110) can't create IPhoneDriver
by Jan Papousek (JIRA)
Jan Papousek created ARQ-1110:
---------------------------------
Summary: can't create IPhoneDriver
Key: ARQ-1110
URL: https://issues.jboss.org/browse/ARQ-1110
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: 1.0.2.Final
Reporter: Jan Papousek
Assignee: Jan Papousek
IPhoneDriverFactory tries to create an IPhoneDriver with the given remote address and capabilities, but IPhoneDriver doesn't this type of constructor.
{code}
java.lang.IllegalStateException: Unable to find a constructor for implementation class org.openqa.selenium.iphone.IPhoneDriver(URL,DesiredCapabilities). Please make sure that you haven't misconfigured Arquillian Drone, e.g. you set an implementationClass which does not match the field/parameter type in your code.
at org.jboss.arquillian.drone.webdriver.factory.SecurityActions.newInstance(SecurityActions.java:144)
at org.jboss.arquillian.drone.webdriver.factory.IPhoneDriverFactory.createInstance(IPhoneDriverFactory.java:84)
at org.jboss.arquillian.graphene.drone.factory.GrapheneIPhoneDriverFactory.createInstance(GrapheneIPhoneDriverFactory.java:74)
at org.jboss.arquillian.graphene.drone.factory.GrapheneIPhoneDriverFactory.createInstance(GrapheneIPhoneDriverFactory.java:39)
at org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:129)
at org.jboss.arquillian.graphene.drone.factory.GrapheneWebDriverFactory.createInstance(GrapheneWebDriverFactory.java:80)
at org.jboss.arquillian.graphene.drone.factory.GrapheneWebDriverFactory.createInstance(GrapheneWebDriverFactory.java:41)
at org.jboss.arquillian.drone.impl.DroneCreator.createWebTestBrowser(DroneCreator.java:71)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.drone.impl.DroneConfigurator.configureDrone(DroneConfigurator.java:116)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:103)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:113)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
{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, 7 months
[JBoss JIRA] (ARQ-1048) RemoteWebDriver ignores old configuration properties
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1048:
--------------------------------
Summary: RemoteWebDriver ignores old configuration properties
Key: ARQ-1048
URL: https://issues.jboss.org/browse/ARQ-1048
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.1.0.CR2
Reporter: Karel Piwko
Assignee: Karel Piwko
Fix For: drone_1.2.0.next
If you set up a Drone Webdriver with given capability, original configuration is completely ignored, e.g.:
{code:java}
public void simpleWebdriverTest(@Drone RemoteWebDriver webdriver) {
webdriver.get(contextPath.toString());
webdriver.findElement(By.id("name")).sendKeys("Samuel");
webdriver.findElement(By.id("email")).sendKeys("samuel(a)vimes.dw");
webdriver.findElement(By.id("phoneNumber")).sendKeys("1234567890");
webdriver.findElement(By.id("register")).submit();
// FIXME with Graphene, you can wait for a request
Assert.assertTrue(true);
}
{code}
{code:xml}
<!-- configuration for WebDrivers -->
<extension qualifier="webdriver">
<property name="browserCapabilities">${browser:chrome}</property>
<property name="firefoxBinary">/opt/firefox-9.0.1/firefox-bin</property>
<property name="chromeBinary">/opt/google/chrome/chrome</property>
<property name="chromeSwitches">--user-data-dir=/tmp --disable-web-security</property>
</extension>
{code:xml}
Both chromeBinary and chromeSwitches are ignored. If you use @Drone ChromeDriver instead, you get proper capabilities setup.
This means that a mapping between capabilities and Arquillian properties has to be improved.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months