diff --git a/tests/src/Functional/ViewsTest.php b/tests/src/Functional/ViewsTest.php
index 0a54d539..3bbbb080 100644
--- a/tests/src/Functional/ViewsTest.php
+++ b/tests/src/Functional/ViewsTest.php
@@ -438,7 +438,7 @@ protected function checkResults(array $query, array $expected_results = NULL, $l
   }
 
   /**
-   * Test Views admin UI and field handlers.
+   * Tests the Views admin UI and field handlers.
    */
   public function testViewsAdmin() {
     // Add a field from a related entity to the index to test whether it gets
@@ -737,6 +737,10 @@ public function testViewsAdmin() {
     $this->drupalGet('search-api-test');
     $this->assertSession()->statusCodeEquals(200);
     $this->assertSession()->pageTextNotContains('[name] [EMPTY]');
+
+    // Run regression tests.
+    $this->drupalLogin($admin_user);
+    $this->adminUiRegressionTests();
   }
 
   /**
@@ -826,6 +830,28 @@ protected function submitPluginForm(array $edit) {
   }
 
   /**
+   * Contains regression tests for previous, fixed bugs in the Views UI.
+   */
+  protected function adminUiRegressionTests() {
+    $this->regressionTest2883807();
+  }
+
+  /**
+   * Verifies that adding a contextual filter doesn't trigger a notice.
+   *
+   * @see https://www.drupal.org/node/2883807
+   */
+  protected function regressionTest2883807() {
+    $this->drupalGet('admin/structure/views/nojs/add-handler/search_api_test_view/page_1/argument');
+    $edit = [
+      'name[search_api_index_database_search_index.author]' => TRUE,
+    ];
+    $this->submitForm($edit, 'Add and configure contextual filters');
+    $this->submitForm([], 'Apply');
+    $this->submitForm([], 'Save');
+  }
+
+  /**
    * {@inheritdoc}
    */
   protected function initConfig(ContainerInterface $container) {
