Browse Source

Browser Tests: Update Dusk and Greenmail

pull/8759/merge
Aleksander Machniak 2 years ago
parent
commit
656baebc67
  1. 2
      .github/run.sh
  2. 5
      .github/workflows/browser_tests.yml
  3. 3
      tests/Browser/README.md

2
.github/run.sh

@ -3,7 +3,7 @@
# The script is intended for use on Travis with Trusty distribution
# It installs in-browser tests dependencies and prepares Roundcube instance
GMV=1.5.11
GMV=1.6.13
CHROMEVERSION=$(google-chrome-stable --version | tr -cd [:digit:]. | cut -d . -f 1)
GMARGS="-Dgreenmail.setup.all -Dgreenmail.users=test:test -Dgreenmail.startup.timeout=3000"

5
.github/workflows/browser_tests.yml

@ -44,10 +44,7 @@ jobs:
- name: Setup composer
run: |
cp composer.json-dist composer.json
composer require "laravel/dusk:~6.9.0" --no-update
- name: Fix PHPUnit for PHP8
run: composer config platform.php 7.4
composer require "laravel/dusk:^7.7" --no-update
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress

3
tests/Browser/README.md

@ -14,10 +14,9 @@ INSTALLATION
Installation:
0. Note that the suite requires PHP >= 7.2 and PHPUnit >= 7.5.
1. Install Laravel Dusk with all dependencies.
```
composer require "laravel/dusk:~6.17.0"
composer require "laravel/dusk:^7.7"
```
2. Install Chrome WebDriver for the version of Chrome/Chromium in your system. Yes,
you have to have Chrome/Chromium installed.

Loading…
Cancel
Save