[JBoss JIRA] (ARQGRA-364) Allow for extensibility of GrapheneElement
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-364?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-364:
------------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
> Allow for extensibility of GrapheneElement
> ------------------------------------------
>
> Key: ARQGRA-364
> URL: https://issues.jboss.org/browse/ARQGRA-364
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Fix For: 2.2-Tracking
>
>
> Implement GrapheneElement#as(Class<?> type) method which will do a coercion to the given type.
> If the given type is not implemented by wrapped WebElement, the service which implements this method will be called instead. This allows for simple extensibility mechanism:
> {code}
> @FindBy
> GrapheneElement element;
> @Test test() {
> element.as(ValidableElement).checkValidity();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (ARQGRA-303) Improve failure messages in a fluent waiting API
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-303?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-303:
------------------------------
Fix Version/s: 2.2-Tracking
(was: 2.1-Tracking)
> Improve failure messages in a fluent waiting API
> ------------------------------------------------
>
> Key: ARQGRA-303
> URL: https://issues.jboss.org/browse/ARQGRA-303
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Reporter: Lukáš Fryč
> Priority: Minor
> Fix For: 2.2-Tracking
>
>
> Test can currently fail with this message:
> {code}
> org.openqa.selenium.TimeoutException: Timed out after 2 seconds waiting for wrapped: text ('script executed') to be present in element found by By.tagName: title
> {code}
> We should:
> * provide user with current value (last known value before the test failed)
> * remove the "wrapped:" keyword, since it's misleading
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (ARQGRA-423) Provide a way to intercept in some order
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-423?page=com.atlassian.jira.plugin... ]
Lukáš Fryč reassigned ARQGRA-423:
---------------------------------
Assignee: Juraj Húska
> Provide a way to intercept in some order
> ----------------------------------------
>
> Key: ARQGRA-423
> URL: https://issues.jboss.org/browse/ARQGRA-423
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Components: core
> Affects Versions: 2.0.1.Final
> Reporter: Juraj Húska
> Assignee: Juraj Húska
> Fix For: 2.1.0.Alpha1
>
>
> Currently all registered interceptors are invoked in non defined order.
> It would be handy to provide a way how to define such order.
> It is mainly because on of the Graphene interceptors: {{SearchContextInterceptor}} blocks intercepting of {{findBy}} method.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 4 months
[JBoss JIRA] (ARQ-2008) Arquillian
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-2008?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen commented on ARQ-2008:
------------------------------------
What happens when you run "mvn clean install" from command line?
> 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, 4 months