1.4.3 • Published 4 years ago

@advanced-rest-client/testing-karma-sl v1.4.3

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
4 years ago

Testing via SauceLabs

This runs your local test via SauceLabs browsers/devices. You need to have a SauceLabs account.

Using:

Setup

Manual

  • npm i --save-dev @advanced-rest-client/testing-karma-sl
  • Copy karma.sl.config.js to karma.sl.config.js
  • Add these scripts to your package.json
    "scripts": {
      "test:sl": "karma start karma.sl.config.js --compatibility all --coverage"
    },

Setup user + key

The SAUCE_USERNAME variable is your login to SauceLabs and SAUCE_ACCESS_KEY is the key you just coppied.

# for one time use only
export SAUCE_USERNAME=xxx
export SAUCE_ACCESS_KEY=xxx

# or add them to your .bashrc
echo "export SAUCE_USERNAME=xxx" >> ~/.bashrc
echo "export SAUCE_ACCESS_KEY=xxx" >> ~/.bashrc

# to verify, run:
echo "User: $SAUCE_USERNAME"
echo "Key: $SAUCE_ACCESS_KEY"

Usage

npm run test:sl
1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago