You are here

private function HoverTest::assertActionSquareHeight 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::assertActionSquareHeight()
4 calls to HoverTest::assertActionSquareHeight()
HoverTest::testClickHover in vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php
@group mouse-events @depends testMouseOverHover
HoverTest::testDoubleClickHover in vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php
@group mouse-events @depends testMouseOverHover
HoverTest::testMouseOverHover in vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php
@group mouse-events
HoverTest::testRightClickHover in vendor/behat/mink/driver-testsuite/tests/Css/HoverTest.php
@group mouse-events @depends testMouseOverHover

File

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

Class

HoverTest

Namespace

Behat\Mink\Tests\Driver\Css

Code

private function assertActionSquareHeight($expected) {
  $this
    ->assertEquals($expected, $this
    ->getSession()
    ->evaluateScript("return window.\$('#action-square').height();"), 'Mouse is located over the object when mouse-related action is performed');
}