You are here

public function FeatureContext::deleteTestField in Bear 7

Same name and namespace in other branches
  1. 8.2 tests/features/bootstrap/FeatureContext.php \FeatureContext::deleteTestField()
  2. 8 tests/features/bootstrap/FeatureContext.php \FeatureContext::deleteTestField()
  3. 7.2 tests/features/bootstrap/FeatureContext.php \FeatureContext::deleteTestField()

@AfterScenario @deleteTestField

File

tests/features/bootstrap/FeatureContext.php, line 364

Class

FeatureContext
Defines application features from the specific context.

Code

public function deleteTestField() {
  $this
    ->visit("admin/structure/types/manage/page/fields/field_test/delete");
  $this
    ->pressButton("Delete");
}