UNPKG

testgenius-ai

Version:

🚀 TestGenius AI - The Ultimate E2E Testing Framework for Everyone | No Coding Required • AI-Powered Automation • Beautiful Reports • Zero Complexity

61 lines • 2.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FAILURE_DEMO_TEST = void 0; // Demo test to show automatic screenshot on failure exports.FAILURE_DEMO_TEST = { "id": "failure-demo-test", "name": "Failure Demo Test - Automatic Screenshot", "description": "Demo test that fails to show automatic screenshot functionality", "priority": "Medium", "tags": [ "demo", "failure", "screenshot" ], "site": "https://the-internet.herokuapp.com/login", "testData": { "steps": [ { "action": "navigate", "description": "Navigate to login page", "target": "https://the-internet.herokuapp.com/login", "timestamp": new Date().toISOString() }, { "action": "type", "description": "Type username", "target": "username", "value": "tomsmith", "timestamp": new Date().toISOString() }, { "action": "type", "description": "Type password", "target": "password", "value": "SuperSecretPassword!", "timestamp": new Date().toISOString() }, { "action": "click", "description": "Click login button", "target": "Login", "timestamp": new Date().toISOString() }, { "action": "verify", "description": "This step will fail - verify non-existent text", "target": "error message", "value": "This text will never be found on the page", "timestamp": new Date().toISOString() }, { "action": "screenshot", "description": "This screenshot will only be taken if previous step passes", "target": "success-screenshot", "timestamp": new Date().toISOString() } ] }, "task": "Demo test to show automatic screenshot on failure functionality" }; //# sourceMappingURL=failure-demo-test.js.map