You are here

public function GroupCreatorWizardTest::testNoWizard in Group 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/GroupCreatorWizardTest.php \Drupal\Tests\group\Functional\GroupCreatorWizardTest::testNoWizard()

Tests that a group form is not turned into a wizard.

File

tests/src/Functional/GroupCreatorWizardTest.php, line 51

Class

GroupCreatorWizardTest
Tests the group creator wizard.

Namespace

Drupal\Tests\group\Functional

Code

public function testNoWizard() {
  $this
    ->drupalGet('/group/add/other');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
  $this
    ->assertSession()
    ->buttonExists('Create Other');
  $this
    ->assertSession()
    ->buttonNotExists('Cancel');
}