@uipath/test-manager-tool 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/tool.js +161 -59
  2. package/package.json +7 -7
package/dist/tool.js CHANGED
@@ -10974,7 +10974,7 @@ var require_coreipc = __commonJS((exports, module) => {
10974
10974
  if (S(n3))
10975
10975
  return r3;
10976
10976
  for (var i3 = function(e6) {
10977
- var t5 = C(e6, o2);
10977
+ var t5 = T(e6, o2);
10978
10978
  if (!k(t5))
10979
10979
  throw new TypeError;
10980
10980
  var r4 = t5.call(e6);
@@ -11037,7 +11037,7 @@ var require_coreipc = __commonJS((exports, module) => {
11037
11037
  case 5:
11038
11038
  return e5;
11039
11039
  }
11040
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
11040
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
11041
11041
  if (o3 !== undefined) {
11042
11042
  var i3 = o3.call(e5, r3);
11043
11043
  if (j(i3))
@@ -11074,10 +11074,10 @@ var require_coreipc = __commonJS((exports, module) => {
11074
11074
  function k(e5) {
11075
11075
  return typeof e5 == "function";
11076
11076
  }
11077
- function T(e5) {
11077
+ function C(e5) {
11078
11078
  return typeof e5 == "function";
11079
11079
  }
11080
- function C(e5, t4) {
11080
+ function T(e5, t4) {
11081
11081
  var r3 = e5[t4];
11082
11082
  if (r3 != null) {
11083
11083
  if (!k(r3))
@@ -11112,13 +11112,13 @@ var require_coreipc = __commonJS((exports, module) => {
11112
11112
  if (S(r3)) {
11113
11113
  if (!M(e5))
11114
11114
  throw new TypeError;
11115
- if (!T(t4))
11115
+ if (!C(t4))
11116
11116
  throw new TypeError;
11117
11117
  return function(e6, t5) {
11118
11118
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
11119
11119
  var n4 = (0, e6[r4])(t5);
11120
11120
  if (!S(n4) && !P(n4)) {
11121
- if (!T(n4))
11121
+ if (!C(n4))
11122
11122
  throw new TypeError;
11123
11123
  t5 = n4;
11124
11124
  }
@@ -11328,13 +11328,13 @@ var require_coreipc = __commonJS((exports, module) => {
11328
11328
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
11329
11329
  return k.EmptyError;
11330
11330
  } });
11331
- var T = r(7628);
11331
+ var C = r(7628);
11332
11332
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
11333
- return T.NotFoundError;
11333
+ return C.NotFoundError;
11334
11334
  } });
11335
- var C = r(740);
11335
+ var T = r(740);
11336
11336
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
11337
- return C.ObjectUnsubscribedError;
11337
+ return T.ObjectUnsubscribedError;
11338
11338
  } });
11339
11339
  var A = r(6968);
11340
11340
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -11544,13 +11544,13 @@ var require_coreipc = __commonJS((exports, module) => {
11544
11544
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
11545
11545
  return ke.debounceTime;
11546
11546
  } });
11547
- var Te = r(6204);
11547
+ var Ce = r(6204);
11548
11548
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
11549
- return Te.defaultIfEmpty;
11549
+ return Ce.defaultIfEmpty;
11550
11550
  } });
11551
- var Ce = r(7752);
11551
+ var Te = r(7752);
11552
11552
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
11553
- return Ce.delay;
11553
+ return Te.delay;
11554
11554
  } });
11555
11555
  var Ae = r(7532);
11556
11556
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -11760,13 +11760,13 @@ var require_coreipc = __commonJS((exports, module) => {
11760
11760
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
11761
11761
  return kt.share;
11762
11762
  } });
11763
- var Tt = r(4980);
11763
+ var Ct = r(4980);
11764
11764
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
11765
- return Tt.shareReplay;
11765
+ return Ct.shareReplay;
11766
11766
  } });
11767
- var Ct = r(1400);
11767
+ var Tt = r(1400);
11768
11768
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
11769
- return Ct.single;
11769
+ return Tt.single;
11770
11770
  } });
11771
11771
  var At = r(7516);
11772
11772
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -17466,12 +17466,24 @@ var require_coreipc = __commonJS((exports, module) => {
17466
17466
  static create() {
17467
17467
  return new r;
17468
17468
  }
17469
+ get(e3) {
17470
+ return this._map.get(e3);
17471
+ }
17469
17472
  getOrCreateValue(e3, t3) {
17470
17473
  if (this._map.has(e3))
17471
17474
  return this._map.get(e3);
17472
17475
  let r2 = t3(e3);
17473
17476
  return this._map.set(e3, r2), r2;
17474
17477
  }
17478
+ delete(e3) {
17479
+ return this._map.delete(e3);
17480
+ }
17481
+ values() {
17482
+ return this._map.values();
17483
+ }
17484
+ clear() {
17485
+ this._map.clear();
17486
+ }
17475
17487
  }
17476
17488
  t2.Dictionary = r;
17477
17489
  }, 4444: function(e2, t2, r) {
@@ -18844,25 +18856,61 @@ Object name: '${e3}'.`), t3;
18844
18856
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
18845
18857
  }, 1816: (e2, t2) => {
18846
18858
  Object.defineProperty(t2, "__esModule", { value: true });
18847
- }, 5284: (e2, t2, r) => {
18859
+ }, 5284: function(e2, t2, r) {
18860
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
18861
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
18862
+ function s2(e4) {
18863
+ try {
18864
+ c2(n2.next(e4));
18865
+ } catch (e5) {
18866
+ i3(e5);
18867
+ }
18868
+ }
18869
+ function a2(e4) {
18870
+ try {
18871
+ c2(n2.throw(e4));
18872
+ } catch (e5) {
18873
+ i3(e5);
18874
+ }
18875
+ }
18876
+ function c2(e4) {
18877
+ var t4;
18878
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
18879
+ e5(t4);
18880
+ })).then(s2, a2);
18881
+ }
18882
+ c2((n2 = n2.apply(e3, t3 || [])).next());
18883
+ });
18884
+ };
18848
18885
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
18849
- const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
18886
+ const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
18850
18887
  t2.IpcCoreBase = class {
18851
18888
  constructor() {
18852
18889
  this._db = new Map;
18853
18890
  }
18854
18891
  };
18855
18892
 
18856
- class c {
18893
+ class u {
18857
18894
  constructor(e3, t3, r2) {
18858
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i2.ProxySource(this), this.dispatchProxies = new i2.DispatchProxyClassStore, this.wire = new i2.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i2.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
18895
+ this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
18859
18896
  }
18860
18897
  getAddress(e3) {
18861
18898
  const t3 = new this.addressBuilder;
18862
18899
  return e3(t3), t3.assertAddress();
18863
18900
  }
18901
+ disposeChannel(e3) {
18902
+ return n(this, undefined, undefined, function* () {
18903
+ const t3 = this.getAddress(e3);
18904
+ yield this.wire.disposeChannel(t3.key);
18905
+ });
18906
+ }
18907
+ disposeAllChannels() {
18908
+ return n(this, undefined, undefined, function* () {
18909
+ yield this.wire.disposeAllChannels();
18910
+ });
18911
+ }
18864
18912
  }
18865
- t2.IpcBaseImpl = c, function(e3) {
18913
+ t2.IpcBaseImpl = u, function(e3) {
18866
18914
  e3.ProxySource = class {
18867
18915
  constructor(e4) {
18868
18916
  this._serviceProvider = e4;
@@ -18878,7 +18926,7 @@ Object name: '${e3}'.`), t3;
18878
18926
  this._serviceProvider = e4, this._address = t4;
18879
18927
  }
18880
18928
  withService(e4) {
18881
- const t4 = new i2.ProxyId(e4, this._address);
18929
+ const t4 = new s.ProxyId(e4, this._address);
18882
18930
  return this._serviceProvider.proxySource.resolve(t4);
18883
18931
  }
18884
18932
  }
@@ -18900,27 +18948,27 @@ Object name: '${e3}'.`), t3;
18900
18948
  this._ipc = e4, this._address = t4;
18901
18949
  }
18902
18950
  setConnectHelper(e4) {
18903
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18951
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18904
18952
  }
18905
18953
  forAnyService() {
18906
- return new o2(this._ipc, this._address);
18954
+ return new n2(this._ipc, this._address);
18907
18955
  }
18908
18956
  forService(e4) {
18909
- return new o2(this._ipc, this._address, e4);
18957
+ return new n2(this._ipc, this._address, e4);
18910
18958
  }
18911
18959
  }
18912
18960
  e3.ConfigurationWithAddress = r2;
18913
18961
 
18914
- class o2 {
18962
+ class n2 {
18915
18963
  constructor(e4, t4, r3) {
18916
18964
  this._ipc = e4, this._address = t4, this._service = r3;
18917
18965
  }
18918
18966
  setRequestTimeout(e4) {
18919
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
18967
+ (0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
18920
18968
  }
18921
18969
  }
18922
- e3.ConfigurationWithAddressService = o2;
18923
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18970
+ e3.ConfigurationWithAddressService = n2;
18971
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18924
18972
  }, 3552: (e2, t2) => {
18925
18973
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
18926
18974
  constructor(e3, t3, r, n) {
@@ -18993,7 +19041,13 @@ Object name: '${e3}'.`), t3;
18993
19041
  }
18994
19042
  disposeAsync() {
18995
19043
  return n(this, undefined, undefined, function* () {
18996
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
19044
+ this._ctsLoop.cancel();
19045
+ try {
19046
+ yield this._loop;
19047
+ } catch (e3) {
19048
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
19049
+ }
19050
+ this._stream.dispose();
18997
19051
  });
18998
19052
  }
18999
19053
  static toMessageTypeString(e3) {
@@ -19178,8 +19232,8 @@ ${e3.Data}`);
19178
19232
  static create(e3, t3, r2, n2, o2, i3) {
19179
19233
  return new a(e3, t3, r2, n2, o2, i3);
19180
19234
  }
19181
- constructor(e3, t3, r2, n2, o2, s2) {
19182
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
19235
+ constructor(e3, t3, r2, n2, s2, c) {
19236
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
19183
19237
  constructor(e4) {
19184
19238
  this._owner = e4;
19185
19239
  }
@@ -19192,8 +19246,8 @@ ${e3.Data}`);
19192
19246
  complete() {
19193
19247
  this._owner.dispatchNetworkComplete();
19194
19248
  }
19195
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
19196
- this.disposeAsync();
19249
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
19250
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
19197
19251
  });
19198
19252
  }
19199
19253
  disposeAsync() {
@@ -19432,6 +19486,12 @@ ${e3.Data}`);
19432
19486
  complete() {}
19433
19487
  }(this);
19434
19488
  }
19489
+ disposeAsync() {
19490
+ return n(this, undefined, undefined, function* () {
19491
+ const e3 = this._latestChannel;
19492
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
19493
+ });
19494
+ }
19435
19495
  invokeMethod(e3, t3, r2) {
19436
19496
  return n(this, undefined, undefined, function* () {
19437
19497
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
@@ -19586,18 +19646,55 @@ ${e3.Data}`);
19586
19646
  return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
19587
19647
  }
19588
19648
  };
19589
- }, 4156: (e2, t2, r) => {
19649
+ }, 4156: function(e2, t2, r) {
19650
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
19651
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
19652
+ function s2(e4) {
19653
+ try {
19654
+ c(n2.next(e4));
19655
+ } catch (e5) {
19656
+ i3(e5);
19657
+ }
19658
+ }
19659
+ function a(e4) {
19660
+ try {
19661
+ c(n2.throw(e4));
19662
+ } catch (e5) {
19663
+ i3(e5);
19664
+ }
19665
+ }
19666
+ function c(e4) {
19667
+ var t4;
19668
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
19669
+ e5(t4);
19670
+ })).then(s2, a);
19671
+ }
19672
+ c((n2 = n2.apply(e3, t3 || [])).next());
19673
+ });
19674
+ };
19590
19675
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
19591
- const n = r(3212), o = r(4104), i2 = r(5188);
19676
+ const o = r(3212), i2 = r(4104), s = r(5188);
19592
19677
  t2.Wire = class {
19593
19678
  invokeMethod(e3, t3, r2) {
19594
19679
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
19595
19680
  }
19596
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
19597
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
19681
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
19682
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
19598
19683
  }
19599
19684
  getOrCreateChannelManager(e3) {
19600
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19685
+ return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19686
+ }
19687
+ disposeChannel(e3) {
19688
+ return n(this, undefined, undefined, function* () {
19689
+ const t3 = this._map.get(e3);
19690
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
19691
+ });
19692
+ }
19693
+ disposeAllChannels() {
19694
+ return n(this, undefined, undefined, function* () {
19695
+ const e3 = [...this._map.values()];
19696
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
19697
+ });
19601
19698
  }
19602
19699
  };
19603
19700
  }, 4104: function(e2, t2, r) {
@@ -20560,7 +20657,7 @@ ${e3.Data}`);
20560
20657
  }
20561
20658
  };
20562
20659
  }, 5144: (e2, t2, r) => {
20563
- const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
20660
+ const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
20564
20661
 
20565
20662
  class A extends n {
20566
20663
  constructor(e3, t3, r2) {
@@ -20683,7 +20780,7 @@ ${e3.Data}`);
20683
20780
  let g2, O2;
20684
20781
  if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
20685
20782
  for (const e4 of r2) {
20686
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
20783
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
20687
20784
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
20688
20785
  m2.add(e4);
20689
20786
  }
@@ -20782,7 +20879,7 @@ ${e3.Data}`);
20782
20879
  const r3 = x(t3).length;
20783
20880
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
20784
20881
  }
20785
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
20882
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
20786
20883
  }
20787
20884
  function W(e3, t3) {
20788
20885
  const r2 = this[O];
@@ -20828,7 +20925,7 @@ ${e3.Data}`);
20828
20925
  const e3 = this[O];
20829
20926
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
20830
20927
  }
20831
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
20928
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
20832
20929
  Object.defineProperty(A.prototype, e3, { enumerable: true });
20833
20930
  }), ["open", "error", "close", "message"].forEach((e3) => {
20834
20931
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -27505,11 +27602,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
27505
27602
  var coreipc_1 = require_coreipc();
27506
27603
 
27507
27604
  class HandleConsentCodeMessage extends coreipc_1.Message {
27508
- constructor(Accept, Domain, ConsentCode) {
27605
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
27509
27606
  super();
27510
27607
  this.Accept = Accept;
27511
27608
  this.Domain = Domain;
27512
27609
  this.ConsentCode = ConsentCode;
27610
+ this.SignInUrl = SignInUrl;
27611
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
27513
27612
  }
27514
27613
  }
27515
27614
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -28310,8 +28409,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
28310
28409
  constructor(_consentCodeServices) {
28311
28410
  this._consentCodeServices = _consentCodeServices;
28312
28411
  }
28313
- HandleConsentCode(accept, domain2, consentCode) {
28314
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
28412
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
28413
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
28315
28414
  }
28316
28415
  IsDomainAllowed(domain2) {
28317
28416
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -28453,7 +28552,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
28453
28552
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
28454
28553
  }
28455
28554
  CloseAsync() {
28456
- return __awaiter(this, undefined, undefined, function* () {});
28555
+ return __awaiter(this, undefined, undefined, function* () {
28556
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
28557
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
28558
+ });
28457
28559
  }
28458
28560
  get RobotStatusChanged() {
28459
28561
  return this._robotStatusChanged;
@@ -28710,7 +28812,7 @@ var require_dist = __commonJS((exports) => {
28710
28812
  // package.json
28711
28813
  var package_default = {
28712
28814
  name: "@uipath/test-manager-tool",
28713
- version: "0.9.0",
28815
+ version: "0.9.1",
28714
28816
  description: "Manage test cases, test sets, executions, and results.",
28715
28817
  private: false,
28716
28818
  repository: {
@@ -46321,7 +46423,7 @@ var registerProjectCommand = (program2) => {
46321
46423
  Result: "Deleted"
46322
46424
  }));
46323
46425
  });
46324
- projectCmd.command("set-default-folder").description("Set the default Orchestrator folder for a project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(PROJECT_SET_DEFAULT_FOLDER_EXAMPLES).trackedAction(processContext, async (options) => {
46426
+ projectCmd.command("set-default-folder").description("Set the default Orchestrator folder for a project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(PROJECT_SET_DEFAULT_FOLDER_EXAMPLES).trackedAction(processContext, async (options) => {
46325
46427
  const ctx = await resolveCommandContext(options);
46326
46428
  if (!ctx)
46327
46429
  return;
@@ -46360,7 +46462,7 @@ var registerProjectCommand = (program2) => {
46360
46462
  Result: "Updated"
46361
46463
  }));
46362
46464
  });
46363
- projectCmd.command("clear-default-folder").description("Clear the default Orchestrator folder from a project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(PROJECT_CLEAR_DEFAULT_FOLDER_EXAMPLES).trackedAction(processContext, async (options) => {
46465
+ projectCmd.command("clear-default-folder").description("Clear the default Orchestrator folder from a project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(PROJECT_CLEAR_DEFAULT_FOLDER_EXAMPLES).trackedAction(processContext, async (options) => {
46364
46466
  const ctx = await resolveCommandContext(options);
46365
46467
  if (!ctx)
46366
46468
  return;
@@ -49388,7 +49490,7 @@ var registerTestcaseCommand = (program2) => {
49388
49490
  Version: testCase.version ?? ""
49389
49491
  }));
49390
49492
  });
49391
- testcaseCmd.command("list").description("List all test cases in a Test Manager project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").option("--filter <text>", "Filter test cases by name or key").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
49493
+ testcaseCmd.command("list").description("List all test cases in a Test Manager project.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").option("--filter <text>", "Filter test cases by name or key").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
49392
49494
  const ctx = await resolveCommandContext(options);
49393
49495
  if (!ctx)
49394
49496
  return;
@@ -49471,7 +49573,7 @@ var registerTestcaseCommand = (program2) => {
49471
49573
  }
49472
49574
  OutputFormatter.success(new SuccessOutput("TestCaseResultHistory", toOutput3(page.data ?? [])));
49473
49575
  });
49474
- testcaseCmd.command("delete").description("Delete a test case by its key.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. LEO-42)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_DELETE_EXAMPLES).trackedAction(processContext, async (options) => {
49576
+ testcaseCmd.command("delete").description("Delete a test case by its key.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. DEMO-42)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_DELETE_EXAMPLES).trackedAction(processContext, async (options) => {
49475
49577
  const ctx = await resolveCommandContext(options);
49476
49578
  if (!ctx)
49477
49579
  return;
@@ -49524,7 +49626,7 @@ var registerTestcaseCommand = (program2) => {
49524
49626
  Result: "Deleted"
49525
49627
  }));
49526
49628
  });
49527
- testcaseCmd.command("link-automation").description("Link an Orchestrator package automation to a test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. LEO:2)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").requiredOption("--package-name <name>", "Orchestrator package identifier (e.g. ProjCSCrossTestCases)").requiredOption("--test-name <name>", "Test case name inside the package (e.g. MyLeoTest2)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LINK_AUTOMATION_EXAMPLES).trackedAction(processContext, async (options) => {
49629
+ testcaseCmd.command("link-automation").description("Link an Orchestrator package automation to a test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. DEMO:2)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").requiredOption("--package-name <name>", "Orchestrator package identifier (e.g. ProjCSCrossTestCases)").requiredOption("--test-name <name>", "Test case name inside the package (e.g. MyDemoTest2)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LINK_AUTOMATION_EXAMPLES).trackedAction(processContext, async (options) => {
49528
49630
  const ctx = await resolveCommandContext(options);
49529
49631
  if (!ctx)
49530
49632
  return;
@@ -49673,7 +49775,7 @@ var registerTestcaseCommand = (program2) => {
49673
49775
  Result: "Linked"
49674
49776
  }));
49675
49777
  });
49676
- testcaseCmd.command("update").description("Update a test case name or description.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--test-case-key <key>", "Test case key (e.g. LEO:1)").option("--name <name>", "New test case name").option("--description <text>", "New test case description").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_UPDATE_EXAMPLES).trackedAction(processContext, async (options) => {
49778
+ testcaseCmd.command("update").description("Update a test case name or description.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--test-case-key <key>", "Test case key (e.g. DEMO:1)").option("--name <name>", "New test case name").option("--description <text>", "New test case description").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_UPDATE_EXAMPLES).trackedAction(processContext, async (options) => {
49677
49779
  const ctx = await resolveCommandContext(options);
49678
49780
  if (!ctx)
49679
49781
  return;
@@ -49746,7 +49848,7 @@ var registerTestcaseCommand = (program2) => {
49746
49848
  Result: "Updated"
49747
49849
  }));
49748
49850
  });
49749
- testcaseCmd.command("list-testsets").description("List test sets that contain a given test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--test-case-key <key>", "Test case key (e.g. LEO:1)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_TESTSETS_EXAMPLES).trackedAction(processContext, async (options) => {
49851
+ testcaseCmd.command("list-testsets").description("List test sets that contain a given test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--test-case-key <key>", "Test case key (e.g. DEMO:1)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_TESTSETS_EXAMPLES).trackedAction(processContext, async (options) => {
49750
49852
  const ctx = await resolveCommandContext(options);
49751
49853
  if (!ctx)
49752
49854
  return;
@@ -49796,7 +49898,7 @@ var registerTestcaseCommand = (program2) => {
49796
49898
  }));
49797
49899
  OutputFormatter.success(new SuccessOutput("TestCaseTestSetsList", rows));
49798
49900
  });
49799
- testcaseCmd.command("unlink-automation").description("Unlink the automation from a test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. LEO:2)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_UNLINK_AUTOMATION_EXAMPLES).trackedAction(processContext, async (options) => {
49901
+ testcaseCmd.command("unlink-automation").description("Unlink the automation from a test case.").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--test-case-key <key>", "Test case object key (e.g. DEMO:2)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_UNLINK_AUTOMATION_EXAMPLES).trackedAction(processContext, async (options) => {
49800
49902
  const ctx = await resolveCommandContext(options);
49801
49903
  if (!ctx)
49802
49904
  return;
@@ -49871,7 +49973,7 @@ var registerTestcaseCommand = (program2) => {
49871
49973
  Result: "Unlinked"
49872
49974
  }));
49873
49975
  });
49874
- testcaseCmd.command("list-automations").description("List test entry points available in an Orchestrator folder (use with link-automation).").requiredOption("--project-key <key>", "Test Manager project key (e.g. LEO)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").option("--package-name <name>", "Filter by package name (case-insensitive substring)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_AUTOMATIONS_EXAMPLES).trackedAction(processContext, async (options) => {
49976
+ testcaseCmd.command("list-automations").description("List test entry points available in an Orchestrator folder (use with link-automation).").requiredOption("--project-key <key>", "Test Manager project key (e.g. DEMO)").requiredOption("--folder-key <uuid>", "Orchestrator folder key UUID (from 'uip or folders list')").option("--package-name <name>", "Filter by package name (case-insensitive substring)").option("-t, --tenant <name>", "Tenant name (defaults to authenticated tenant)").option("--log-level <level>", "Log verbosity: debug, info, warn, error", "Information").examples(TESTCASE_LIST_AUTOMATIONS_EXAMPLES).trackedAction(processContext, async (options) => {
49875
49977
  const ctx = await resolveCommandContext(options);
49876
49978
  if (!ctx)
49877
49979
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/test-manager-tool",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Manage test cases, test sets, executions, and results.",
5
5
  "private": false,
6
6
  "repository": {
@@ -34,14 +34,14 @@
34
34
  "lint:fix": "biome check --write ."
35
35
  },
36
36
  "devDependencies": {
37
- "@uipath/auth": "0.9.0",
38
- "@uipath/common": "0.9.0",
39
- "@uipath/filesystem": "0.9.0",
40
- "@uipath/orchestrator-sdk": "0.9.0",
41
- "@uipath/test-manager-sdk": "0.9.0",
37
+ "@uipath/auth": "0.9.1",
38
+ "@uipath/common": "0.9.1",
39
+ "@uipath/filesystem": "0.9.1",
40
+ "@uipath/orchestrator-sdk": "0.9.1",
41
+ "@uipath/test-manager-sdk": "0.9.1",
42
42
  "@types/node": "^25.5.0",
43
43
  "commander": "^14.0.3",
44
44
  "typescript": "^5"
45
45
  },
46
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
46
+ "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
47
47
  }