Свойство | Type | Description | |
---|---|---|---|
$already_installed | |||
$cache | |||
$config | |||
$db | |||
$extension_manager | |||
$host | |||
$install_success | |||
$lang | array | Language array used by phpBB | |
$port | |||
$root_url | |||
$sid | string | Session ID for current test's session (each test makes its own) | |
$webDriver | Facebook\WebDriver\Remote\RemoteWebDriver |
Méthode | Description | |
---|---|---|
assertContainsLang ( string $needle, string $haystack, string $message = null ) | assertContains for language strings | |
assertNotContainsLang ( string $needle, string $haystack, string $message = null ) | assertNotContains for language strings | |
find_element ( $type, $value ) | ||
install_ext ( $extension ) | ||
setUp ( ) | ||
setUpBeforeClass ( ) | ||
submit ( $type = 'id', $value = 'submit' ) | ||
take_screenshot ( ) | Take screenshot. Can be used for debug purposes. | |
visit ( $path ) |
Méthode | Description | |
---|---|---|
add_lang ( $lang_file ) | ||
add_lang_ext ( $ext_name, $lang_file ) | ||
admin_login ( $username = 'admin' ) | Login to the ACP You must run login() before calling this. | |
get_cache_driver ( ) | ||
get_db ( ) | ||
get_extension_manager ( ) | ||
install_board ( ) | ||
lang ( ) | ||
login ( $username = 'admin' ) | ||
logout ( ) | ||
purge_cache ( ) | ||
recreate_database ( $config ) | ||
setup_extensions ( ) : array | ||
tearDown ( ) |
protected admin_login ( $username = 'admin' ) |
protected static setup_extensions ( ) : array | ||
Résultat | array | List of extensions that should be set up |
public take_screenshot ( ) |
protected string $sid | ||
Résultat | string |