public function BrowserTestBaseTest::testLinkExistsExact in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php \Drupal\FunctionalTests\BrowserTestBaseTest::testLinkExistsExact()
- 9 core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php \Drupal\FunctionalTests\BrowserTestBaseTest::testLinkExistsExact()
Tests linkExistsExact() functionality.
See also
\Drupal\Tests\WebAssert::linkExistsExact()
File
- core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php, line 211
Class
- BrowserTestBaseTest
- Tests BrowserTestBase functionality.
Namespace
Drupal\FunctionalTestsCode
public function testLinkExistsExact() {
$this
->drupalGet('test-pipe-char');
$this
->assertSession()
->linkExistsExact('foo|bar|baz');
}