You are here

public function DomainTestBase::checkField in Domain Access 8

Checks checkbox with specified locator.

Parameters

string $locator: An input id, name or label.

Throws

\Behat\Mink\Exception\ElementNotFoundException

4 calls to DomainTestBase::checkField()
DomainAccessElementTest::runInstalledTest in domain_access/tests/src/Functional/DomainAccessElementTest.php
Basic test setup.
DomainAdminElementTest::testDomainAccessElement in domain/tests/src/Functional/DomainAdminElementTest.php
Basic test setup.
DomainReferencesTest::testDomainReferences in domain/tests/src/Functional/DomainReferencesTest.php
Basic test setup.
DomainSourceElementTest::runInstalledTest in domain_source/tests/src/Functional/DomainSourceElementTest.php
Basic test setup.

File

domain/tests/src/Functional/DomainTestBase.php, line 183

Class

DomainTestBase
Class DomainTestBase.

Namespace

Drupal\Tests\domain\Functional

Code

public function checkField($locator) {
  $this
    ->getSession()
    ->getPage()
    ->checkField($locator);
}