You are here

public function FeatureContext::intendUserName in Open Social 10.1.x

Same name and namespace in other branches
  1. 10.3.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()
  2. 10.0.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()
  3. 10.2.x tests/behat/features/bootstrap/FeatureContext.php \Drupal\social\Behat\FeatureContext::intendUserName()

Stores the user's name in $this->intended_user_names.

This goes before a register form manipulation and submission.

@Given I intend to create a user named :name

See also

cleanUsers()

File

tests/behat/features/bootstrap/FeatureContext.php, line 749

Class

FeatureContext
Defines application features from the specific context.

Namespace

Drupal\social\Behat

Code

public function intendUserName($name) {
  $this->intended_user_names[] = $name;
}