[JBoss JIRA] (ARQ-1940) arquillian-osgi-bundle is not undeployed when executing a test with surefire 2.18
by Grzegorz Grzybek (JIRA)
[ https://issues.jboss.org/browse/ARQ-1940?page=com.atlassian.jira.plugin.s... ]
Grzegorz Grzybek edited comment on ARQ-1940 at 1/25/16 5:44 AM:
----------------------------------------------------------------
I've just checked that it works well with surefure-plugin 2.19.1. [~trohovsky]. I think you could close this issue.
was (Author: grgrzybek):
I've just checked that it works well with surefure-plugin 2.19.1.
> arquillian-osgi-bundle is not undeployed when executing a test with surefire 2.18
> ---------------------------------------------------------------------------------
>
> Key: ARQ-1940
> URL: https://issues.jboss.org/browse/ARQ-1940
> Project: Arquillian
> Issue Type: Bug
> Components: OSGi Containers
> Reporter: Tomas Rohovsky
> Priority: Minor
> Attachments: surefire-reproducer.zip
>
>
> arquillian-osgi-bundle is not undeployed when executing a test with surefire-plugin 2.18. It works with older versions of surefire-plugin. A reproducer is attached.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ARQ-2008) Arquillian
by Sanket Patel (JIRA)
[ https://issues.jboss.org/browse/ARQ-2008?page=com.atlassian.jira.plugin.s... ]
Sanket Patel commented on ARQ-2008:
-----------------------------------
Hey thanks for the help.
I resolved the issue. There was version problems
> Arquillian
> ----------
>
> Key: ARQ-2008
> URL: https://issues.jboss.org/browse/ARQ-2008
> Project: Arquillian
> Issue Type: Feature Request
> Environment: Arquillian
> Reporter: Sanket Patel
> Attachments: pom.xml
>
>
> I get the below error when i try to run:
> I have also atttached my pom file
> I am new and trying to learn Arquillian so forgive me if some major or useless mistake.
> import static org.junit.Assert.*;
> import org.jboss.arquillian.container.test.api.Deployment;
> import org.jboss.arquillian.junit.Arquillian;
> import org.jboss.shrinkwrap.api.ShrinkWrap;
> import org.jboss.shrinkwrap.api.asset.EmptyAsset;
> import org.jboss.shrinkwrap.api.spec.JavaArchive;
> import org.junit.Assert;
> import org.junit.Test;
> import org.junit.runner.RunWith;
> @RunWith(Arquillian.class)
> public class GreeterTest {
> @Deployment
> public static JavaArchive createDeployment()
> { return ShrinkWrap.create(JavaArchive.class) .addClass(Greeter.class) .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); }
> @Test
> public void should_create_greeting()
> { assertEquals("sanket","sanket"); }
> }
> java.lang.NullPointerException
> at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:390)
> at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:245)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
> at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259)
> at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:321)
> 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:204)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
> at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 12 months
[JBoss JIRA] (ARQ-2008) Arquillian
by Sanket Patel (JIRA)
[ https://issues.jboss.org/browse/ARQ-2008?page=com.atlassian.jira.plugin.s... ]
Sanket Patel resolved ARQ-2008.
-------------------------------
Resolution: Done
> Arquillian
> ----------
>
> Key: ARQ-2008
> URL: https://issues.jboss.org/browse/ARQ-2008
> Project: Arquillian
> Issue Type: Feature Request
> Environment: Arquillian
> Reporter: Sanket Patel
> Attachments: pom.xml
>
>
> I get the below error when i try to run:
> I have also atttached my pom file
> I am new and trying to learn Arquillian so forgive me if some major or useless mistake.
> import static org.junit.Assert.*;
> import org.jboss.arquillian.container.test.api.Deployment;
> import org.jboss.arquillian.junit.Arquillian;
> import org.jboss.shrinkwrap.api.ShrinkWrap;
> import org.jboss.shrinkwrap.api.asset.EmptyAsset;
> import org.jboss.shrinkwrap.api.spec.JavaArchive;
> import org.junit.Assert;
> import org.junit.Test;
> import org.junit.runner.RunWith;
> @RunWith(Arquillian.class)
> public class GreeterTest {
> @Deployment
> public static JavaArchive createDeployment()
> { return ShrinkWrap.create(JavaArchive.class) .addClass(Greeter.class) .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml"); }
> @Test
> public void should_create_greeting()
> { assertEquals("sanket","sanket"); }
> }
> java.lang.NullPointerException
> at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:390)
> at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:245)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
> at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259)
> at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:321)
> 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:204)
> at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
> at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
> at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 12 months
[JBoss JIRA] (ARQGRA-395) Graphene.guardAjax() doesn't work correctly in IE
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-395?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-395:
------------------------------
Sprint: Graphene 2.0.1 (was: Graphene 2.0.1, Graphene 2.0.2)
> Graphene.guardAjax() doesn't work correctly in IE
> -------------------------------------------------
>
> Key: ARQGRA-395
> URL: https://issues.jboss.org/browse/ARQGRA-395
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.CR2
> Environment: IE 7, 8, 9
> Reporter: Jan Dosoudil
> Fix For: 2.0-Tracking
>
>
> I have jsf page h:commandButton with f:ajax. Testing with Graphene.guardAjax(button).click(); works with Firefox, htmlUnit, phantomjs but doesn't with Internet Explorer (7, 8, 9). Internet explorer calls onclick function but without return false which causes full page submit.
> button.click() works ok.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 12 months
[JBoss JIRA] (ARQGRA-353) Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-353?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-353:
------------------------------
Sprint: Graphene 2.0.0.CR2, Graphene 2.0.1 Sprint 1, Graphene 2.0.1 (was: Graphene 2.0.0.CR2, Graphene 2.0.1 Sprint 1, Graphene 2.0.1, Graphene 2.0.2)
> Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
> -------------------------------------------------------------------
>
> Key: ARQGRA-353
> URL: https://issues.jboss.org/browse/ARQGRA-353
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Priority: Optional
> Labels: padawan
> Fix For: 2.0-Tracking
>
>
> {code}
> Results :
> Failed tests: testUnstable(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke unstable javascript extension: Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Unstable#simple()
> testIncorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): Expected exception: java.lang.IllegalStateException
> testJQuerySelectorCallingFindByDirectly(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnListOfWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> Tests in error:
> testScreenMethods(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Screen#getHeight()
> test(org.jboss.arquillian.graphene.ftest.javascript.TestCustomJSInterface): Can't invoke the javacript org.jboss.arquillian.graphene.page.document.Document#getTitle()
> testWithSources(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld#hello()
> testWithInterfaceDependencies(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld2#hello()
> testStelenessAndJavascriptOnWebDriver(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testStelenessAndJavascriptOnWebElement(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardXhr(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedTrigerringAndProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessingWithCodeArgument(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjaxWithRelocation(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttpFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequestFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardAjaxFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testDelayedGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testXhr(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testHttp(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testCorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: No response in a timely fashion
> testDeletion(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testReplacement(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testOneWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> testListWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> Tests run: 271, Failures: 5, Errors: 27, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 12 months