+++ /dev/null
-<?php
-
-namespace Drupal\system\Tests\Form;
-
-use Drupal\simpletest\WebTestBase;
-
-/**
- * Tests the SystemConfigFormTestBase class.
- *
- * @group Form
- */
-class SystemConfigFormTest extends WebTestBase {
-
- /**
- * Modules to enable.
- *
- * @var array
- */
- public static $modules = ['form_test'];
-
- /**
- * Tests the SystemConfigFormTestBase class.
- */
- public function testSystemConfigForm() {
- $this->drupalGet('form-test/system-config-form');
- $element = $this->xpath('//div[@id = :id]/input[contains(@class, :class)]', [':id' => 'edit-actions', ':class' => 'button--primary']);
- $this->assertTrue($element, 'The primary action submit button was found.');
- $this->drupalPostForm(NULL, [], t('Save configuration'));
- $this->assertText(t('The configuration options have been saved.'));
- }
-
-}