[ https://issues.jboss.org/browse/ARQGRA-469?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-469:
------------------------------
Fix Version/s: 2.0-Tracking
> WebDriverWait.until() doesn't support Page Fragments that extend WebElement
> ---------------------------------------------------------------------------
>
> Key: ARQGRA-469
> URL: https://issues.jboss.org/browse/ARQGRA-469
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Michael Kotten
> Fix For: 2.0-Tracking, 2.1-Tracking
>
> Attachments: ARQGRA-469.patch
>
>
> When using Page Fragments that extend the WebElement Interface (as described in http://arquillian.org/blog/2013/09/04/arquillian-graphene-2-0-0-Alpha5/) WebDriverWait.until().element().is().present() cannot be used, because the NoSuchElementException, that gets thrown, is encapsulated by an InvocationTargetException. Unfortunately this exception will not be ignored while waiting for the until() method to complete (see org.openqa.selenium.support.ui.FluentWait).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
[ https://issues.jboss.org/browse/ARQGRA-469?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-469:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/arquillian/arquillian-graphene/pull/129
> WebDriverWait.until() doesn't support Page Fragments that extend WebElement
> ---------------------------------------------------------------------------
>
> Key: ARQGRA-469
> URL: https://issues.jboss.org/browse/ARQGRA-469
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Michael Kotten
> Fix For: 2.1-Tracking
>
> Attachments: ARQGRA-469.patch
>
>
> When using Page Fragments that extend the WebElement Interface (as described in http://arquillian.org/blog/2013/09/04/arquillian-graphene-2-0-0-Alpha5/) WebDriverWait.until().element().is().present() cannot be used, because the NoSuchElementException, that gets thrown, is encapsulated by an InvocationTargetException. Unfortunately this exception will not be ignored while waiting for the until() method to complete (see org.openqa.selenium.support.ui.FluentWait).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
[ https://issues.jboss.org/browse/ARQGRA-469?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-469:
------------------------------
Fix Version/s: 2.1-Tracking
> WebDriverWait.until() doesn't support Page Fragments that extend WebElement
> ---------------------------------------------------------------------------
>
> Key: ARQGRA-469
> URL: https://issues.jboss.org/browse/ARQGRA-469
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Michael Kotten
> Fix For: 2.1-Tracking
>
> Attachments: ARQGRA-469.patch
>
>
> When using Page Fragments that extend the WebElement Interface (as described in http://arquillian.org/blog/2013/09/04/arquillian-graphene-2-0-0-Alpha5/) WebDriverWait.until().element().is().present() cannot be used, because the NoSuchElementException, that gets thrown, is encapsulated by an InvocationTargetException. Unfortunately this exception will not be ignored while waiting for the until() method to complete (see org.openqa.selenium.support.ui.FluentWait).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
[ https://issues.jboss.org/browse/ARQGRA-469?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-469:
-----------------------------------
Rights, that's definitely a bug and it would even be worth to backport to 2.0.x
> WebDriverWait.until() doesn't support Page Fragments that extend WebElement
> ---------------------------------------------------------------------------
>
> Key: ARQGRA-469
> URL: https://issues.jboss.org/browse/ARQGRA-469
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Michael Kotten
> Fix For: 2.1-Tracking
>
> Attachments: ARQGRA-469.patch
>
>
> When using Page Fragments that extend the WebElement Interface (as described in http://arquillian.org/blog/2013/09/04/arquillian-graphene-2-0-0-Alpha5/) WebDriverWait.until().element().is().present() cannot be used, because the NoSuchElementException, that gets thrown, is encapsulated by an InvocationTargetException. Unfortunately this exception will not be ignored while waiting for the until() method to complete (see org.openqa.selenium.support.ui.FluentWait).
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)