You are here

public function FeatureContext::iWait in Bear 8

Same name and namespace in other branches
  1. 8.2 tests/features/bootstrap/FeatureContext.php \FeatureContext::iWait()

Waits for 1 second.

@Given /^I wait (\d+) seconds$/

File

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

Class

FeatureContext
Defines application features from the specific context.

Code

public function iWait($time) {
  sleep($time);
}