Skip to content

Commit

Permalink
Removed Behat support. (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden authored Apr 3, 2020
1 parent 80f417a commit c56816f
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 687 deletions.
4 changes: 0 additions & 4 deletions bin/travis/_includes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ export DRUPAL_TEST_WEBDRIVER_PORT="4444"
# too narrowly.
export COLUMNS=125

# Correct Selenium URL for new versions of Chrome/ChromeDriver:
# @see https://github.com/acquia/orca/pull/38
export BEHAT_PARAMS='{"extensions":{"Behat\\MinkExtension":{"selenium2":{"wd_host":"http://127.0.0.1:4444","capabilities":{"chrome":{"switches":["--headless","--disable-gpu"]}}}}}}'

# Add binary directories to PATH.
export PATH="$HOME/.composer/vendor/bin:$PATH"
export PATH="$ORCA_ROOT/bin:$PATH"
Expand Down
20 changes: 4 additions & 16 deletions bin/travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,11 @@ case "$ORCA_JOB" in
"DEPRECATED_CODE_SCAN") eval "orca qa:deprecated-code-scan --sut=$ORCA_SUT_NAME"; unset ORCA_ENABLE_NIGHTWATCH ;;
"DEPRECATED_CODE_SCAN_CONTRIB") eval "orca qa:deprecated-code-scan --contrib"; unset ORCA_ENABLE_NIGHTWATCH ;;
"ISOLATED_RECOMMENDED") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only" ;;
"INTEGRATED_RECOMMENDED")
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY --phpunit"
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only --behat"
;;
"CORE_PREVIOUS")
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY --phpunit"
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only --behat"
;;
"INTEGRATED_RECOMMENDED") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY" ;;
"CORE_PREVIOUS") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY" ;;
"ISOLATED_DEV") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only" ;;
"INTEGRATED_DEV")
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY --phpunit"
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only --behat"
;;
"CORE_NEXT")
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY --phpunit"
eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only --behat"
;;
"INTEGRATED_DEV") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY" ;;
"CORE_NEXT") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME $SUT_ONLY" ;;
"D9_READINESS") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME --sut-only" ;;
"CUSTOM") eval "orca qa:automated-tests --sut=$ORCA_SUT_NAME ${ORCA_CUSTOM_TESTS_RUN_ARGS:=}" ;;
esac
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"ext-json": "*",
"ext-sqlite3": "*",
"acquia/coding-standards": "^0.4.0",
"behat/behat": "^3.5",
"composer/composer": "^1.7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5",
"ergebnis/composer-normalize": "^2.0.0",
Expand Down
Loading

0 comments on commit c56816f

Please sign in to comment.