Skip to content

Commit 6ffa3bc

Browse files
authored
Merge pull request #18 from CyborgTests/new-readme
New readme
2 parents 489b168 + 6947280 commit 6ffa3bc

File tree

2 files changed

+64
-8
lines changed

2 files changed

+64
-8
lines changed

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing to Cyborg Test
2+
3+
🎉 Thanks for your interest in contributing! We welcome issues, suggestions, and pull requests to help improve Cyborg Test.
4+
5+
---
6+
7+
## 🧩 Ways to Contribute
8+
9+
### 🐞 Report Bugs
10+
If you encounter a bug or unexpected behavior, please open an issue with:
11+
12+
- A clear and descriptive title
13+
- Steps to reproduce the issue
14+
- Expected vs. actual behavior
15+
- Screenshots or logs if relevant
16+
- Environment details (OS, Node.js version, Playwright version, etc.)
17+
18+
### 💡 Suggest Features
19+
Have an idea to improve the project? Let us know! Please explain:
20+
21+
- What the feature does
22+
- Why it's useful
23+
- How it might be implemented (if you have ideas)
24+
25+
### 💻 Submit Code
26+
We welcome pull requests for:
27+
28+
- Bug fixes
29+
- New features
30+
- Documentation improvements
31+
- Refactoring
32+
33+
📌 **Note:** New features should be discussed and confirmed in an issue before development begins. This ensures the feature aligns with the project goals and avoids unnecessary work.

README.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
1+
<a href="https://www.cyborgtests.com/" target="_blank">
2+
<img src="https://cdn.prod.website-files.com/67f5380f43dbd686532cd541/686bcc6d09e3deeafa38eaed_cyborg-test-banner.png" alt="Banner" style="width: 100%" />
3+
</a>
4+
15
# Cyborg Test
6+
**Capture Manual Steps. Create Automated Tests**
27

3-
Cyborg Test is a powerfull extension for [Playwright](https://playwright.dev/) that allows you to include manual verification steps in your automated test flow.
8+
Cyborg Test is a powerful extension for [Playwright](https://playwright.dev/) that allows you to include manual verification steps in your automated test flow.
49
When a manual step is hit, a separate window appears showing the step description that needs to be executed, so a tester can mark it as passed or failed.
510
This lets you combine automated checks with human input in the same test case.
611

7-
## Installation
12+
## 🤖 Demo
13+
14+
See how Cyborg Test turns manual steps into streamlined Playwright tests:
15+
[YouTube - 🤖 Introducing CyborgTests - Stop Wrestling with Partially Automatable Tests!](https://www.youtube.com/watch?v=jO-N1Fcofog&ab_channel=HOTtesting)
16+
<div align="center">
17+
<img alt="Demo 1" src="https://cdn.prod.website-files.com/67f5380f43dbd686532cd541/686cc5f569c8520273bee57d_ezgif-1db8ce85447022.gif" />
18+
<img alt="Demo 2" src="https://cdn.prod.website-files.com/67f5380f43dbd686532cd541/686cc5fc2d926905f881c677_ezgif-1ea65483285706.gif" />
19+
</div>
20+
21+
## 🚀 Installation
822

923
```bash
1024
npm install @cyborgtests/test
1125
```
1226

1327
This library expects `@playwright/test` to be available in your project as peer dependency.
1428

15-
## Usage
29+
## 🧪 Usage
1630

1731
```ts
1832
import test from '@cyborgtests/test';
@@ -30,7 +44,7 @@ test('example with manual step', async ({ page, manualStep }) => {
3044

3145
When `manualStep` is called the test pauses and the Cyborg Test UI window appears. Use the `✅ Step passed` or `❌ Step failed` buttons to resume the test. Failing a step throws an error so your CI can detect it.
3246

33-
## Soft Fail for Manual Steps
47+
## ⚠️ Soft Fail for Manual Steps
3448

3549
You can use `manualStep.soft` to mark a manual step as a soft fail. If a soft manual step fails, the test will continue running, and the failure will be annotated as a soft fail (warning) in the report.
3650

@@ -44,16 +58,16 @@ await manualStep.soft('This is a soft manual step'); // Test continues if this s
4458
- Soft fails are shown as warnings in the UI and annotated in the test report.
4559
- Use soft fails for non-critical manual verifications where you want to highlight issues but not fail the entire test.
4660

47-
## Analytics Configuration
61+
## 📊 Analytics Configuration
4862

49-
The package includes Google Analytics integration that is enabled by default. The following data is collected:
63+
Google Analytics is enabled by default to help us understand usage. The following data is collected:
5064
- Unique user ID (generated on first run)
5165
- Test execution events (start of the test)
5266
- Test results (passed/failed)
5367
- External link clicks
5468
- Browser, OS information and country
5569

56-
This data helps us understand how the tool is being used and improve it. No personal or sensitive information is collected.
70+
This data helps us understand how the tool is being used and improve it. We do not collect any personal or sensitive information.
5771

5872
To turn off analytics, use the following configuration:
5973

@@ -63,4 +77,13 @@ import { config } from '@cyborgtests/test';
6377
config.setConfig({
6478
analyticsEnabled: false
6579
});
66-
```
80+
```
81+
82+
## 🤝 Contributing
83+
84+
We welcome contributions! If you'd like to report a bug, request a feature, or submit a pull request, check out our [contributing guidelines](./CONTRIBUTING.md).
85+
86+
---
87+
<p align="center">
88+
⭐️ Found this useful? Star the repo to support the project!
89+
</p>

0 commit comments

Comments
 (0)