protected function SearchApiBulkFormTest::assertCheckboxExistsInRow in Search API 8
Asserts that a checkbox exists in the Views row containing the given text.
Parameters
string $text: Text contained in the row.
1 call to SearchApiBulkFormTest::assertCheckboxExistsInRow()
- SearchApiBulkFormTest::testBulkForm in tests/
src/ Functional/ SearchApiBulkFormTest.php - Tests the Views bulk form.
File
- tests/
src/ Functional/ SearchApiBulkFormTest.php, line 223
Class
- SearchApiBulkFormTest
- Tests the Search API bulk form Views field plugin.
Namespace
Drupal\Tests\search_api\FunctionalCode
protected function assertCheckboxExistsInRow(string $text) {
$row = $this
->getRowContainingText($text);
$this
->assertNotNull($row
->find('css', 'input[type="checkbox"]'));
}