[JBoss JIRA] (ARQ-1340) Drone webdriver is not created during @BeforeClass
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1340?page=com.atlassian.jira.plugin.s... ]
Karel Piwko updated ARQ-1340:
-----------------------------
Fix Version/s: (was: 1.0.4.Final)
Affects Version/s: drone_1.1.1.Final
(was: 1.0.3.Final)
> Drone webdriver is not created during @BeforeClass
> --------------------------------------------------
>
> Key: ARQ-1340
> URL: https://issues.jboss.org/browse/ARQ-1340
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.1.1.Final
> Environment: Arquillian JUnit Container 1.0.3.Final
> Arquillian Graphene Webdriver 2.0.0.Alpha3
> Arquillian Drone dependencies and Selenium dependencies 1.1.1.Final
> Arquillian Core dependencies 1.0.3.Final
> junit 4.8.1
> jdk 1.6
> Reporter: Alex Okrushko
> Assignee: Karel Piwko
>
> Drone webdriver is not created during @BeforeClass, however *is created during @Before or if called by GrapheneContext.getProxy()*
> The following does NOT work:
> {code:java}
> @RunWith(Arquillian.class)
> public class TestDroneLogin {
> @Drone
> private static WebDriver driver;
>
> @BeforeClass
> public static void setup(){
> //GrapheneContext.getProxy().navigate().to("http://google.com");
> driver.navigate().to("http://google.com");
> }
>
> @Test
> public void testInput(){
> driver.findElement(By.cssSelector("input#gbqfq"));
> }
> }
> {code}
> However, if I use {{GrapheneContext.getProxy()}} instead of {{driver}}, everything works as expected:
> {code:java}
> @BeforeClass
> public static void setup(){
> GrapheneContext.getProxy().navigate().to("http://google.com");
> }
> {code}
> ALSO, if {{@Before}} is used then Drone webdriver is created as expected, so this problem is specific to {{@BeforeClass}}
--
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, 10 months
[JBoss JIRA] (ARQ-1253) Warp: fails to transform static class with no-arg constructor which extends class with no-arg constructor
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1253?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen edited comment on ARQ-1253 at 3/6/13 7:11 PM:
------------------------------------------------------------
We remove the child class's Constructors when we create the new Class since they are not needed. We only want to mirror the data over to an object instance not construct a new one.
Tho we do not do the same for any parent class. So the defaultConstructor of child call the argument constructor of parent and fail.
I have a fix for this using sun.misc.Unsafe. Bypassing any normal Object construction.
was (Author: aslak):
We remove the child class's Constructors when we create the new Class since they are not needed. We only want to mirror the data over to the new class not construct a new one.
Tho we do not do the same for any parent class. So the defaultConstructor of child call argument constructor of parent and fail.
I have a fix for this using sun.misc.Unsafe. Bypassing any normal Object construction.
> Warp: fails to transform static class with no-arg constructor which extends class with no-arg constructor
> ---------------------------------------------------------------------------------------------------------
>
> Key: ARQ-1253
> URL: https://issues.jboss.org/browse/ARQ-1253
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Aslak Knutsen
> Priority: Critical
> Fix For: warp_1.0.0.Beta1
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Test:
> https://github.com/arquillian/arquillian-extension-warp/blob/master/ftest...
--
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, 10 months
[JBoss JIRA] (ARQ-1342) Clean up POM
by Bartosz Majsak (JIRA)
[ https://issues.jboss.org/browse/ARQ-1342?page=com.atlassian.jira.plugin.s... ]
Bartosz Majsak updated ARQ-1342:
--------------------------------
Description: Jacoco sneaked into the POM when investing. Apparently it's causing problems with GF embbed - resulting with "java.lang.IncompatibleClassChangeError: Implementing class" (was: Jacoco sneaked in to the POM. Apparently it's causing problems with GF embbed - resulting with "java.lang.IncompatibleClassChangeError: Implementing class")
> Clean up POM
> ------------
>
> Key: ARQ-1342
> URL: https://issues.jboss.org/browse/ARQ-1342
> Project: Arquillian
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Reporter: Bartosz Majsak
> Assignee: Bartosz Majsak
> Fix For: persistence_1.0.0.next
>
>
> Jacoco sneaked into the POM when investing. Apparently it's causing problems with GF embbed - resulting with "java.lang.IncompatibleClassChangeError: Implementing class"
--
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, 10 months
[JBoss JIRA] (ARQ-1342) Clean up POM
by Bartosz Majsak (JIRA)
Bartosz Majsak created ARQ-1342:
-----------------------------------
Summary: Clean up POM
Key: ARQ-1342
URL: https://issues.jboss.org/browse/ARQ-1342
Project: Arquillian
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Extension - Persistence
Reporter: Bartosz Majsak
Assignee: Bartosz Majsak
Fix For: persistence_1.0.0.next
Jacoco sneaked in to the POM. Apparently it's causing problems with GF embbed - resulting with "java.lang.IncompatibleClassChangeError: Implementing class"
--
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, 10 months