[JBoss JIRA] (ARQAJO-101) Using of JQuery 1.5 causes that JQuery selectors are not escaped properly
by Juraj Huska (Created) (JIRA)
Using of JQuery 1.5 causes that JQuery selectors are not escaped properly
-------------------------------------------------------------------------
Key: ARQAJO-101
URL: https://issues.jboss.org/browse/ARQAJO-101
Project: Arquillian Ajocado
Issue Type: Bug
Components: core
Affects Versions: 1.0.0.CR2
Environment: Ajocado 1.0.0-SNAPSHOT
Reporter: Juraj Huska
Assignee: Lukáš Fryč
When I want to use JQuery selectors in my tests, I can not just type:
{code}
jq("input[id$=attributes:handleClassInput]");
{code}
since it will not be properly escaped, and thus will fail to create this JQuery Locator. I can avoid it by escaping it manually, but it will too much work for my big test suite, which already worked with RichFaces Selenium properly.
The reason why *it works in RichFaces Selenium is that it uses JQuery v1.4.4 and Ajocado is using 1.5.*
With 1.4.4 it works fine also in Ajocado.
--
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
12 years, 7 months
[JBoss JIRA] Created: (ARQ-520) ResolutionException for artifact org.jboss.arquillian.osgi:arquillian-osgi-bundle:jar
by Thomas Diesler (JIRA)
ResolutionException for artifact org.jboss.arquillian.osgi:arquillian-osgi-bundle:jar
-------------------------------------------------------------------------------------
Key: ARQ-520
URL: https://issues.jboss.org/browse/ARQ-520
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: OSGi Containers
Affects Versions: osgi_1.0.0.CR2
Reporter: Thomas Diesler
Assignee: Thomas Diesler
When the JBoss Nexus repo is not defined in ~/.m2/settings.xml we get
org.jboss.shrinkwrap.resolver.api.ResolutionException: Unable to resolve an artifact
at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl.resolveAsFiles(MavenBuilderImpl.java:324)
at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl.resolveAsFiles(MavenBuilderImpl.java:70)
at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl$MavenArtifactBuilderImpl.resolveAsFiles(MavenBuilderImpl.java:471)
at org.jboss.shrinkwrap.resolver.impl.maven.MavenBuilderImpl$MavenArtifactBuilderImpl.resolveAsFiles(MavenBuilderImpl.java:405)
at org.jboss.arquillian.container.osgi.embedded.EmbeddedDeployableContainer.installBundle(EmbeddedDeployableContainer.java:182)
at org.jboss.arquillian.container.osgi.embedded.EmbeddedDeployableContainer.start(EmbeddedDeployableContainer.java:108)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] Created: (ARQ-585) Support for adding a beans.xml without discarding the original beans.xml with .mergeAsResource()
by Geoffrey De Smet (JIRA)
Support for adding a beans.xml without discarding the original beans.xml with .mergeAsResource()
------------------------------------------------------------------------------------------------
Key: ARQ-585
URL: https://issues.jboss.org/browse/ARQ-585
Project: Arquillian
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Geoffrey De Smet
Priority: Critical
Presume these 2 beans.xml files:
Production code: beans.xml:
{code}
<beans xmlns="http://java.sun.com/xml/ns/javaee" ...>
<!-- 100 lines that change regularly during development -->
</beans>
{code}
Test addition: test-beans.xml:
{code}
<beans xmlns="http://java.sun.com/xml/ns/javaee" ...>
<alternatives>
<class>org.drools.guvnor.server.repository.TestRepositoryStartupService</class>
</alternatives>
</beans>
{code}
Now, for non-test runs (such as in the IDE or in production), only the beans.xml is activated through weld and the test-only alternative should not be activated.
For test runs, the test-only alternative should be activated, yet the rest of the content from beans.xml should be in there too.
So it should be merged to something like this:
{code}
<beans xmlns="http://java.sun.com/xml/ns/javaee" ...>
<!-- 100 lines that change regularly during development -->
<alternatives>
<class>org.drools.guvnor.server.repository.TestRepositoryStartupService</class>
</alternatives>
</beans>
{code}
It would be nice if we do something like mergeAsResource(), shown in this example:
{code}
public static WebArchive createDeployment() {
WebArchive webArchive = ShrinkWrap.create(ExplodedImporter.class, "guvnor-webapp-5.3.0-SNAPSHOT.war")
.importDirectory(new File("target/guvnor-webapp-5.3.0-SNAPSHOT/"))
.as(WebArchive.class)
.mergeAsResource(new File("target/test-classes/META-INF/test-beans.xml"), "META-INF/beans.xml")
.addAsResource(new File("target/test-classes/"), ArchivePaths.create(""))
.addAsLibraries(
DependencyResolvers.use(MavenDependencyResolver.class)
.includeDependenciesFromPom("pom.xml")
.resolveAsFiles(new ScopeFilter("test")));
return webArchive;
}
{code}
Because of maintenance, copying everything from beans.xml to test-beans.xml on every change to beans.xml is NOT an option.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (ARQ-615) Arquillian must scale to a high number of full-layer integration tests
by Geoffrey De Smet (JIRA)
Arquillian must scale to a high number of full-layer integration tests
----------------------------------------------------------------------
Key: ARQ-615
URL: https://issues.jboss.org/browse/ARQ-615
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Geoffrey De Smet
Priority: Critical
A full-layer integration test is an arquillian test which deploys the entire war of a webapp (for example guvnor-webapp) and then runs a higher number of test classes and test methods on it.
Currently arquillian doesn't scale out to that. For different reasons.
The main reason is ARQ-197: every test case starts the container again and after a while tomcat6-managed goes out of memory.
But there are other reasons. This should be tested.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months