@abct/framework
v1.0.2
Published
Tech-agnostic no-code Playwright + YAML self-healing E2E test framework
Maintainers
Readme
abct-framework
🚀 Overview
abct-framework (Anybody Can Test) is a no-code, technology-agnostic test automation framework built on top of Playwright and YAML.
It enables testers, developers, and non-technical users to write and execute end-to-end (E2E) tests without coding, while supporting self-healing locators and auto-spec generation.
✨ Features
- 📝 YAML-based test cases — Write readable, declarative specs.
- 🎭 Playwright powered — Reliable cross-browser automation.
- 🔄 Self-healing locators — Automatically fixes broken selectors.
- ⚡ Auto-spec generation — Generate draft test cases from UI screens.
- 🔍 Tag filtering — Run subsets of tests easily (
--tags=@smoke). - 📊 Reporting support — Plug into Playwright reports & CI/CD tools.
- 🛠 No-code friendly — Designed for teams with mixed skill levels.
📦 Installation
npm install @abct/frameworkOr locally (if consuming from tarball):
npm install ./@abct/framework-<version>.tgz⚡ Quick Start
Create a simple test spec in YAML (tests/specs/sample-login.yaml):
suite: Login Test Suite
tags: [smoke, login]
steps:
- goto: https://example.com/login
- type:
locator: login.username
text: testuser
- type:
locator: login.password
text: password123
- click:
locator: login.submit
- assertVisible:
locator: home.dashboardRun the test:
npx abct run tests/specs/sample-login.yaml🔧 Scripts
In your consumer project’s package.json, you can configure scripts like:
"scripts": {
"test": "abct run",
"test:auto": "cross-env AUTO_LOCATORS=missing abct run",
"test:regen": "cross-env AUTO_LOCATORS=always abct run",
"e2e:smoke": "abct run --tags=smoke",
"e2e:browsers": "abct install-browsers"
}🛡 License
This project is licensed under the terms of the MIT License.
See the LICENSE file for details.
👤 Author
Laxmi Kushwaha
📧 Contact: to be added
📦 npm: abct-framework
