diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/Entity/EntityListBuilderTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/Entity/EntityListBuilderTest.php index e465df6..12a1a5f 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Core/Entity/EntityListBuilderTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/Entity/EntityListBuilderTest.php @@ -62,8 +62,7 @@ public function testDeleteConfirmForm() { $this->click('.ui-dialog button:contains("' . t('Delete') . '")'); $entity_storage->resetCache(); $this->assertNull($entity_storage->load($entities[3]->id())); - // @todo Something is not quite right here. Clicking the button should - // result in a new page load, presumably with a success message? + $this->assertSession()->pageTextContains(t('The test entity Test entity 3 has been deleted.')); } }