[JBoss JIRA] (ARQGRA-433) FieldAccessValidatorEnricher checks access to fields uniformly
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-433?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-433:
-----------------------------------
[~jhuska], [~smikloso] any chance you could you into the changes this week?
We need to release 2.0.3 by friday.
> FieldAccessValidatorEnricher checks access to fields uniformly
> --------------------------------------------------------------
>
> Key: ARQGRA-433
> URL: https://issues.jboss.org/browse/ARQGRA-433
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Stefan Miklosovic
> Priority: Optional
> Fix For: 2.0.3.Final
>
>
> I have this test
> {code}
> @Rule
> public ExpectedException expectedException = ExpectedException.none();
> @Test
> @InSequence(2)
> @ReportMessage("This method should pass.")
> public void testWithExpectedExceptionRule() {
> expectedException.expect(RuntimeException.class);
> throw new RuntimeException("this exception is expected");
> }
> {code}
> Logger writes this out:
> WARNING: Public field 'expectedException' found in org.arquillian.droidium.devconf.AeroGearTestCase. Direct access to fields outside of the declaring class is not allowed.
> Apr 01, 2014 11:50:27 AM org.jboss.arquillian.graphene.enricher.FieldAccessValidatorEnricher checkFieldValidity
> However that @Rule field _has to be_ public
> {quote}
> A field must be public, not static, and a subtype of TestRule
> {quote}
> So in this case validation does not make sense.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-441) xhrInterception breaks applications using jQuery 2.x
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-441?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-441:
------------------------------
Assignee: Oliver Kišš
> xhrInterception breaks applications using jQuery 2.x
> ----------------------------------------------------
>
> Key: ARQGRA-441
> URL: https://issues.jboss.org/browse/ARQGRA-441
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Final, 2.0.2.Final
> Environment: Firefox 29, Chrome 34
> Reporter: Oliver Kišš
> Assignee: Oliver Kišš
> Priority: Critical
> Fix For: 2.0.3.Final
>
>
> After {{[kitchensink-backbone|https://github.com/jboss-developer/jboss-wfk-quickstarts/tree/2.6.x-develop/kitchensink-backbone]}} and {{[contacts-mobile-basic|https://github.com/jboss-developer/jboss-wfk-quickstarts/pull/154]}} quickstarts were updated to use jQuery 2.0.3, Graphene guards no longer work properly in their functional tests.
> After {{window.Graphene.xhrInterception.install()}}, the quickstarts do not react to responses to ajax requests they make (server side validation messages are not shown, member list is not displayed, no feedback is shown after a new member is registered).
> When {{window.Graphene.xhrInterception.uninstall()}} is run, the quickstarts start behaving normally again.
> I tried reproducing the issue with different versions of javascript libraries used in the quickstarts and could reproduce it if jQuery 2.x was used (tested 2.0.3 and 2.1.0). Other libraries do not seem to have an effect on the issue.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-435) Graphene wait does not find @Qualified browser
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-435?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-435:
------------------------------
Fix Version/s: (was: 2.0.3.Final)
> Graphene wait does not find @Qualified browser
> ----------------------------------------------
>
> Key: ARQGRA-435
> URL: https://issues.jboss.org/browse/ARQGRA-435
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.2.Final
> Reporter: Karel Piwko
> Assignee: Juraj Húska
> Priority: Critical
>
> It is not possible to wait when browser is qualifiered:
> {code}
> package com.acme.example.test;
> import java.lang.annotation.Retention;
> import java.lang.annotation.RetentionPolicy;
> import java.net.URL;
> import org.jboss.arquillian.container.test.api.Deployment;
> import org.jboss.arquillian.drone.api.annotation.Drone;
> import org.jboss.arquillian.drone.api.annotation.Qualifier;
> import org.jboss.arquillian.graphene.Graphene;
> import org.jboss.arquillian.junit.Arquillian;
> import org.jboss.arquillian.test.api.ArquillianResource;
> import org.jboss.shrinkwrap.api.Archive;
> import org.junit.Assert;
> import org.junit.Test;
> import org.junit.runner.RunWith;
> import org.openqa.selenium.WebDriver;
> import org.openqa.selenium.WebElement;
> import org.openqa.selenium.support.FindBy;
> @RunWith(Arquillian.class)
> public class GrapheneBugDroneTest {
> @Drone
> @BugReport
> WebDriver driver;
> @Deployment(testable = false)
> public static Archive<?> deployHtml5DemoApp() {
> return Deployments.createDeployment();
> }
> @ArquillianResource
> URL url;
> @FindBy(id = "name")
> WebElement nameField;
> @Test
> public void addUser() throws Exception {
> driver.get(url.toString());
> Graphene.waitGui(driver).until().element(nameField).is().present();
> Assert.assertTrue(true);
> }
> @Qualifier
> @Retention(RetentionPolicy.RUNTIME)
> public static @interface BugReport {
> }
> }
> {code}
> Wait *Graphene.waitGui(driver).until().element(nameField).is().present();*
> fails with
> {code}
> java.lang.IllegalStateException: There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default. Available contexts are [interface com.acme.example.test.GrapheneBugDroneTest$BugReport].
> at org.jboss.arquillian.graphene.context.GrapheneContextImpl$LazyContext.getContext(GrapheneContextImpl.java:302)
> at org.jboss.arquillian.graphene.context.GrapheneContextImpl$LazyContext.getConfiguration(GrapheneContextImpl.java:234)
> at org.jboss.arquillian.graphene.DefaultGrapheneRuntime.waitGui(DefaultGrapheneRuntime.java:104)
> at org.jboss.arquillian.graphene.Graphene.waitGui(Graphene.java:216)
> at org.jboss.arquillian.graphene.enricher.StaleElementInterceptor.intercept(StaleElementInterceptor.java:44)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:87)
> at org.jboss.arquillian.graphene.enricher.SearchContextInterceptor.intercept(SearchContextInterceptor.java:50)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:87)
> at org.jboss.arquillian.graphene.intercept.InterceptorBuilder$2.intercept(InterceptorBuilder.java:139)
> at org.jboss.arquillian.graphene.proxy.InvocationContextImpl.invoke(InvocationContextImpl.java:87)
> at org.jboss.arquillian.graphene.proxy.GrapheneContextualHandler$2.call(GrapheneContextualHandler.java:209)
> at org.jboss.arquillian.graphene.context.BrowserActions.performAction(BrowserActions.java:62)
> at org.jboss.arquillian.graphene.proxy.GrapheneContextualHandler.invoke(GrapheneContextualHandler.java:205)
> at com.sun.proxy.$Proxy28.isDisplayed(Unknown Source)
> at org.jboss.arquillian.graphene.condition.element.ElementIsPresent.check(ElementIsPresent.java:44)
> at org.jboss.arquillian.graphene.condition.element.ElementIsPresent.check(ElementIsPresent.java:31)
> at org.jboss.arquillian.graphene.condition.element.AbstractElementBooleanCondition.apply(AbstractElementBooleanCondition.java:52)
> at org.jboss.arquillian.graphene.condition.element.AbstractElementBooleanCondition.apply(AbstractElementBooleanCondition.java:33)
> at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
> at org.jboss.arquillian.graphene.wait.WebDriverWaitImpl.until(WebDriverWaitImpl.java:102)
> at org.jboss.arquillian.graphene.wait.WebDriverWaitImpl.commit(WebDriverWaitImpl.java:110)
> at org.jboss.arquillian.graphene.wait.IsNotElementBuilderImpl.present(IsNotElementBuilderImpl.java:47)
> at com.acme.example.test.GrapheneBugDroneTest.addUser(GrapheneBugDroneTest.java:42)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273)
> at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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:145)
> at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
> at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
> at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
> at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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.createTestContext(TestContextHandler.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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.createClassContext(TestContextHandler.java:84)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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:65)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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:145)
> at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
> at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:266)
> at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:229)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:317)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:46)
> at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:243)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:188)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:317)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:46)
> at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:202)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:150)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> {code}
> Arquillian configuration:
> * Core 1.1.4.Final
> * Graphene 2.0.2.Final
> * Drone 2.0.0.Alpha1
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-444) Functional tests fail to run due to surefire plugin failure
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-444?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-444:
-----------------------------------
Upgrade to maven-surefire-plugin 2.17 helped (in fact 2.12 is a first one in serioes which addresses this issue).
> Functional tests fail to run due to surefire plugin failure
> -----------------------------------------------------------
>
> Key: ARQGRA-444
> URL: https://issues.jboss.org/browse/ARQGRA-444
> Project: Arquillian Graphene
> Issue Type: Bug
> Environment: $ mvn -v
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/lfryc/Apps/apache-maven-3.0.4
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_51/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
> Reporter: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> {code}
> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ graphene-webdriver-ftest ---
> [INFO] Surefire report directory: /mnt/workspace/workspaces/arquillian/arquillian-graphene/ftest/target/surefire-reports
> [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
> Running org.jboss.arquillian.graphene.ftest.intercept.TestInterceptorRegistration
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.element.TestGrapheneElementAsPageFragmentRoot
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.enricher.hierarchy.SomeAbstractTest
> Exception in thread "ThreadedStreamConsumer" java.lang.NoSuchMethodError: org.apache.maven.surefire.report.StackTraceWriter.getThrowable()Ljava/lang/Throwable;
> at org.apache.maven.surefire.report.XMLReporter.writeTestProblems(XMLReporter.java:238)
> at org.apache.maven.surefire.report.XMLReporter.testError(XMLReporter.java:208)
> at org.apache.maven.surefire.report.MulticastingReporter.testError(MulticastingReporter.java:73)
> at org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139)
> at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112)
> at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
> at java.lang.Thread.run(Thread.java:744)
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-444) Functional tests fail to run due to surefire plugin failure
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-444?page=com.atlassian.jira.plugin... ]
Lukáš Fryč resolved ARQGRA-444.
-------------------------------
Assignee: Lukáš Fryč
Resolution: Done
> Functional tests fail to run due to surefire plugin failure
> -----------------------------------------------------------
>
> Key: ARQGRA-444
> URL: https://issues.jboss.org/browse/ARQGRA-444
> Project: Arquillian Graphene
> Issue Type: Bug
> Environment: $ mvn -v
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/lfryc/Apps/apache-maven-3.0.4
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_51/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> {code}
> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ graphene-webdriver-ftest ---
> [INFO] Surefire report directory: /mnt/workspace/workspaces/arquillian/arquillian-graphene/ftest/target/surefire-reports
> [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
> Running org.jboss.arquillian.graphene.ftest.intercept.TestInterceptorRegistration
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.element.TestGrapheneElementAsPageFragmentRoot
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.enricher.hierarchy.SomeAbstractTest
> Exception in thread "ThreadedStreamConsumer" java.lang.NoSuchMethodError: org.apache.maven.surefire.report.StackTraceWriter.getThrowable()Ljava/lang/Throwable;
> at org.apache.maven.surefire.report.XMLReporter.writeTestProblems(XMLReporter.java:238)
> at org.apache.maven.surefire.report.XMLReporter.testError(XMLReporter.java:208)
> at org.apache.maven.surefire.report.MulticastingReporter.testError(MulticastingReporter.java:73)
> at org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139)
> at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112)
> at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
> at java.lang.Thread.run(Thread.java:744)
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-445) Wrong classes are injected to PageObject injection points in abstract test basis
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-445:
-----------------------------------
There parametrized test basis behavior could be potentially JDK-dependent, I have used following configuration to run these tests:
{code}
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/lfryc/Apps/apache-maven-3.0.4
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.0.fc20.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
{code}
> Wrong classes are injected to PageObject injection points in abstract test basis
> --------------------------------------------------------------------------------
>
> Key: ARQGRA-445
> URL: https://issues.jboss.org/browse/ARQGRA-445
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final
> Reporter: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> These tests fails because wrong instances are injected into abstract test basis:
> {code}
> Results :
> Tests in error:
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-445) Wrong classes are injected to PageObject injection points in abstract test basis
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-445:
-----------------------------------
[~jhuska] are you able to reproduce this issue?
> Wrong classes are injected to PageObject injection points in abstract test basis
> --------------------------------------------------------------------------------
>
> Key: ARQGRA-445
> URL: https://issues.jboss.org/browse/ARQGRA-445
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final
> Reporter: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> These tests fails because wrong instances are injected into abstract test basis:
> {code}
> Results :
> Tests in error:
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-445) Wrong classes are injected to PageObject injection points in abstract test basis
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-445:
------------------------------
Affects Version/s: 2.0.3.Final
> Wrong classes are injected to PageObject injection points in abstract test basis
> --------------------------------------------------------------------------------
>
> Key: ARQGRA-445
> URL: https://issues.jboss.org/browse/ARQGRA-445
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final
> Reporter: Lukáš Fryč
>
> These tests fails because wrong instances are injected into abstract test basis:
> {code}
> Results :
> Tests in error:
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-445) Wrong classes are injected to PageObject injection points in abstract test basis
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-445:
------------------------------
Fix Version/s: 2.0.3.Final
> Wrong classes are injected to PageObject injection points in abstract test basis
> --------------------------------------------------------------------------------
>
> Key: ARQGRA-445
> URL: https://issues.jboss.org/browse/ARQGRA-445
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final
> Reporter: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> These tests fails because wrong instances are injected into abstract test basis:
> {code}
> Results :
> Tests in error:
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
> testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4): org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04 cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months
[JBoss JIRA] (ARQGRA-444) Functional tests fail to run due to surefire plugin failure
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-444?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-444:
------------------------------
Fix Version/s: 2.0.3.Final
> Functional tests fail to run due to surefire plugin failure
> -----------------------------------------------------------
>
> Key: ARQGRA-444
> URL: https://issues.jboss.org/browse/ARQGRA-444
> Project: Arquillian Graphene
> Issue Type: Bug
> Environment: $ mvn -v
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: /home/lfryc/Apps/apache-maven-3.0.4
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: /usr/java/jdk1.7.0_51/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"
> Reporter: Lukáš Fryč
> Fix For: 2.0.3.Final
>
>
> {code}
> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ graphene-webdriver-ftest ---
> [INFO] Surefire report directory: /mnt/workspace/workspaces/arquillian/arquillian-graphene/ftest/target/surefire-reports
> [INFO] Using configured provider org.apache.maven.surefire.junitcore.JUnitCoreProvider
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Concurrency config is parallel='none', perCoreThreadCount=true, threadCount=2, useUnlimitedThreads=false
> Running org.jboss.arquillian.graphene.ftest.intercept.TestInterceptorRegistration
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.element.TestGrapheneElementAsPageFragmentRoot
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.jboss.arquillian.graphene.ftest.enricher.hierarchy.SomeAbstractTest
> Exception in thread "ThreadedStreamConsumer" java.lang.NoSuchMethodError: org.apache.maven.surefire.report.StackTraceWriter.getThrowable()Ljava/lang/Throwable;
> at org.apache.maven.surefire.report.XMLReporter.writeTestProblems(XMLReporter.java:238)
> at org.apache.maven.surefire.report.XMLReporter.testError(XMLReporter.java:208)
> at org.apache.maven.surefire.report.MulticastingReporter.testError(MulticastingReporter.java:73)
> at org.apache.maven.surefire.report.TestSetRunListener.testError(TestSetRunListener.java:139)
> at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:112)
> at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
> at java.lang.Thread.run(Thread.java:744)
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months