protected function ContentModerationTest::assertAllMedia in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php \Drupal\Tests\media_library\FunctionalJavascript\ContentModerationTest::assertAllMedia()
- 9 core/modules/media_library/tests/src/FunctionalJavascript/ContentModerationTest.php \Drupal\Tests\media_library\FunctionalJavascript\ContentModerationTest::assertAllMedia()
Asserts all media items are visible.
@internal
File
- core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ ContentModerationTest.php, line 318
Class
- ContentModerationTest
- Tests media library integration with content moderation.
Namespace
Drupal\Tests\media_library\FunctionalJavascriptCode
protected function assertAllMedia() : void {
$assert_session = $this
->assertSession();
$assert_session
->pageTextContains('Hoglet');
$assert_session
->pageTextContains('Panda');
$assert_session
->pageTextContains('Mammoth');
}