function ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
Checks whether the flag widget is displayed.
1 call to ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
- ContentTranslationOutdatedRevisionTranslationTest::testFlagAsOutdatedHidden in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOutdatedRevisionTranslationTest.php - Tests that outdated revision translations work correctly.
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationOutdatedRevisionTranslationTest.php, line 89
Class
- ContentTranslationOutdatedRevisionTranslationTest
- Tests the "Flag as outdated" functionality with revision translations.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function assertFlagWidget() {
$this->assertSession()
->pageTextNotContains('Flag other translations as outdated');
$this->assertSession()
->pageTextContains('Translations cannot be flagged as outdated when content is moderated.');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.