LambdaTest is a leading AI-augmented unified test orchestration and execution cloud that enables developers & testers to ship code faster.
Go to siteLambdaTest API on Pipedream allows developers to integrate and automate browser testing directly within their development workflows. Using this API, you can create, manage, and execute Selenium, Cypress, and other tests on a scalable cloud grid, facilitating continuous testing with minimal setup. This integration is especially beneficial for continuous integration/continuous deployment (CI/CD) pipelines, enabling teams to ensure that applications perform as expected across multiple browser environments before deployment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lambdatest: {
type: "app",
app: "lambdatest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lambdatest.com/automation/api/v1/projects`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.lambdatest.$auth.username}`,
password: `${this.lambdatest.$auth.access_key}`,
},
})
},
})
Automate Selenium Test Execution on Code Commit: Trigger Selenium tests on LambdaTest whenever new code is committed to a GitHub repository. Use Pipedream's GitHub trigger to detect commits, then automatically initiate a series of browser compatibility tests on LambdaTest. This helps ensure that recent changes pass all browser-based tests.
Scheduled Browser Compatibility Testing: Use Pipedream’s scheduled workflows to initiate browser compatibility tests on LambdaTest at regular intervals, such as nightly or weekly. This is ideal for ensuring ongoing compatibility during long-term projects without needing manual intervention each time.
Error Reporting Integration: Combine LambdaTest with Slack using Pipedream. Configure a workflow where, if a test fails on LambdaTest, an automatic notification is sent to a designated Slack channel. This immediate feedback loop enables teams to quickly address issues, improving both development speed and software quality.
LambdaTest uses API keys for authentication. When you connect your LambdaTest account, Pipedream securely stores the keys so you can easily authenticate to LambdaTest APIs in both code and no-code steps.
To retrieve your API's Username and Access Key,