Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 18 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
# Run Angular Karma Tests with Selenium on TestMu AI (Formerly LambdaTest)
# Run SmartUI GitHub App Integration Tests on TestMu AI (Formerly LambdaTest)

<p align="center">
<a href="https://www.testmuai.com/"><img src="https://img.shields.io/badge/MADE%20BY%20TestMu%20AI-000000.svg?style=for-the-badge&labelColor=000" alt="Made by TestMu AI"></a>
<a href="https://www.npmjs.com/package/karma"><img src="https://img.shields.io/npm/v/karma.svg?style=for-the-badge&labelColor=000000" alt="Karma version"></a>
<a href="https://www.npmjs.com/package/selenium-webdriver"><img src="https://img.shields.io/npm/v/selenium-webdriver.svg?style=for-the-badge&labelColor=000000" alt="Selenium WebDriver version"></a>
<a href="https://community.testmuai.com/"><img src="https://img.shields.io/badge/Join%20the%20community-blueviolet.svg?style=for-the-badge&labelColor=000000" alt="Community"></a>
</p>

## Getting Started

[TestMu AI](https://www.testmuai.com/) (Formerly LambdaTest) is the world's first full-stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks.
[TestMu AI](https://www.testmuai.com/) (Formerly LambdaTest) is the world's first full-stack AI Agentic Quality Engineering platform that empowers teams to test intelligently, smarter, and ship faster. Built for scale, it offers a full-stack testing cloud with 10K+ real devices and 3,000+ browsers. With AI-native test management, MCP servers, and agent-based automation, TestMu AI supports Selenium, Appium, Playwright, and all major frameworks.

With TestMu AI (Formerly LambdaTest), you can run Karma Test Runner with Selenium across real browsers and operating systems. This sample shows how to configure Angular + Karma to run on the TestMu AI cloud.
With TestMu AI (Formerly LambdaTest), you can run SmartUI visual regression tests integrated with the GitHub App. This sample shows how to configure Selenium + Node.js to run SmartUI tests on the TestMu AI cloud and report visual comparison results directly on your GitHub pull requests.

- [Sign up on TestMu AI](https://www.testmuai.com/register/) (Formerly LambdaTest).
- Follow the [TestMu AI Documentation](https://www.testmuai.com/support/docs/) for the full setup walkthrough.

### Prerequisites

- Node.js and npm (latest stable)
- Angular CLI: `npm install -g @angular/cli`
- A TestMu AI (Formerly LambdaTest) account with your username and access key
- A SmartUI project configured on the TestMu AI platform
- The TestMu AI GitHub App installed on your repository

### Setup

Clone and install dependencies:

```bash
git clone https://github.com/LambdaTest/angular-karma-sample && cd angular-karma-sample
npm install -g karma-cli && npm install
git clone https://github.com/LambdaTest/smartui-github-testing && cd smartui-github-testing
npm install
```

Set your credentials as environment variables.
Expand All @@ -37,30 +38,24 @@ Set your credentials as environment variables.
```bash
export LT_USERNAME="YOUR_USERNAME"
export LT_ACCESS_KEY="YOUR_ACCESS_KEY"
export LT_TUNNEL="YOUR_TUNNEL_NAME"
export GRID_URL="YOUR_GRID_URL"
```

**Windows:**

```bash
set LT_USERNAME="YOUR_USERNAME"
set LT_ACCESS_KEY="YOUR_ACCESS_KEY"
set LT_TUNNEL="YOUR_TUNNEL_NAME"
set GRID_URL="YOUR_GRID_URL"
```

### Run tests

```bash
karma start karma.conf.js
npm test
```

For parallel execution across browsers:

```bash
ng test
```

View results on your TestMu AI dashboard.
View SmartUI visual comparison results directly on your pull request via the TestMu AI GitHub App.

### Local testing with TestMu AI Tunnel

Expand All @@ -70,34 +65,20 @@ To test locally hosted apps, set up the TestMu AI tunnel. OS-specific guides:
- [Local Testing on macOS](https://www.testmuai.com/support/docs/local-testing-for-macos/)
- [Local Testing on Linux](https://www.testmuai.com/support/docs/local-testing-for-linux/)

Add the following to your capabilities:

```js
tunnel: true,
```

### Avoid timeouts with `pseudoActivityInterval`

TestMu AI aborts test sessions if the machine is held idle for 90+ seconds. To keep sessions alive, send a heartbeat:
Enable tunnel in your test capabilities:

```js
customLaunchers: {
chrome: {
pseudoActivityInterval: 5000 // 5s heartbeat
}
}
capabilities.tunnel = true;
```

The default is `0` (disabled). Set any value above `0` to enable.

## Contributions

Contributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Node.js version, OS, and Angular CLI version.
Contributions are welcome. Open an issue to discuss your idea before submitting a pull request. When reporting bugs, include your Node.js version, OS, and selenium-webdriver version.

## TestMu AI (Formerly LambdaTest) Community

Connect with testers and developers in the [TestMu AI Community](https://community.testmuai.com/). Ask questions, share what you are building, and discuss best practices in test automation and DevOps.

## TestMu AI (Formerly LambdaTest) Certifications

Earn free [TestMu AI Certifications](https://www.testmuai.com/certifications/) for testers, developers, and QA engineers. Validate your skills in Selenium, Cypress, Playwright, Appium, Espresso and more. Industry-recognized, shareable on LinkedIn, and built by practitioners, not marketers.
Expand All @@ -110,7 +91,7 @@ Learn modern testing through tutorials, guides, videos, and weekly updates:
* [TestMu AI Learning Hub](https://www.testmuai.com/learning-hub/)
* [TestMu AI on YouTube](https://www.youtube.com/@TestMuAI)
* [TestMu AI Newsletter](https://www.testmuai.com/newsletter/)

## LambdaTest is Now TestMu AI

On **January 12, 2026**, [LambdaTest evolved to TestMu AI](https://www.testmuai.com/lambdatest-is-now-testmuai/), the world's first fully autonomous **Agentic AI Quality Engineering Platform**.
Expand All @@ -125,7 +106,7 @@ In 2017, we launched LambdaTest with a simple mission: make testing fast, reliab

As software development entered the AI era, testing had to evolve, too. We rebuilt the architecture to be AI-native from the ground up, with autonomous agents that **plan, author, execute, analyze, and optimize tests** while keeping humans in the loop. The platform integrates with your repos, CI, IDEs, and terminals, continuously learning from every code change and development signal.

That evolution earned a new name: **TestMu AI**, built for an AI-first future of quality engineering. TestMu is not a new name for us. It is the name of our annual community conference, which has brought together 100,000+ quality engineers to discuss how AI would reshape testing, long before that became an industry norm.
That evolution earned a new name: **TestMu AI**, built for an AI-first future of quality engineering. TestMu is not a new name for us. It is the name of our annual community conference, which has brought together 100,000+ quality engineers to discuss how AI would reshape testing, long before that became an industry norm.

What started as a high-performance cloud testing platform has transformed into an AI-native, multi-agent system powering a connected, end-to-end quality layer. That evolution defined a new identity: LambdaTest evolved into TestMu AI, built for an AI-first future of quality engineering.

Expand Down