diff --git a/composer.json b/composer.json index 17a9a8e..158e9f5 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "drupal/block_field": "~1.0", "drupal/ctools": "3.x-dev", "drupal/entity_browser": "1.x-dev", - "drupal/entity_usage": "2.x-dev" + "drupal/entity_usage": "2.x-dev", + "drupal/search_api": "~1.0" } } diff --git a/modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php b/modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php index 00551a6..2766791 100644 --- a/modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php +++ b/modules/paragraphs_library/tests/src/Functional/ParagraphsLibraryItemTest.php @@ -244,9 +244,12 @@ class ParagraphsLibraryItemTest extends BrowserTestBase { $this->clickLink('Usage'); $assert_session->pageTextContains('Entity usage information for Test usage nested paragraph'); - // No usage is registered here. + // No usage shows up on this page. // @todo once 2954039 lands, we expect to have a row here indicating that // the host node references the paragraph in a non-default revision. + // Alternatively, if 2971131 lands first, we would have here an extra row + // with possibly a generic label (just with the entity ID or similar). In + // both cases this test will need to be updated. $assert_session->elementNotExists('css', 'table tbody tr'); }