public function VarbaseContext::iLogout in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.7
Same name and namespace in other branches
- 8.8 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iLogout()
- 8.4 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iLogout()
- 8.5 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iLogout()
- 8.6 tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iLogout()
- 9.0.x tests/features/bootstrap/VarbaseContext.php \VarbaseContext::iLogout()
#varbase : To logout from the current session.
Example: When I logout
@When /^I logout$/
File
- tests/
features/ bootstrap/ VarbaseContext.php, line 109
Class
- VarbaseContext
- Defines application features from the specific context.
Code
public function iLogout() {
// Logout if I am logged in.
if ($this
->loggedIn()) {
$this
->logout();
}
}