Sauce Labs helps organizations deliver a trusted digital experience with the most comprehensive and trusted continuous testing cloud in the world.
Go to siteSauce Labs API lets you automate your web and mobile app testing. This means you can create, manage, and run tests programmatically on different browsers and devices, gather results, and tap into Sauce Labs' extensive browser/device coverage without manual intervention. With Pipedream, you can connect Sauce Labs to a wide array of other services to streamline your testing pipeline, react to testing events in real-time, and integrate test outcomes into your CI/CD workflow, issue tracking, or notification systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
saucelabs: {
type: "app",
app: "saucelabs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.saucelabs.$auth.api_base_url}.saucelabs.com/rest/v1/info/status`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.saucelabs.$auth.username}`,
password: `${this.saucelabs.$auth.access_key}`,
},
})
},
})
Automate Test Execution after Code Commits: Trigger a suite of automated tests on Sauce Labs when new code is committed to a GitHub repository. Use Pipedream's GitHub trigger to start Sauce Labs tests and then handle results with subsequent steps.
Monitor Test Results and Notify Teams: Set up a workflow that listens for completed tests on Sauce Labs, parses the results, and sends a formatted report to Slack, email, or another communication platform to keep your team informed.
Integrate Test Outcomes with JIRA: After tests are completed in Sauce Labs, use the results to create or update JIRA issues automatically. This can help in tracking bugs or test failures directly within your project management tool.
SauceLabs uses API keys for authentication. When you connect your SauceLabs account, Pipedream securely stores the keys so you can easily authenticate to SauceLabs APIs in both code and no-code steps.
To retrieve your User Name and Access Key,