public function DomainTestBase::pressButton in Domain Access 8
Presses button with specified locator.
Parameters
string $locator: Button id, value or alt.
Throws
\Behat\Mink\Exception\ElementNotFoundException
6 calls to DomainTestBase::pressButton()
- 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.
- DomainAliasListHostnameTest::testDomainAliasEnvironments in domain_alias/
tests/ src/ Functional/ DomainAliasListHostnameTest.php - Test for environment matching.
- DomainListWeightTest::testDomainWeight in domain/
tests/ src/ Functional/ DomainListWeightTest.php - Basic test setup.
- DomainReferencesTest::testDomainReferences in domain/
tests/ src/ Functional/ DomainReferencesTest.php - Basic test setup.
File
- domain/
tests/ src/ Functional/ DomainTestBase.php, line 155
Class
- DomainTestBase
- Class DomainTestBase.
Namespace
Drupal\Tests\domain\FunctionalCode
public function pressButton($locator) {
$this
->getSession()
->getPage()
->pressButton($locator);
}