]
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: