function UpdateTestBase::assertUpdateTableTextContains
Same name in other branches
- 9 core/modules/update/tests/src/Functional/UpdateTestBase.php \Drupal\Tests\update\Functional\UpdateTestBase::assertUpdateTableTextContains()
- 8.9.x core/modules/update/tests/src/Functional/UpdateTestBase.php \Drupal\Tests\update\Functional\UpdateTestBase::assertUpdateTableTextContains()
- 10 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()
3 calls to UpdateTestBase::assertUpdateTableTextContains()
- UpdateSemverContribTestBase::testUpdatesLegacyToSemver in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverContribTestBase.php - Tests updates from legacy versions to the semver versions.
- 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 244
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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.