diff --git a/entity_browser.libraries.yml b/entity_browser.libraries.yml
index 6c5f396..93d70a1 100644
--- a/entity_browser.libraries.yml
+++ b/entity_browser.libraries.yml
@@ -94,6 +94,7 @@ view:
     js/entity_browser.view.js: {}
   dependencies:
     - core/jquery.once
+    - core/drupal.tableselect
 
 multi_step_display:
   version: VERSION
diff --git a/tests/modules/entity_browser_test/config/install/views.view.files_entity_browser.yml b/tests/modules/entity_browser_test/config/install/views.view.files_entity_browser.yml
index 9351d53..e9cb859 100644
--- a/tests/modules/entity_browser_test/config/install/views.view.files_entity_browser.yml
+++ b/tests/modules/entity_browser_test/config/install/views.view.files_entity_browser.yml
@@ -156,7 +156,7 @@ display:
           field: filename
           entity_type: file
           entity_field: filename
-          label: ''
+          label: 'Filename'
           alter:
             alter_text: false
             make_link: false
diff --git a/tests/src/FunctionalJavascript/MultiStepSelectionDisplayTest.php b/tests/src/FunctionalJavascript/MultiStepSelectionDisplayTest.php
index bfbd06a..d8aa7f9 100644
--- a/tests/src/FunctionalJavascript/MultiStepSelectionDisplayTest.php
+++ b/tests/src/FunctionalJavascript/MultiStepSelectionDisplayTest.php
@@ -248,6 +248,24 @@ class MultiStepSelectionDisplayTest extends EntityBrowserJavascriptTestBase {
     // Check that there are 2 entities in selection list after closing of EB.
     $this->assertSession()
       ->elementsCount('xpath', '//div[contains(@class, "entities-list")]/*', 2);
+
+    // Testing the select all checkbox.
+    $widget_configurations = [
+      // View widget configuration: We need to set the auto_select to FALSE so
+      // the checkboxes are present and the select all checkbox is available.
+      '774798f1-5ec5-4b63-84bd-124cd51ec07d' => [
+        'settings' => [
+          'view' => 'files_entity_browser',
+          'auto_select' => FALSE,
+        ],
+      ],
+    ];
+    $this->getEntityBrowser('test_entity_browser_file', 'iframe', 'tabs', 'multi_step_display', [], [], [], $widget_configurations);
+    $this->drupalGet('node/add/article');
+    $this->openEntityBrowser();
+
+    $checkbox = $this->getSession()->getPage()->find('css', 'th.select-all input');
+    $this->assertNotNull($checkbox);
   }
 
 }
