UNPKG

tia

Version:

Time is All (logs driven test engine with ExtJs support)

43 lines 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function expandAllGroupsById(id, tableName, enableLog) { return gIn.wrap({ msg: 'Expanding table: "' + tableName + '" ... ', enableLog, act: function () { return gT.s.browser.executeScriptWrapper(`return tiaEJ.ctById.expandAllGroups('${id}')`); }, }); } exports.expandAllGroupsById = expandAllGroupsById; function collapseAllGroupsById(id, tableName, enableLog) { return gIn.wrap({ msg: 'Collapsing table: "' + tableName + '" ... ', enableLog, act: function () { return gT.s.browser.executeScriptWrapper(`return tiaEJ.ctById.collapseAllGroups('${id}')`); }, }); } exports.collapseAllGroupsById = collapseAllGroupsById; function expandAllTreeById(id, treeName, enableLog) { return gIn.wrap({ msg: 'Expanding tree: "' + treeName + '" ... ', enableLog, act: function () { return gT.s.browser.executeScriptWrapper(`return tiaEJ.ctById.expandAllTree('${id}')`); }, }); } exports.expandAllTreeById = expandAllTreeById; function collapseAllTreeById(id, treeName, enableLog) { return gIn.wrap({ msg: 'Collapsing tree: "' + treeName + '" ... ', enableLog, act: function () { return gT.s.browser.executeScriptWrapper(`return tiaEJ.ctById.collapseAllTree('${id}')`); }, }); } exports.collapseAllTreeById = collapseAllTreeById; //# sourceMappingURL=extjs-api-actions.js.map