Skip to content

Provide a "ViewIsLoaded" matcher which describes the details of why an unmatched view was not loaded #55

@jvervaec

Description

@jvervaec

For example, if you receive a TimeoutException during a transition event for a page object with many Required (or RequireAll) elements, it would be helpful to know which element was not found.

com.redhat.synq.TimeoutException: Timed out after PT2M waiting for event to occur.
Event occurs when action is finished (com.redhat.darcy.webdriver.WebDriverBrowser$$Lambda$30/1785111044@1849db1a)
and then the item under examination is a View that is loaded in context, com.redhat.darcy.webdriver.WebDriverBrowser@89ff02e,
however the last examined result was, "gis.harness.salesforce.pages.partner.AccountPage@5f3b9c57",
which is not a View that is loaded in context, com.redhat.darcy.webdriver.WebDriverBrowser@89ff02e (as determined by polling every PT1S)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions