2015-05-24 19:32:32 +00:00
|
|
|
# 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-cms3' # 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
|
2015-09-30 17:29:14 +00:00
|
|
|
database name: 'test_weblinks' # DB Name, at the Server
|
2015-05-24 19:32:32 +00:00
|
|
|
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
|
2015-10-31 11:10:07 +00:00
|
|
|
counter_test_url: 'http://localhost/tests/joomla-cms3' # the url for the weblink item used to test hits counter
|
2015-11-01 07:51:15 +00:00
|
|
|
url: 'http://localhost/tests/joomla-cms3' # the url that points to the joomla installation at /tests/system/joomla-cms - we need it twice here
|
2015-11-01 12:09:58 +00:00
|
|
|
error_level: "E_ALL & ~E_STRICT & ~E_DEPRECATED"
|
|
|
|
env:
|
|
|
|
desktop: ~
|
|
|
|
tablet:
|
|
|
|
modules:
|
|
|
|
config:
|
|
|
|
JoomlaBrowser:
|
|
|
|
window_size: 768x1024
|
|
|
|
phone:
|
|
|
|
modules:
|
|
|
|
config:
|
|
|
|
JoomlaBrowser:
|
|
|
|
window_size: 480x640
|