Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 974 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (27 loc) · 974 Bytes

Contributing

Local development environment

git clone https://github.com/instana/weasel.git
cd weasel
yarn
yarn run webdriver:start
yarn test

Executing a Single E2E Test

To execute a single E2E test, change the describe or it function to fdescribe or fit respectively.

Executing local tests against specific browsers on Saucelabs

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

Configure Travis CI

$ travis encrypt --add env.global SAUCE_USERNAME=…
$ travis encrypt --add env.global SAUCE_ACCESS_KEY=…