Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

No exception is thrown, when accessing missing elements #48

@aik099

Description

@aik099

Recently in Mink a tests, that validate that exception is thrown during attempt to act (e.g. click) on an element, that isn't present on a page throw an exception.

It appears though, that some of them aren't passing currently:

2) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testCheckInvalidElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

3) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testUncheckInvalidElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

4) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testIsVisibleNotFoundElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

5) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testFocusFoundElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

6) Behat\Mink\Tests\Driver\Basic\ErrorHandlingTest::testBlurFoundElement
Failed asserting that exception of type "Behat\Mink\Exception\DriverException" is thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions