mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-18 10:25:11 +00:00
3037c4007f
* Standardised testing Joomla folder name
54 lines
2.7 KiB
YAML
54 lines
2.7 KiB
YAML
# This is the Codeception Test Suite Configuration
|
|
|
|
# To use it rename this file to acceptance.suite.yml (it will be ignored by git)
|
|
|
|
# To run the test modify the following parameters according to your localhost details:
|
|
# - url
|
|
# - folder
|
|
# - db_user and db_pass
|
|
|
|
# suite for acceptance tests.
|
|
# perform tests in browser using the WebDriver or PhpBrowser.
|
|
# If you need both WebDriver and PHPBrowser tests - create a separate suite.
|
|
|
|
class_name: AcceptanceTester
|
|
modules:
|
|
enabled:
|
|
- JoomlaBrowser
|
|
- AcceptanceHelper
|
|
config:
|
|
JoomlaBrowser:
|
|
url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms
|
|
browser: 'firefox'
|
|
window_size: 1024x768
|
|
capabilities:
|
|
unexpectedAlertBehaviour: 'accept'
|
|
username: 'admin' # UserName for the Administrator
|
|
password: 'admin' # Password for the Administrator
|
|
database host: 'localhost' # place where the Application is Hosted #server Address
|
|
database user: 'root' # MySQL Server user ID, usually root
|
|
database password: '' # MySQL Server password, usually empty or root
|
|
database name: 'test_weblinks' # DB Name, at the Server
|
|
database type: 'mysqli' # type in lowercase one of the options: MySQL\MySQLi\PDO
|
|
database prefix: 'jos_' # DB Prefix for tables
|
|
install sample data: 'no' # Do you want to Download the Sample Data Along with Joomla Installation, then keep it Yes
|
|
sample data: 'Default English (GB) Sample Data' # Default Sample Data
|
|
admin email: 'admin@mydomain.com' # email Id of the Admin
|
|
language: 'English (United Kingdom)' # Language in which you want the Application to be Installed
|
|
AcceptanceHelper:
|
|
repo_folder: '/home/travis/build/joomla-extensions/weblinks/' # Path to the Extension repository. To be used by tests to install via Install from folder
|
|
counter_test_url: 'http://localhost/tests/joomla' # the url for the weblink item used to test hits counter
|
|
url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms - we need it twice here
|
|
error_level: "E_ALL & ~E_STRICT & ~E_DEPRECATED"
|
|
env:
|
|
desktop: ~
|
|
tablet:
|
|
modules:
|
|
config:
|
|
JoomlaBrowser:
|
|
window_size: 768x1024
|
|
phone:
|
|
modules:
|
|
config:
|
|
JoomlaBrowser:
|
|
window_size: 480x640 |