git clone https://github.com/instana/weasel.git
cd weasel
yarn
yarn run webdriver:start
yarn test
To execute a single E2E test, change the describe
or it
function to fdescribe
or fit
respectively.
You will need sauce connect.
export SAUCE_USERNAME="…"
export SAUCE_ACCESS_KEY="…"
export SAUCE_IDENTIFIER="manual_tests"
# Start the sauce connect proxy in one terminal window:
bin/sc -u "$SAUCE_USERNAME" -k "$SAUCE_ACCESS_KEY" -P 4445 -i "$SAUCE_IDENTIFIER"
# In another window, start the tests
IS_TEST=true TRAVIS=true TRAVIS_JOB_NUMBER="$SAUCE_IDENTIFIER" yarn run test:e2e
$ travis encrypt --add env.global SAUCE_USERNAME=…
$ travis encrypt --add env.global SAUCE_ACCESS_KEY=…