[arquillian-issues] [JBoss JIRA] (ARQGRA-202) Page Fragments: injected web elements are not found relatively to root element
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Wed Oct 3 04:56:03 EDT 2012
[ https://issues.jboss.org/browse/ARQGRA-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukáš Fryč updated ARQGRA-202:
------------------------------
Priority: Critical (was: Major)
> Page Fragments: injected web elements are not found relatively to root element
> -------------------------------------------------------------------------------
>
> Key: ARQGRA-202
> URL: https://issues.jboss.org/browse/ARQGRA-202
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.Alpha2
> Reporter: Jan Papousek
> Assignee: Jan Papousek
> Priority: Critical
>
> Consider the following HTML code:
> {code}
> <span>not correct</span>
> <div id="root">
> <span>correct</span>
> </div>
> {code}
> and the related page fragment:
> {code}
> public class SamplePageFragment {
> @Root
> private WebElement root;
> @FindBy(tagName = "span")
> private WebElement span;
> public String getText() {
> return span.getText();
> }
> }
> {code}
> Expected return value of _SamplePageFragment#getText()_ is "correct", but "not correct" is returned.
--
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
More information about the arquillian-issues
mailing list