You are here

protected function ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()
  2. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::assertFlagWidget()

Checks whether the flag widget is displayed.

@internal

File

core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php, line 91

Class

ContentTranslationOutdatedRevisionTranslationTest
Tests the "Flag as outdated" functionality with revision translations.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function assertFlagWidget() : void {
  $this
    ->assertSession()
    ->pageTextNotContains('Flag other translations as outdated');
  $this
    ->assertSession()
    ->pageTextContains('Translations cannot be flagged as outdated when content is moderated.');
}