Page History
...
With the browser matrix, you can keep track of the test status of your project for various browser/platform/operating system combinations.
...
...
Build
...
Status
...
Badge
...
Example
...
Markdown |
---|
 |
#### |
Browser
...
Matrix
...
Badge
...
Example
...
Markdown |
---|
 |
...
Copy this markdown code into your GitHub README.
Code Block [](https://app.saucelabs.com/u/YOUR_SAUCE_USERNAME)
Alternatively, you can use this HTML code on your project site.
Code Block language xml <a href="https://app.saucelabs.com/u/YOUR_SAUCE_USERNAME"> <img src="https://app.saucelabs.com/buildstatus/YOUR_SAUCE_USERNAME" alt="Sauce Test Status"/> </a>
Tip title Multiple Projects, Multiple Accounts If you just have one project, you can use your main Sauce account name. If you have multiple projects, you will want to create a sub-account for each project.
Run your tests.
Make sure to set a build number, a pass/fail status, and a public, share, or public restricted visibility for every test that runs using the Test Configuration Options.
You'll know that these are set correctly if your tests have a status of Pass or Failed instead of Finished on your dashboard, and that a build number is also displayed.
...
Code Block |
---|
[](https://app.saucelabs.com/u/YOUR_SAUCE_USERNAME) |
...
Code Block | ||
---|---|---|
| ||
<a href="https://app.saucelabs.com/u/YOUR_SAUCE_USERNAME"> <img src="https://app.saucelabs.com/browser-matrix/YOUR_SAUCE_USERNAME.svg" alt="Sauce Test Status"/> </a> |
...
Once you have the token, append it to the badge URL:
Code Block |
---|
https://app.saucelabs.com/buildstatus/YOUR_SAUCE_USERNAME?auth=HMAC_TOKEN |
...