protected function UpdateTestBase::assertUpdateTableTextContains in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/tests/src/Functional/UpdateTestBase.php \Drupal\Tests\update\Functional\UpdateTestBase::assertUpdateTableTextContains()
Asserts that the update table text contains the specified text.
Parameters
string $text: The expected text.
See also
\Behat\Mink\WebAssert::elementTextContains()
5 calls to UpdateTestBase::assertUpdateTableTextContains()
- UpdateSemverTestBase::testMajorUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when a major update is available.
- UpdateSemverTestBase::testNormalUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when one normal update is available.
- UpdateSemverTestBase::testNoUpdatesAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when no updates are available.
- UpdateTestBase::confirmRevokedStatus in core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php - Confirms messages are correct when a release has been unpublished/revoked.
- UpdateTestBase::confirmUnsupportedStatus in core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php - Confirms messages are correct when a release has been marked unsupported.
File
- core/
modules/ update/ tests/ src/ Functional/ UpdateTestBase.php, line 262
Class
- UpdateTestBase
- Defines some shared functions used by all update tests.
Namespace
Drupal\Tests\update\FunctionalCode
protected function assertUpdateTableTextContains($text) {
$this
->assertSession()
->elementTextContains('css', $this->updateTableLocator, $text);
}