Skip to content

Commit

Permalink
try a fork
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Jul 25, 2023
1 parent 95f0c4f commit c85aa3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/TestPHPUnit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
ddev composer config repositories.drainpipe-dev --json '{"type": "path", "url": "drainpipe-dev", "options": {"symlink": false}}'
ddev composer config minimum-stability dev
ddev composer require "lullabot/drainpipe @dev" --with-all-dependencies
ddev composer require "lullabot/drainpipe-dev @dev" weitzman/drupal-test-traits behat/mink-selenium2-driver --dev --with-all-dependencies
ddev composer require "lullabot/drainpipe-dev @dev" weitzman/drupal-test-traits oleg-andreyev/mink-phpwebdriver --dev --with-all-dependencies
# Restart is required to enable the provided Selenium containers
ddev restart
Expand Down
4 changes: 2 additions & 2 deletions scaffold/phpunit-testtraits.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
-->
<env name="BROWSERTEST_OUTPUT_BASE_URL" value=""/>
<!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" -->
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["firefox", null, "http://firefox:4444/wd/hub"]'/>
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["chrome", {"browserName":"chrome","goog:chromeOptions":{"w3c": true, "args":["---no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost"]}}, "http://chrome:4444/wd/hub"]'/>
<!-- DTT settings https://gitlab.com/weitzman/drupal-test-traits -->
<env name="DTT_BASE_URL" value="http://web"/>
<env name="DTT_MINK_DRIVER_ARGS" value='["firefox", null, "http://firefox:4444/wd/hub"]'/>
<env name="DTT_MINK_DRIVER_ARGS" value='["chrome", {"browserName":"chrome","goog:chromeOptions":{"w3c": true, "args":["---no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost"]}}, "http://chrome:4444/wd/hub"]'/>
</php>
<testsuites>
<testsuite name="unit">
Expand Down

0 comments on commit c85aa3a

Please sign in to comment.