You are here

protected function TestCase::findById in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/driver-testsuite/tests/TestCase.php \Behat\Mink\Tests\Driver\TestCase::findById()

Parameters

string $id:

Return value

\Behat\Mink\Element\NodeElement

16 calls to TestCase::findById()
ChangeEventTest::testCheckChangeEvent in vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php
@dataProvider checkboxTestWayDataProvider @group change-event-detector
ChangeEventTest::testSelectOptionChangeEvent in vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php
@dataProvider selectOptionChangeEventDataProvider @group change-event-detector
ChangeEventTest::testSetValueChangeEvent in vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php
@dataProvider setValueChangeEventDataProvider @group change-event-detector
ChangeEventTest::testUncheckChangeEvent in vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php
@dataProvider checkboxTestWayDataProvider @group change-event-detector
ErrorHandlingTest::testAttachFileInvalidElement in vendor/behat/mink/driver-testsuite/tests/Basic/ErrorHandlingTest.php

... See full list

File

vendor/behat/mink/driver-testsuite/tests/TestCase.php, line 103

Class

TestCase

Namespace

Behat\Mink\Tests\Driver

Code

protected function findById($id) {
  return $this
    ->getAssertSession()
    ->elementExists('named', array(
    'id',
    $id,
  ));
}