protected function UpdateTestBase::assertUpdateTableElementNotContains in Drupal 9
Asserts that the update table element HTML contains the specified text.
Parameters
string $text: The expected text.
See also
\Behat\Mink\WebAssert::elementNotContains()
1 call to UpdateTestBase::assertUpdateTableElementNotContains()
- UpdateSemverTestBase::testNoUpdatesAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when no updates are available.
File
- core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php, line 298
Class
- UpdateTestBase
- Defines some shared functions used by all update tests.
Namespace
Drupal\Tests\update\FunctionalCode
protected function assertUpdateTableElementNotContains($text) {
$this
->assertSession()
->elementNotContains('css', $this->updateTableLocator, $text);
}