Update behat config

pull/3768/head
Julio Montoya 5 years ago
parent d12b02821a
commit 8e0ce131f3
  1. 8
      .github/workflows/php.yml
  2. 5
      tests/behat/behat.yml

@ -92,6 +92,7 @@ jobs:
- name: Start chrome
run: |
sudo apt install google-chrome-stable
google-chrome --version
google-chrome-stable --version
google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
whereis google-chrome-stable
@ -155,10 +156,13 @@ jobs:
php -v
php -m
- name: Check chamilo
run: |
sudo chmod 777 -R ${{ github.workspace }}
curl http://localhost/main/install/index.php
- name: Install chamilo
run: |
sudo chmod 777 -R ${{ github.workspace }}
curl http://localhost/main/install/index.php
cd tests/behat
../../vendor/behat/behat/bin/behat features/actionInstall.feature -vvv
cd ..

@ -8,6 +8,11 @@ default:
wd_host: "http://127.0.0.1:4444/wd/hub"
browser: chrome
capabilities:
chrome:
switches:
- "--headless"
- "--disable-gpu"
- "--no-sandbox"
extra_capabilities:
chromeOptions:
w3c: false

Loading…
Cancel
Save