Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ jobs:
# https://github.com/marketplace/actions/setup-chromedriver
- name: Start chromedriver
uses: nanasess/setup-chromedriver@master
with:
# Optional: do not specify to match Chrome's version
chromedriver-version: '100.0.4896.60'

- run: |
export DISPLAY=:99
Expand Down Expand Up @@ -147,6 +144,7 @@ jobs:
sed -i "s/APP_DEBUG='1'/APP_DEBUG='0'/g" .env
printf '\nwhen@prod:\n framework:\n http_cache: true\n' >> config/packages/framework.yaml
sudo php bin/console cache:clear
sudo php bin/console cache:warmup
sudo chmod -R 777 var

- name: Behat tests
Expand Down
3 changes: 2 additions & 1 deletion config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ framework:
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: null
handler_id: 'session.handler.native_file'
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
cookie_secure: auto
cookie_samesite: lax
name: chamilo2
Expand Down
6 changes: 4 additions & 2 deletions tests/behat/behat.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
default:
extensions:
Behat\MinkExtension:
base_url: http://localhost
base_url: http://my.chamilo.net
default_session: selenium2
javascript_session: selenium2
selenium2:
wd_host: "http://127.0.0.1:4444"
wd_host: "http://127.0.0.1:4444/wd/hub"
browser: chrome
capabilities:
browserName: chrome
Expand All @@ -17,6 +17,8 @@ default:
- "--disable-dev-shm-usage"
- "--disable-gpu"
- "--window-size=1920,1080"
"goog:loggingPrefs":
browser: "ALL"
files_path: "%paths.base%/../../"
suites:
default:
Expand Down
Loading
Loading