diff --git a/core/modules/action/src/Tests/BulkFormTest.php b/core/modules/action/src/Tests/BulkFormTest.php
index f92329c..026bfe9 100644
--- a/core/modules/action/src/Tests/BulkFormTest.php
+++ b/core/modules/action/src/Tests/BulkFormTest.php
@@ -148,7 +148,11 @@ public function testBulkForm() {
     }
     $edit += array('action' => 'node_delete_action');
     $this->drupalPostForm(NULL, $edit, t('Apply'));
+    // Make sure we don't show an action message while we are still on the
+    // confirmation page.
+    $this->assertNoText(t('Delete content was applied to 5 items.'));
     $this->drupalPostForm(NULL, array(), t('Delete'));
+    $this->assertText(t('Deleted 5 posts.'));
     // Check if we got redirected to the original page.
     $this->assertUrl('test_bulk_form');
   }
