UNPKG

@o3r/testing

Version:

The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.

42 lines (41 loc) 1.11 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "NgAddFunctionsToFixtureSchematicsSchema", "title": "Generate Otter Fixture", "description": "ng generate Otter fixture based on a selector and default methods", "properties": { "path": { "type": "string", "description": "Path of the fixture file" }, "methods": { "type": "array", "description": "List of method types to generate", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "enum": [ "clickOnButton", "getText", "getInputValue", "setInputValue", "getTextInList", "clickButtonInList", "getNumberOfItems" ] } }, "selector": { "type": "string", "description": "Query selector" }, "skipLinter": { "type": "boolean", "description": "Skip the linter process which includes EsLint and EditorConfig rules applying", "default": false } }, "additionalProperties": true, "required": ["path", "methods", "selector"] }