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

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

Loading…
Cancel
Save