Skip to content

Commit

Permalink
Load Mink Selenium 2 Driver package from source to have tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 authored and robocoder committed Mar 16, 2024
1 parent 8193094 commit bac541c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
- name: Install dependencies
run: |
composer config version 1.4.99
composer config preferred-install.behat/mink-selenium2-driver source
composer config preferred-install.* dist
composer require --no-update behat/mink-selenium2-driver:dev-master --dev --quiet
composer require --no-update mink/driver-testsuite:dev-master --dev --quiet
php -r '$json = json_decode(file_get_contents ("composer.json"), true); $json["autoload"]["psr-4"]["Behat\\Mink\\Tests\\Driver\\"] = "vendor/behat/mink-selenium2-driver/tests/"; file_put_contents("composer.json", json_encode($json, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT));'
composer update --no-interaction --prefer-dist
composer update --no-interaction
- name: Start Selenium & Mink test server
run: |
Expand Down

0 comments on commit bac541c

Please sign in to comment.