[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
modules:
enabled:
- JoomlaBrowser
- AcceptanceHelper
- Joomla\Browser\JoomlaBrowser
- Helper\Acceptance
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
browser: 'firefox'
window_size: 1024x768
@ -197,12 +197,12 @@ env:
tablet:
modules:
config:
JoomlaBrowser:
Joomla\Browser\JoomlaBrowser:
window_size: 768x1024
phone:
modules:
config:
JoomlaBrowser:
Joomla\Browser\JoomlaBrowser:
window_size: 480x640
```

View File

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

View File

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

View File

@ -11,14 +11,16 @@
"php": ">=7.2"
},
"require-dev": {
"codeception/codeception": "^3",
"phpunit/phpunit": "^5.7.27",
"joomla-projects/joomla-browser": "v3.9.0",
"behat/gherkin": "^4.4.1",
"codeception/codeception": "^4.1",
"consolidation/robo": "^1.0.0",
"joomla-projects/joomla-testing-robo": "~1.0",
"joomla-projects/selenium-server-standalone": "^v3.1.0",
"fzaninotto/faker": "^1.6",
"joomla-projects/joomla-browser": "^4.0",
"joomla-projects/joomla-testing-robo": "~1.0",
"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
modules:
enabled:
- JoomlaBrowser
- Joomla\Browser\JoomlaBrowser
- AcceptanceHelper
config:
JoomlaBrowser:
Joomla\Browser\JoomlaBrowser:
url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms
browser: 'firefox'
window_size: 1024x768
@ -35,6 +35,7 @@ modules:
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
timeout: 90
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
@ -45,10 +46,10 @@ env:
tablet:
modules:
config:
JoomlaBrowser:
Joomla\Browser\JoomlaBrowser:
window_size: 768x1024
phone:
modules:
config:
JoomlaBrowser:
window_size: 480x640
Joomla\Browser\JoomlaBrowser:
window_size: 480x640