29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-05-28 07:53:37 +00:00
cms/tests/Codeception/acceptance.suite.dist.yml
Hannes Papenberg 3da674c353
[4.2] Drone: Parallelizing tasks (#37831)
merge on code review
2022-05-23 11:40:26 +02:00

158 lines
5.7 KiB
YAML

# Codeception Test Suite Configuration
# 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:
- Asserts
- Joomla\Browser\JoomlaBrowser
- Helper\Acceptance
- Helper\JoomlaDb
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/test-install' # the url that points to the joomla installation at /tests/system/joomla-cms
browser: 'chrome'
window_size: 1920x1080
capabilities:
'goog:chromeOptions':
args: [ "headless", "whitelisted-ips", "disable-gpu", "no-sandbox", "window-size=1920x1080", "--disable-dev-shm-usage" ]
name: 'jane doe' # Name for the Administrator
username: 'ci-admin' # UserName for the Administrator
password: 'joomla-17082005' # Password for the Administrator
database host: 'mysql' # place where the Application is Hosted #server Address
database user: 'root' # MySQL Server user ID, usually root
database password: 'joomla_ut' # MySQL Server password, usually empty or root
database name: 'test_joomla' # 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@example.org' # email Id of the Admin
language: 'English (United Kingdom)' # Language in which you want the Application to be Installed
timeout: 90 # or 90000 the same result
log_js_errors: true
cmsPath: '/tests/www/test-install-test' # ; If you want to setup your test website (document root) in a different folder, you can do that here.
localUser: 'www-data' # (Linux / Mac only) If you want to set a different owner for the CMS test folder
Helper\JoomlaDb:
dsn: 'mysql:host=mysql;dbname=test_joomla'
user: 'root'
password: 'joomla_ut'
prefix: 'jos_'
error_level: "E_ALL & ~E_STRICT & ~E_DEPRECATED"
env:
postgres:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/postgres'
database host: 'postgres'
database type: 'pgsql'
database prefix: 'jos_'
cmsPath: '/tests/www/postgres'
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'jos_'
mysql8:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysql8'
database host: 'mysql8'
database prefix: 'jos_'
cmsPath: '/tests/www/mysql8'
Helper\JoomlaDb:
prefix: 'jos_'
mysql:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysql'
database prefix: 'jos_'
cmsPath: '/tests/www/mysql'
Helper\JoomlaDb:
prefix: 'jos_'
postgresphpmax:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/postgresphpmax'
database host: 'postgres'
database type: 'pgsql'
database prefix: 'phpmax_'
cmsPath: '/tests/www/postgresphpmax'
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'phpmax_'
mysql8phpmax:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysql8phpmax'
database host: 'mysql8'
database prefix: 'phpmax_'
cmsPath: '/tests/www/mysql8phpmax'
Helper\JoomlaDb:
prefix: 'phpmax_'
mysqlphpmax:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysqlphpmax'
database prefix: 'phpmax_'
cmsPath: '/tests/www/mysqlphpmax'
Helper\JoomlaDb:
prefix: 'phpmax_'
postgresphpnext:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/postgresphpnext'
database host: 'postgres'
database type: 'pgsql'
database prefix: 'phpnext_'
cmsPath: '/tests/www/postgresphpnext'
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'phpnext_'
mysql8phpnext:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysql8phpnext'
database host: 'mysql8'
database prefix: 'phpnext_'
cmsPath: '/tests/www/mysql8phpnext'
Helper\JoomlaDb:
prefix: 'phpnext_'
mysqlphpnext:
paths:
log: /drone/src/tests/Codeception/_output
modules:
config:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/mysqlphpnext'
database prefix: 'phpnext_'
cmsPath: '/tests/www/mysqlphpnext'
Helper\JoomlaDb:
prefix: 'phpnext_'