[JBoss JIRA] (ARQGRA-235) Automatically infer ID locator from field name annotated just by @FindBy
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-235?page=com.atlassian.jira.plugin... ]
Juraj Húska commented on ARQGRA-235:
------------------------------------
Already merged with upstream.
It by default automatically infer the element by using {{ByIdOrName}} location strategy and the field name as the locator.
It can be configured with {{defaultElementLocatingStrategy}} property in {{arquillian.xml}}. The possible values are the lowercase values of {{org.jboss.arquillian.graphene.enricher.findby.How}}
> Automatically infer ID locator from field name annotated just by @FindBy
> ------------------------------------------------------------------------
>
> Key: ARQGRA-235
> URL: https://issues.jboss.org/browse/ARQGRA-235
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Assignee: Juraj Húska
> Priority: Minor
> Fix For: 2.0.0.Beta1
>
>
> Consider following:
> {code:java}
> @FindBy(id = "loginButton")
> WebElement loginButton;
> @FindBy
> WebElement loginButton;
> {code}
> The lookup should be done using ID or name attribute strategy.
--
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-1350) Drone: allow reuse of session even though all capabilities are not serializable
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQ-1350?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated ARQ-1350:
----------------------------
Labels: graphene-sprint (was: )
> Drone: allow reuse of session even though all capabilities are not serializable
> -------------------------------------------------------------------------------
>
> Key: ARQ-1350
> URL: https://issues.jboss.org/browse/ARQ-1350
> Project: Arquillian
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Reporter: Lukáš Fryč
> Labels: graphene-sprint
>
> Remote drivers might store non-serializable instances in Capabilities map.
> Drone fails to reuse such browsers since it is not able to store and serialize their capabilities in ReusedSession object.
> One example of such a driver is PhantomJSDriver which stores object under key 'proxy': com.google.common.collect.Maps$TransformedEntriesMap.
> ---
> In order to maximize ability of session reusal, Drone may avoid reusing driver's capabilities at own, but try serialization of each capabilities entry separately and store them in new instance of DesiredCapabilities.
> This allows to reuse PhantomJS sessions.
--
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] (ARQGRA-260) @InSequence with one or more test numbers i.e. @InSequence(1, 5, 9)
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-260?page=com.atlassian.jira.plugin... ]
Lukáš Fryč resolved ARQGRA-260.
-------------------------------
Assignee: Lukáš Fryč
Fix Version/s: (was: 2.0.0.Beta1)
Resolution: Rejected
I believe this needs to be achieved using another tool than @InSequence like private methods.
> @InSequence with one or more test numbers i.e. @InSequence(1,5,9)
> -----------------------------------------------------------------
>
> Key: ARQGRA-260
> URL: https://issues.jboss.org/browse/ARQGRA-260
> Project: Arquillian Graphene
> Issue Type: Feature Request
> Components: junit, unit-test
> Affects Versions: 2.0.0.Beta1
> Reporter: Emmanouil Vlastos
> Assignee: Lukáš Fryč
> Priority: Minor
>
> The idea was to be able to execute the same test in different positions in the JUnit file.
> For example
> @Test
> @InSequence(1,5,9)
> public void resetUI(){
> //do something to reset some values
> }
> @Test
> @InSequence(2,6){
> public void initializeUI(){
> //do something to initialize some values
> }
> @Test
> @InSequence(3)
> public void test3(){}
> @Test
> @InSequence(4)
> public void test4(){}
> @Test
> @InSequence(7)
> public void test7(){}
> @Test
> @InSequence(8)
> public void test8(){}
--
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