CiviAcceptanceTesterTrait
Trait CiviAcceptanceTesterTrait Trait for common functions used for Codeception Testing framework
Table of Contents
Methods
- amOnRoute() : mixed
- Parse Parameters, and create generic Civi URL
- login() : mixed
- Dispatcher for login to supported plattforms
- loginAsAdmin() : mixed
- Login as Admin User
- loginAsDemo() : mixed
- Login as Demo User
- loginToBackdrop() : mixed
- Login to Backdrop
- loginToDrupal() : mixed
- Login to Drupal
- loginToJoomla() : mixed
- Login to Joomla
- loginToWordpress() : mixed
- Login to Wordpress
Methods
amOnRoute()
Parse Parameters, and create generic Civi URL
public
amOnRoute(mixed $page) : mixed
Parameters
- $page : mixed
-
The path and parameters of a CiviCRM page. Ex: "civicrm/dashboard?reset=1".
login()
Dispatcher for login to supported plattforms
public
login(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
-
CiviCRM username for the login
- $password : mixed
-
CiviCRM password for the login
loginAsAdmin()
Login as Admin User
public
loginAsAdmin() : mixed
loginAsDemo()
Login as Demo User
public
loginAsDemo() : mixed
loginToBackdrop()
Login to Backdrop
public
loginToBackdrop(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
-
CiviCRM username for the login
- $password : mixed
-
CiviCRM password for the login
loginToDrupal()
Login to Drupal
public
loginToDrupal(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
-
CiviCRM username for the login
- $password : mixed
-
CiviCRM password for the login
loginToJoomla()
Login to Joomla
public
loginToJoomla(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
-
CiviCRM username for the login
- $password : mixed
-
CiviCRM password for the login
loginToWordpress()
Login to Wordpress
public
loginToWordpress(mixed $username, mixed $password) : mixed
Parameters
- $username : mixed
-
CiviCRM username for the login
- $password : mixed
-
CiviCRM password for the login