[arquillian-issues] [JBoss JIRA] (ARQGRA-313) Allow to inject unique page fragment from page without specifying root locator

Lukáš Fryč (JIRA) issues at jboss.org
Tue Jan 19 04:10:03 EST 2016


     [ https://issues.jboss.org/browse/ARQGRA-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQGRA-313:
------------------------------
    Fix Version/s: 2.2-Tracking
                       (was: 2.1-Tracking)


> Allow to inject unique page fragment from page without specifying root locator
> ------------------------------------------------------------------------------
>
>                 Key: ARQGRA-313
>                 URL: https://issues.jboss.org/browse/ARQGRA-313
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>            Reporter: Lukáš Fryč
>             Fix For: 2.2-Tracking
>
>
> The page fragment can contain instructions how to find itself in the given context:
> {code:java}
> @AutoFindBy(".rf-cal")
> public class Calendar {
> }
> {code}
> One can then inject such a page fragment without specifying locator:
> {code:java}
> @FindBy
> Calendar calendar;
> {code}
> Note that the context of searching is dependent upon an injection point (where is page fragment being injected).
> E.g.:
> * whole page
> * page fragment



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the arquillian-issues mailing list