Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (15 sloc) 599 Bytes
#!/bin/bash
#
# Run end-to-end tests and keep track of markup and screenshots.
#
set -e
USER=admin
PASS=$(./scripts/uuid.sh)
echo 'Updating password for admin so our testbot knows how to login'
docker-compose exec drupal /bin/bash -c "drush upwd 1 --password=$PASS"
echo 'Running our tests'
docker run -e DRUPALUSER=admin -e DRUPALPASS="$PASS" --rm -v "$(pwd)"/tests/browser-tests:/app/test \
--network starterkit_drupal8site_default \
-v "$(pwd)"/do-not-commit/screenshots:/artifacts/screenshots \
-v "$(pwd)"/do-not-commit/dom-captures:/artifacts/dom-captures \
dcycle/browsertesting:3
You can’t perform that action at this time.