You are here

public function ProcessorAddFormTest::testCancelPresence in Purge 8.3

Tests that the cancel button is present.

See also

\Drupal\purge_ui\Form\ProcessorAddForm::buildForm

\Drupal\purge_ui\Form\CloseDialogTrait::closeDialog

File

modules/purge_ui/tests/src/Functional/Form/ProcessorAddFormTest.php, line 102

Class

ProcessorAddFormTest
Tests \Drupal\purge_ui\Form\ProcessorAddForm.

Namespace

Drupal\Tests\purge_ui\Functional\Form

Code

public function testCancelPresence() : void {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalGet($this
    ->getPath());
  $this
    ->assertActionExists('edit-cancel', 'Cancel');
}