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 (87 loc) 1.97 kB
export enum PRIORITY_ENUM { P0 = 0, P1 = 1, P2 = 2, P3 = 3 } export enum EXECUTION_TYPE_ENUM { Manual = 0, Automated = 1, Automatable = 2, NotAutomatable = 3, ReadyForAutomation = 4, AutomationExpired = 5, AutomationSuspended = 6 } export enum EXECUTION_STATUS_ENUM { Passed = "p", Failed = "f", Blocked = "b", Skipped = "s", NotApplicable = "na", Warning = "w", Crashed = "c", NotRun = "n" } export enum VERSION_ENUM { Active = "active", Last = "last" } export const 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" }; export const 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 }; export const OPERATOR_MAP = { "=": "eq", in: "in", not: "not", like: "like", "<": "lt", "<=": "lte", ">": "gt", ">=": "gte" }; export type Scope = "TEST_SUITES" | "EXECUTIONS"; export enum CacheKey { GLOBAL_DATA = "GLOBAL_DATA", PROJECTS = "PROJECTS", PROJECT = "PROJECT", PROJECT_TREE = "PROJECT_TREE", SECTION = "SECTION", SUBTYPE = "SUBTYPE", KEYWORDS = "KEYWORDS", TEST_PLAN = "TEST_PLAN", SUITES = "SUITES", SUITE_TREE = "SUITE_TREE" } export enum KeywordsMap {} export enum SubtypeMap {}