-
Clone this repository:
git clone https://github.com/saucelabs-training/demo-sauce-status-badge.git
-
Add the username for the badge and matrix URLs like so:
- Build Status Badge Example URL:
[![Build Status](https://app.saucelabs.com/buildstatus/SAUCE_USERNAME)](https://app.saucelabs.com/u/SAUCE_USERNAME)
- Browser Matrix Example URL:
[![Browser Matrix](https://app.saucelabs.com/browser-matrix/SAUCE_USERNAME.svg)](https://app.saucelabs.com/u/SAUCE_USERNAME)
- Build Status Badge Example URL:
-
Navigate to the project directory and run:
npm install
-
Run the tests with the following command:
npm test
Note that the demo pulls build status data from the last automated build. Create a sub-account in order to access specific individual project data. For more details refer to the following wiki page: Using the Status Badges and the Browser Matrix Widget to Monitor Test Results