@testivai/witness-cdp 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @testivai/witness-cdp might be problematic. Click here for more details.
- package/README.md +10 -10
- package/dist/bin/testivai.d.ts +3 -0
- package/dist/bin/testivai.d.ts.map +1 -0
- package/dist/bin/testivai.js +48 -0
- package/dist/bin/testivai.js.map +1 -0
- package/dist/commands/capture.d.ts +1 -1
- package/dist/commands/capture.js +6 -6
- package/dist/commands/capture.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,12 +16,12 @@ npm install -g @testivai/witness-cdp
|
|
|
16
16
|
|
|
17
17
|
1. **Initialize your project**
|
|
18
18
|
```bash
|
|
19
|
-
testivai init
|
|
19
|
+
npx testivai init
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
2. **Authenticate with your API key**
|
|
23
23
|
```bash
|
|
24
|
-
testivai auth <your-api-key>
|
|
24
|
+
npx testivai auth <your-api-key>
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
3. **Add visual captures to your tests**
|
|
@@ -183,30 +183,30 @@ export default config;
|
|
|
183
183
|
|
|
184
184
|
## CLI Commands
|
|
185
185
|
|
|
186
|
-
### `testivai init`
|
|
186
|
+
### `npx testivai init`
|
|
187
187
|
Initialize TestivAI in your project. Detects your framework and provides setup instructions.
|
|
188
188
|
|
|
189
|
-
### `testivai auth <api-key>`
|
|
189
|
+
### `npx testivai auth <api-key>`
|
|
190
190
|
Authenticate with your TestivAI API key. Get your key from the [dashboard](https://dashboard.testiv.ai).
|
|
191
191
|
|
|
192
|
-
### `testivai run <command>`
|
|
192
|
+
### `npx testivai run <command>`
|
|
193
193
|
Run your test command with automatic visual capture.
|
|
194
194
|
|
|
195
195
|
```bash
|
|
196
|
-
testivai run "npm test"
|
|
197
|
-
testivai run "cypress run"
|
|
198
|
-
testivai run "pytest tests/"
|
|
196
|
+
npx testivai run "npm test"
|
|
197
|
+
npx testivai run "cypress run"
|
|
198
|
+
npx testivai run "pytest tests/"
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
Options:
|
|
202
202
|
- `-p, --port <number>` - Specify CDP port (default: 9222)
|
|
203
203
|
- `-b, --batch-id <id>` - Specify batch ID (auto-generated if not provided)
|
|
204
204
|
|
|
205
|
-
### `testivai capture <name>`
|
|
205
|
+
### `npx testivai capture <name>`
|
|
206
206
|
Capture a single snapshot without running tests.
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
|
-
testivai capture "my-snapshot" --format json
|
|
209
|
+
npx testivai capture "my-snapshot" --format json
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
Options:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testivai.d.ts","sourceRoot":"","sources":["../../src/bin/testivai.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
const commander_1 = require("commander");
|
|
8
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
9
|
+
const auth_1 = require("../commands/auth");
|
|
10
|
+
const init_1 = require("../commands/init");
|
|
11
|
+
const run_1 = require("../commands/run");
|
|
12
|
+
const capture_1 = require("../commands/capture");
|
|
13
|
+
const packageJson = require('../../package.json');
|
|
14
|
+
const program = new commander_1.Command();
|
|
15
|
+
// Display banner
|
|
16
|
+
const showBanner = () => {
|
|
17
|
+
console.log();
|
|
18
|
+
console.log(chalk_1.default.cyan.bold(' TestivAI'));
|
|
19
|
+
console.log(chalk_1.default.gray(' Catch Visual Bugs Automatically'));
|
|
20
|
+
console.log(chalk_1.default.gray(' AI that catches real bugs, ignores the noise.'));
|
|
21
|
+
console.log();
|
|
22
|
+
};
|
|
23
|
+
program
|
|
24
|
+
.name('testivai')
|
|
25
|
+
.description('TestivAI CDP SDK - Framework-agnostic visual regression testing')
|
|
26
|
+
.version(packageJson.version, '-v, --version', 'Display version number')
|
|
27
|
+
.hook('preAction', () => {
|
|
28
|
+
if (!process.argv.includes('--quiet') && !process.argv.includes('-q')) {
|
|
29
|
+
showBanner();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
// Global options
|
|
33
|
+
program
|
|
34
|
+
.option('-v, --verbose', 'Enable verbose output')
|
|
35
|
+
.option('-q, --quiet', 'Suppress output (ideal for CI)')
|
|
36
|
+
.option('--debug', 'Enable debug mode');
|
|
37
|
+
// Add commands
|
|
38
|
+
program.addCommand(auth_1.authCommand);
|
|
39
|
+
program.addCommand(init_1.initCommand);
|
|
40
|
+
program.addCommand(run_1.runCommand);
|
|
41
|
+
program.addCommand(capture_1.witnessCommand);
|
|
42
|
+
// Parse arguments
|
|
43
|
+
program.parse();
|
|
44
|
+
// Show help if no command provided
|
|
45
|
+
if (!process.argv.slice(2).length) {
|
|
46
|
+
program.outputHelp();
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=testivai.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testivai.js","sourceRoot":"","sources":["../../src/bin/testivai.ts"],"names":[],"mappings":";;;;;;AAEA,yCAAoC;AACpC,kDAA0B;AAC1B,2CAA+C;AAC/C,2CAA+C;AAC/C,yCAA6C;AAC7C,iDAAqD;AAErD,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAElD,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAE9B,iBAAiB;AACjB,MAAM,UAAU,GAAG,GAAG,EAAE;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC;IACd,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC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AC"}
|
package/dist/commands/capture.js
CHANGED
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.witnessCommand = void 0;
|
|
40
40
|
const commander_1 = require("commander");
|
|
41
41
|
const chalk_1 = __importDefault(require("chalk"));
|
|
42
42
|
const client_1 = require("../cdp/client");
|
|
@@ -44,23 +44,23 @@ const capture_1 = require("../cdp/capture");
|
|
|
44
44
|
const discovery_1 = require("../cdp/discovery");
|
|
45
45
|
const logger_1 = require("../utils/logger");
|
|
46
46
|
const file_naming_1 = require("../utils/file-naming");
|
|
47
|
-
exports.
|
|
48
|
-
.description('
|
|
47
|
+
exports.witnessCommand = new commander_1.Command('witness')
|
|
48
|
+
.description('Witness a single visual snapshot')
|
|
49
49
|
.argument('<name>', 'Snapshot name')
|
|
50
50
|
.option('-p, --port <number>', 'Chrome DevTools Protocol port')
|
|
51
|
-
.option('-o, --output <path>', 'Output directory for captured files', '.testivai/
|
|
51
|
+
.option('-o, --output <path>', 'Output directory for captured files', '.testivai/witnesses')
|
|
52
52
|
.option('-f, --format <format>', 'Output format (json|png)', 'json')
|
|
53
53
|
.action(async (name, options) => {
|
|
54
54
|
let client = null;
|
|
55
55
|
try {
|
|
56
|
-
logger_1.logger.info(`
|
|
56
|
+
logger_1.logger.info(`Witnessing snapshot: ${name}`);
|
|
57
57
|
// Connect to CDP
|
|
58
58
|
logger_1.logger.info('Connecting to Chrome...');
|
|
59
59
|
client = new client_1.CdpClient();
|
|
60
60
|
await client.connect(parseInt(options.port, 10) || undefined);
|
|
61
61
|
// Setup capture
|
|
62
62
|
const capture = new capture_1.CdpCapture(client);
|
|
63
|
-
//
|
|
63
|
+
// Witness snapshot
|
|
64
64
|
const snapshot = await capture.captureSnapshot(name);
|
|
65
65
|
// Save based on format
|
|
66
66
|
if (options.format === 'json') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture.js","sourceRoot":"","sources":["../../src/commands/capture.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,0CAA0C;AAC1C,4CAA4C;AAC5C,gDAAmE;AACnE,4CAAyC;AACzC,sDAAsD;AAEzC,QAAA,cAAc,GAAG,IAAI,mBAAO,CAAC,SAAS,CAAC;KACjD,WAAW,CAAC,kCAAkC,CAAC;KAC/C,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;KACnC,MAAM,CAAC,qBAAqB,EAAE,+BAA+B,CAAC;KAC9D,MAAM,CAAC,qBAAqB,EAAE,qCAAqC,EAAE,
|
|
1
|
+
{"version":3,"file":"capture.js","sourceRoot":"","sources":["../../src/commands/capture.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AACpC,kDAA0B;AAC1B,0CAA0C;AAC1C,4CAA4C;AAC5C,gDAAmE;AACnE,4CAAyC;AACzC,sDAAsD;AAEzC,QAAA,cAAc,GAAG,IAAI,mBAAO,CAAC,SAAS,CAAC;KACjD,WAAW,CAAC,kCAAkC,CAAC;KAC/C,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;KACnC,MAAM,CAAC,qBAAqB,EAAE,+BAA+B,CAAC;KAC9D,MAAM,CAAC,qBAAqB,EAAE,qCAAqC,EAAE,qBAAqB,CAAC;KAC3F,MAAM,CAAC,uBAAuB,EAAE,0BAA0B,EAAE,MAAM,CAAC;KACnE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAC9B,IAAI,MAAM,GAAqB,IAAI,CAAC;IAEpC,IAAI,CAAC;QACH,eAAM,CAAC,IAAI,CAAC,wBAAwB,IAAI,EAAE,CAAC,CAAC;QAE5C,iBAAiB;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AAS,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;QACjE,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;IAC3C,CAAC;AACH,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,SAAS,CAAC,QAAa,EAAE,SAAiB,EAAE,IAAY;IACrE,MAAM,EAAE,GAAG,wDAAa,IAAI,GAAC,CAAC;IAC9B,MAAM,IAAI,GAAG,wDAAa,MAAM,GAAC,CAAC;IAElC,0BAA0B;IAC1B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9B,EAAE,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,WAAW;IACX,IAAI,QAAQ,CAAC,cAAc,EAAE,CAAC;QAC5B,MAAM,QAAQ,GAAG,GAAG,IAAA,4BAAc,EAAC,IAAI,CAAC,MAAM,CAAC;QAC/C,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAChD,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;QACjE,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAC;IACpD,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { FrameworkDetector } from './utils/framework-detect';
|
|
|
14
14
|
export { authCommand } from './commands/auth';
|
|
15
15
|
export { initCommand } from './commands/init';
|
|
16
16
|
export { runCommand } from './commands/run';
|
|
17
|
-
export {
|
|
17
|
+
export { witnessCommand } from './commands/capture';
|
|
18
18
|
export { CoreApiClient, DEFAULT_CORE_API_URL, saveCredentials, loadCredentials, deleteCredentials, getApiKey, isAuthenticated, findConfigFile, loadConfig, configExists, getOutputDir, CompressionHelper, compressionHelper, } from '@testivai/common';
|
|
19
19
|
export declare const VERSION: any;
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.VERSION = exports.compressionHelper = exports.CompressionHelper = exports.getOutputDir = exports.configExists = exports.loadConfig = exports.findConfigFile = exports.isAuthenticated = exports.getApiKey = exports.deleteCredentials = exports.loadCredentials = exports.saveCredentials = exports.DEFAULT_CORE_API_URL = exports.CoreApiClient = exports.
|
|
21
|
+
exports.VERSION = exports.compressionHelper = exports.CompressionHelper = exports.getOutputDir = exports.configExists = exports.loadConfig = exports.findConfigFile = exports.isAuthenticated = exports.getApiKey = exports.deleteCredentials = exports.loadCredentials = exports.saveCredentials = exports.DEFAULT_CORE_API_URL = exports.CoreApiClient = exports.witnessCommand = exports.runCommand = exports.initCommand = exports.authCommand = exports.FrameworkDetector = exports.commandExists = exports.setupSignalHandlers = exports.spawnProcess = exports.ProcessManager = exports.isSafeFilename = exports.sanitizeTestName = exports.extractNameFromUrl = exports.generateUniqueFilename = exports.toSafeFilename = exports.createLogger = exports.logger = exports.CdpDiscoveryError = exports.CdpDiscovery = exports.CdpBinding = exports.CdpCapture = exports.CdpClient = void 0;
|
|
22
22
|
// Export types
|
|
23
23
|
__exportStar(require("./types"), exports);
|
|
24
24
|
// Export CDP modules
|
|
@@ -56,7 +56,7 @@ Object.defineProperty(exports, "initCommand", { enumerable: true, get: function
|
|
|
56
56
|
var run_1 = require("./commands/run");
|
|
57
57
|
Object.defineProperty(exports, "runCommand", { enumerable: true, get: function () { return run_1.runCommand; } });
|
|
58
58
|
var capture_2 = require("./commands/capture");
|
|
59
|
-
Object.defineProperty(exports, "
|
|
59
|
+
Object.defineProperty(exports, "witnessCommand", { enumerable: true, get: function () { return capture_2.witnessCommand; } });
|
|
60
60
|
// Re-export common utilities
|
|
61
61
|
var common_1 = require("@testivai/common");
|
|
62
62
|
Object.defineProperty(exports, "CoreApiClient", { enumerable: true, get: function () { return common_1.CoreApiClient; } });
|