UNPKG

playwright-ai-auto-debug

Version:

Automatic Playwright test debugging with AI assistance + UI Test Coverage Analysis

88 lines โ€ข 3.1 kB
{ "name": "playwright-ai-auto-debug", "version": "3.2.3", "description": "Automatic Playwright test debugging with AI assistance + UI Test Coverage Analysis", "type": "module", "main": "src/main.js", "types": "types/index.d.ts", "exports": { ".": { "import": "./lib/index.js", "types": "./types/index.d.ts" }, "./coverage": "./coverage.js" }, "bin": { "playwright-ai": "bin/index.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "ai:debug": "npx playwright-ai", "build": "mkdir -p lib && cat > lib/index.js << 'EOF'\n// CLI\nexport { CliApplication } from \"../src/presentation/cli/CliApplication.js\";\n\n// Test Coverage System\nexport { test, expect } from \"../src/infrastructure/coverage/testCoverageFixture.js\";\nexport { TestElementTracker } from \"../src/infrastructure/coverage/testElementTracker.js\";\nexport { GlobalCoverageTracker } from \"../src/infrastructure/coverage/globalCoverageTracker.js\";\nEOF", "prepublishOnly": "npm run build", "clean:test": "node clean-test.js", "demo": "echo \"๐ŸŽฏ Run demo from DemoProject: cd DemoProject && npm run demo:full\"", "demo:full": "cd DemoProject && npm run demo:full", "debug:cli": "node --inspect-brk ./bin/index.js", "debug:main": "node --inspect-brk ./lib/index.js", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "publish": "npm publish", "release:github": "gh release create v$(node -p \"require('./package.json').version\") --generate-notes", "release:patch": "npm run version:patch && npm run publish && npm run release:github", "release:minor": "npm run version:minor && npm run publish && npm run release:github", "release:major": "npm run version:major && npm run publish && npm run release:github", "test:coverage": "npx playwright test && echo \"๐Ÿ“Š ะžั‚ั‡ะตั‚: test-coverage-reports/index.html\"", "coverage:open": "open test-coverage-reports/index.html" }, "repository": { "type": "git", "url": "git+https://github.com/lunin-vadim/playwright-ai-auto-debug.git" }, "homepage": "https://github.com/lunin-vadim/playwright-ai-auto-debug#readme", "bugs": { "url": "https://github.com/lunin-vadim/playwright-ai-auto-debug/issues" }, "keywords": [ "playwright", "ai", "debug", "openai", "testing", "automation", "e2e", "artificial-intelligence", "test-automation", "debugging", "ui-coverage", "test-coverage", "element-tracking" ], "author": "lunin", "license": "MIT", "dependencies": { "allure-playwright": "^3.2.2", "cheerio": "^1.0.0-rc.12", "dotenv": "^16.3.1", "glob": "^11.0.0", "tsx": "^4.7.0", "ws": "^8.16.0" }, "engines": { "node": ">=16.0.0" }, "files": [ "bin/", "src/", "lib/", "types/", "coverage.js", "README.md", "playwright.config.example.js", "playwright.config.example.ts", "ai.conf.example.ts", "docs/", "DemoProject/" ] }