@mablhq/mabl-cli 1.20.9 → 1.21.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.
@@ -147,7 +147,7 @@ class BasicApiClient {
147
147
  return this.retryWrappedRequest(`makeDeleteRequest('${path}')`, () => this.deleteRequest(path, this.getRetryableRequestConfig(retryConfig)), retryConfig);
148
148
  }
149
149
  async deleteRequest(path, config) {
150
- const response = await this.debugRequest('DELETE', path, () => this.deleteRequest(path, config));
150
+ const response = await this.debugRequest('DELETE', path, () => this.httpClient.delete(path, config));
151
151
  BasicApiClient.checkResponseStatusCode(response);
152
152
  return response.data;
153
153
  }
@@ -194,8 +194,11 @@ class PlaywrightElementHandle extends PlaywrightJsHandle {
194
194
  return this.element.selectOption(value);
195
195
  }
196
196
  async type(text, options) {
197
- await this.element.focus();
198
- await this.element.selectText({ force: true });
197
+ var _a;
198
+ const selectText = (_a = options === null || options === void 0 ? void 0 : options.selectText) !== null && _a !== void 0 ? _a : true;
199
+ if (selectText) {
200
+ await this.element.selectText({ force: true });
201
+ }
199
202
  return this.element.type(text, {
200
203
  delay: options === null || options === void 0 ? void 0 : options.delay,
201
204
  timeout: 0,