-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi,
I'm using the isOpen method (from SensioLabs\Behat\PageObjectExtension\PageObject\Page class) like this:
PHPUnit_Framework_Assert::assertTrue(
$this->getPage('Home page')->isOpen(),
'Home page is not open'
);The problem is that when the page fails to open I have no clue why, just my generic message 'Home page is not open'. This is because isOpen method is catching all the exceptions thrown during verification (and their useful messages).
I did a workaround and overrode the isOpen method without the try/catch, but, from my point of view Page public interface should provide this.
What do you think?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels