commit df18109e4a450049ca117ef8ad4c5cc79d78268a
Author: Lee Rowlands <lee.rowlands@previousnext.com.au>
Date:   Tue May 3 08:43:05 2016 +1000

    [#1867030] And a test

diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php
index f65ab6f..63b999e 100644
--- a/core/modules/contact/src/Tests/ContactSitewideTest.php
+++ b/core/modules/contact/src/Tests/ContactSitewideTest.php
@@ -49,6 +49,7 @@ function testSiteWideContact() {
       'administer users',
       'administer account settings',
       'administer contact_message fields',
+      'administer contact_message form display',
     ));
     $this->drupalLogin($admin_user);
 
@@ -274,6 +275,10 @@ function testSiteWideContact() {
     $this->fieldUIAddNewField(NULL, $field_name, $field_label, 'text');
     $field_name = 'field_' . $field_name;
 
+    // Check preview field can be ordered.
+    $this->drupalGet('admin/structure/contact/manage/' . $contact_form . '/form-display');
+    $this->assertText(t('Preview'));
+
     // Check that the field is displayed.
     $this->drupalGet('contact/' . $contact_form);
     $this->assertText($field_label);
