diff --git a/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php b/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php
new file mode 100644
index 0000000..d5642b7
--- /dev/null
+++ b/core/modules/node/tests/src/FunctionalJavascript/TestSettingSummariesContentType.php
@@ -0,0 +1,51 @@
+<?php
+
+namespace Drupal\Tests\node\FunctionalJavascript;
+
+use Drupal\FunctionalJavascriptTests\JavascriptTestBase;
+
+/**
+ * Tests the JavaScript updating of summaries on content type form.
+ *
+ * @group node
+ */
+class TestSettingSummariesContentType extends JavascriptTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = ['language', 'node'];
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setUp() {
+    parent::setUp();
+
+    $admin_user = $this->drupalCreateUser(['administer content types']);
+    $this->drupalLogin($admin_user);
+    $this->drupalCreateContentType(['type' => 'test']);
+  }
+
+  /**
+   * Test a vertical tab 'Workflow' summary.
+   */
+  public function testWorkflowSummary() {
+    $this->drupalGet('admin/structure/types/manage/test');
+    $session = $this->getSession();
+    $page = $session->getPage();
+
+    $selector = '[href=\#edit-workflow] .vertical-tabs__menu-item-summary';
+
+    // Testing that summaries haven't excess spaces.
+    $summary_text = $page->findAll('css', $selector)[0]->getText();
+    $page->findField('options[status]')->check();
+    $page->findField('options[promote]')->check();
+    $page->waitFor(10, function () use ($page, $selector, $summary_text) {
+      return $summary_text !== $page->findAll('css', $selector)[0]->getText();
+    });
+    $summary_text = $page->findAll('css', $selector)[0]->getText();
+    $this->assertContains('Published, Promoted to front page', $summary_text);
+  }
+
+}
