Skip to content

A demonstration of using the sauce labs status badge or the browser widget to display test data

License

Notifications You must be signed in to change notification settings

saucelabs-training/demo-sauce-status-badge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sauce Labs Status Badge Demo

CircleCI

Status Badge

Sauce Test Status

Browser Matrix

Sauce Test Status


Prerequisites:


How to Run This Demo:

  1. Clone this repository:

    git clone https://github.com/saucelabs-training/demo-sauce-status-badge.git
    
  2. Set your Sauce Labs Credentials as environment variables

  3. 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)
      
  4. Navigate to the project directory and run:

    npm install
    
  5. 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


About

A demonstration of using the sauce labs status badge or the browser widget to display test data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published