UNPKG

trident-beta

Version:

trident is a sample and lightly tools aims to improve collaboration efficiency between SDET and QA based on initiative from Einstein/TestIT.

98 lines (97 loc) 3.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PRIORITY_ENUM; (function (PRIORITY_ENUM) { PRIORITY_ENUM[PRIORITY_ENUM["P0"] = 0] = "P0"; PRIORITY_ENUM[PRIORITY_ENUM["P1"] = 1] = "P1"; PRIORITY_ENUM[PRIORITY_ENUM["P2"] = 2] = "P2"; PRIORITY_ENUM[PRIORITY_ENUM["P3"] = 3] = "P3"; })(PRIORITY_ENUM = exports.PRIORITY_ENUM || (exports.PRIORITY_ENUM = {})); var EXECUTION_TYPE_ENUM; (function (EXECUTION_TYPE_ENUM) { EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["Manual"] = 0] = "Manual"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["Automated"] = 1] = "Automated"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["Automatable"] = 2] = "Automatable"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["NotAutomatable"] = 3] = "NotAutomatable"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["ReadyForAutomation"] = 4] = "ReadyForAutomation"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["AutomationExpired"] = 5] = "AutomationExpired"; EXECUTION_TYPE_ENUM[EXECUTION_TYPE_ENUM["AutomationSuspended"] = 6] = "AutomationSuspended"; })(EXECUTION_TYPE_ENUM = exports.EXECUTION_TYPE_ENUM || (exports.EXECUTION_TYPE_ENUM = {})); var EXECUTION_STATUS_ENUM; (function (EXECUTION_STATUS_ENUM) { EXECUTION_STATUS_ENUM["Passed"] = "p"; EXECUTION_STATUS_ENUM["Failed"] = "f"; EXECUTION_STATUS_ENUM["Blocked"] = "b"; EXECUTION_STATUS_ENUM["Skipped"] = "s"; EXECUTION_STATUS_ENUM["NotApplicable"] = "na"; EXECUTION_STATUS_ENUM["Warning"] = "w"; EXECUTION_STATUS_ENUM["Crashed"] = "c"; EXECUTION_STATUS_ENUM["NotRun"] = "n"; })(EXECUTION_STATUS_ENUM = exports.EXECUTION_STATUS_ENUM || (exports.EXECUTION_STATUS_ENUM = {})); var VERSION_ENUM; (function (VERSION_ENUM) { VERSION_ENUM["Active"] = "active"; VERSION_ENUM["Last"] = "last"; })(VERSION_ENUM = exports.VERSION_ENUM || (exports.VERSION_ENUM = {})); exports.PREDEFINED_PROPERTY_MAP = { project: "project_id", test_plan: "test_plan_id", case_id: "external_id", case_name: "case_name", suite: "suite_id", suite_name: "suite_name", summary: "summary", preconditions: "preconditions", test_step: "step", expected_result: "expected_result", text: "text", priority: "priority", execution_type: "execution_type", last_execution_status: "last_status", execution_status: "status", tested_by: "tester_id", version: "version", version_number: "number", created_by: "created_by_id", date_created: "date_created", updated_by: "last_updated_by_id", last_updated: "last_updated", document_id: "document_id", run: "build_id" }; exports.PREDEFINED_VALUE_MAP = { priority: PRIORITY_ENUM, execution_type: EXECUTION_TYPE_ENUM, last_execution_status: EXECUTION_STATUS_ENUM, execution_status: EXECUTION_STATUS_ENUM, version: VERSION_ENUM }; exports.OPERATOR_MAP = { "=": "eq", in: "in", not: "not", like: "like", "<": "lt", "<=": "lte", ">": "gt", ">=": "gte" }; var CacheKey; (function (CacheKey) { CacheKey["GLOBAL_DATA"] = "GLOBAL_DATA"; CacheKey["PROJECTS"] = "PROJECTS"; CacheKey["PROJECT"] = "PROJECT"; CacheKey["PROJECT_TREE"] = "PROJECT_TREE"; CacheKey["SECTION"] = "SECTION"; CacheKey["SUBTYPE"] = "SUBTYPE"; CacheKey["KEYWORDS"] = "KEYWORDS"; CacheKey["TEST_PLAN"] = "TEST_PLAN"; CacheKey["SUITES"] = "SUITES"; CacheKey["SUITE_TREE"] = "SUITE_TREE"; })(CacheKey = exports.CacheKey || (exports.CacheKey = {})); var KeywordsMap; (function (KeywordsMap) { })(KeywordsMap = exports.KeywordsMap || (exports.KeywordsMap = {})); var SubtypeMap; (function (SubtypeMap) { })(SubtypeMap = exports.SubtypeMap || (exports.SubtypeMap = {}));