protected function BasicTest::testWizardForm

Tests the actual wizard form.

See also

\Drupal\views_ui\ViewAddFormController::form()

File

drupal/core/modules/views/lib/Drupal/views/Tests/Wizard/BasicTest.php, line 147
Definition of Drupal\views\Tests\Wizard\BasicTest.

Class

BasicTest
Tests creating views with the wizard and viewing them on the listing page.

Namespace

Drupal\views\Tests\Wizard

Code

protected function testWizardForm() {
  $this
    ->drupalGet('admin/structure/views/add');
  $result = $this
    ->xpath('//small[@id = "edit-label-machine-name-suffix"]');
  $this
    ->assertTrue(count($result), 'Ensure that the machine name is applied to the name field.');
}