https://github.com/testdriverai/quickstart-web
https://github.com/testdriverai/quickstart-web
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/testdriverai/quickstart-web
- Owner: testdriverai
- Created: 2024-09-10T20:51:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T10:06:05.000Z (about 1 year ago)
- Last Synced: 2025-03-16T02:49:39.657Z (about 1 year ago)
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# TestDriver.ai Web Quickstart
GitHub actions workflow files that generate and run end-to-end regression tests on website.
---
**What is TestDriver?**
Next generation autonomous AI agent for end-to-end testing of web & desktop
[Website](https://testdriver.ai) | [Docs](https://docs.testdriver.ai) | [GitHub Action](https://github.com/marketplace/actions/testdriver-ai) | [Join our Discord](https://discord.gg/a8Cq739VWn)
---
## Setup
First, [fork this repository](https://github.com/testdriverai/quickstart-web/fork).
Next, [create a GitHub secret](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#creating-configuration-variables-for-a-repository) named `TESTDRIVER_API_KEY` using your API key from the testdriver dashboard.
> TestDriver is currently in limited private beta. [Apply for an API key here](https://o9w85nshvub.typeform.com/to/llG1wNkE).
In the forked repository, [add a GitHub variable](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/store-information-in-variables#creating-configuration-variables-for-an-environment) named `TESTDRIVER_WEBSITE`. The value should be the root domain of the website you want to test (ex `https://example.com`).
## Test Generation
1. Run the `TestDriver.ai / Generate / Explore` workflow
- TestDriver will explore your website and open a new pull request with test plans
- Merge this PR into `main`
2. Run the `TestDriver.ai / Generate / Regression` workflow
- TestDriver will execute the test plans and generate regression tests
- Review each regression test and merge them into main
3. Regression tests will run on every PR and merge to main