[4.x] Updating composer dependencies (#494)

This commit is contained in:
Hannes Papenberg 2022-04-21 14:04:07 +02:00 committed by GitHub
parent 5d714e43bb
commit 4b996063b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 795 additions and 1545 deletions

View File

@ -166,10 +166,10 @@ Bye
class_name: AcceptanceTester class_name: AcceptanceTester
modules: modules:
enabled: enabled:
- JoomlaBrowser - Joomla\Browser\JoomlaBrowser
- AcceptanceHelper - Helper\Acceptance
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/weblinks/tests/joomla-cms3' # the url that points to the joomla installation at /tests/system/joomla-cms url: 'http://localhost/weblinks/tests/joomla-cms3' # the url that points to the joomla installation at /tests/system/joomla-cms
browser: 'firefox' browser: 'firefox'
window_size: 1024x768 window_size: 1024x768
@ -197,12 +197,12 @@ env:
tablet: tablet:
modules: modules:
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
window_size: 768x1024 window_size: 768x1024
phone: phone:
modules: modules:
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
window_size: 480x640 window_size: 480x640
``` ```

View File

@ -595,7 +595,7 @@ class RoboFile extends Tasks
{ {
$suiteConfig = $this->getSuiteConfig(); $suiteConfig = $this->getSuiteConfig();
$codeceptMainConfig = \Codeception\Configuration::config(); $codeceptMainConfig = \Codeception\Configuration::config();
$browser = $suiteConfig['modules']['config']['JoomlaBrowser']['browser']; $browser = $suiteConfig['modules']['config']['Joomla\Browser\JoomlaBrowser']['browser'];
if ($browser == 'chrome') if ($browser == 'chrome')
{ {

View File

@ -1,13 +1,13 @@
actor: Tester actor: Tester
paths: paths:
tests: tests tests: tests
log: /drone/src/tests/_output log: tests/_output
data: tests/_data data: tests/_data
helpers: tests/_support helpers: tests/_support
settings: settings:
bootstrap: _bootstrap.php
colors: true colors: true
memory_limit: 1024M memory_limit: 1024M
bootstrap: _bootstrap.php
webdrivers: webdrivers:
firefox: firefox:
windows: vendor\joomla-projects\selenium-server-standalone\bin\webdrivers\gecko\windows\geckodriver64.exe windows: vendor\joomla-projects\selenium-server-standalone\bin\webdrivers\gecko\windows\geckodriver64.exe

View File

@ -11,14 +11,16 @@
"php": ">=7.2" "php": ">=7.2"
}, },
"require-dev": { "require-dev": {
"codeception/codeception": "^3", "behat/gherkin": "^4.4.1",
"phpunit/phpunit": "^5.7.27", "codeception/codeception": "^4.1",
"joomla-projects/joomla-browser": "v3.9.0",
"consolidation/robo": "^1.0.0", "consolidation/robo": "^1.0.0",
"joomla-projects/joomla-testing-robo": "~1.0",
"joomla-projects/selenium-server-standalone": "^v3.1.0",
"fzaninotto/faker": "^1.6", "fzaninotto/faker": "^1.6",
"joomla-projects/joomla-browser": "^4.0",
"joomla-projects/joomla-testing-robo": "~1.0",
"joomla-projects/jorobo": "^0.7.6", "joomla-projects/jorobo": "^0.7.6",
"behat/gherkin": "^4.4.1" "joomla-projects/selenium-server-standalone": "^3.14",
"phpunit/phpunit": "^5.7.27",
"codeception/module-filesystem": "^1.0",
"codeception/module-asserts": "^1.3"
} }
} }

2299
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -14,10 +14,10 @@
class_name: AcceptanceTester class_name: AcceptanceTester
modules: modules:
enabled: enabled:
- JoomlaBrowser - Joomla\Browser\JoomlaBrowser
- AcceptanceHelper - AcceptanceHelper
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms
browser: 'firefox' browser: 'firefox'
window_size: 1024x768 window_size: 1024x768
@ -35,6 +35,7 @@ modules:
sample data: 'Default English (GB) Sample Data' # Default Sample Data sample data: 'Default English (GB) Sample Data' # Default Sample Data
admin email: 'admin@mydomain.com' # email Id of the Admin admin email: 'admin@mydomain.com' # email Id of the Admin
language: 'English (United Kingdom)' # Language in which you want the Application to be Installed language: 'English (United Kingdom)' # Language in which you want the Application to be Installed
timeout: 90
AcceptanceHelper: 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 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 counter_test_url: 'http://localhost/tests/joomla' # the url for the weblink item used to test hits counter
@ -45,10 +46,10 @@ env:
tablet: tablet:
modules: modules:
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
window_size: 768x1024 window_size: 768x1024
phone: phone:
modules: modules:
config: config:
JoomlaBrowser: Joomla\Browser\JoomlaBrowser:
window_size: 480x640 window_size: 480x640