You are here

public function HoverTest::testDoubleClickHover in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php \Behat\Mink\Tests\Driver\Css\HoverTest::testDoubleClickHover()

@group mouse-events @depends testMouseOverHover

File

vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php, line 42

Class

HoverTest

Namespace

Behat\Mink\Tests\Driver\Css

Code

public function testDoubleClickHover() {
  $this
    ->getSession()
    ->visit($this
    ->pathTo('/css_mouse_events.html'));
  $this
    ->findById('reset-square')
    ->mouseOver();
  $this
    ->assertActionSquareHeight(100);
  $this
    ->findById('action-square')
    ->doubleClick();
  $this
    ->assertActionSquareHeight(200);
}