@smartbear/mcp
Version:
MCP server for interacting SmartBear Products
54 lines (53 loc) • 1.65 kB
JavaScript
import { DEFAULT_FILTER, DEFAULT_PAGINATION, DEFAULT_SORT, } from "./common.js";
export const DEFAULT_FETCH_TESTSUITES_FOR_TESTCASE_PAYLOAD = {
...DEFAULT_PAGINATION,
...DEFAULT_FILTER,
getColumns: true,
};
export const DEFAULT_FETCH_TESTCASES_BY_TESTSUITE_PAYLOAD = {
...DEFAULT_PAGINATION,
...DEFAULT_FILTER,
getLinked: true,
};
export const DEFAULT_FETCH_EXECUTIONS_BY_TESTSUITE_PAYLOAD = {
...DEFAULT_PAGINATION,
...DEFAULT_FILTER,
gridName: "TESTEXECUTIONLIST",
};
export const DEFAULT_FETCH_TESTCASE_RUNS_BY_TESTSUITE_RUN_PAYLOAD = {
...DEFAULT_PAGINATION,
};
export const DEFAULT_FETCH_LINKED_ISSUES_BY_TESTCASE_RUN_PAYLOAD = {
...DEFAULT_PAGINATION,
...DEFAULT_FILTER,
getLinked: true,
getColumns: true,
istcrFlag: true,
};
export const DEFAULT_LINKED_TESTCASE_TO_TESTSUITE_PAYLOAD = {
fromReqs: false,
};
export const DEFAULT_REQLINKED_TESTCASE_TO_TESTSUITE_PAYLOAD = {
fromReqs: true,
};
export const DEFAULT_CREATE_TESTSUITE_PAYLOAD = {
isAutomatedFlag: false,
};
export const DEFAULT_UPDATE_TESTSUITE_PAYLOAD = {};
export const DEFAULT_FETCH_TESTSUITES_PAYLOAD = {
...DEFAULT_PAGINATION,
...DEFAULT_FILTER,
...DEFAULT_SORT,
udfFilter: "[]",
scope: "cycle",
/**
* Prevents filter persistence in the QMetry web application UI.
* Always set to false to ensure filters are not saved when fetching test cases via API.
*/
isFilterSaveRequired: false,
};
export const DEFAULT_LINKED_PLATFORMS_TO_TESTSUITE_PAYLOAD = {};
export const DEFAULT_BULK_UPDATE_EXECUTION_STATUS_PAYLOAD = {
entityType: "TCR",
qmRunObj: "",
};