Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / system / tests / src / Functional / Form / ElementTest.php
index 57da8daf278649a48d6b88d47c81700337845f80..6eefa484bddee173d67b01ae513ccf825aca9f99 100644 (file)
@@ -223,4 +223,12 @@ class ElementTest extends BrowserTestBase {
     $this->assertText('I am an error on the details element.');
   }
 
+  /**
+   * Tests summary attributes of details.
+   */
+  public function testDetailsSummaryAttributes() {
+    $this->drupalGet('form-test/group-details');
+    $this->assertTrue($this->cssSelect('summary[data-summary-attribute="test"]'));
+  }
+
 }