@validate.qa/runner 1.0.49 → 1.0.50

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.
package/dist/cli.js CHANGED
@@ -347397,7 +347397,7 @@ var require_package4 = __commonJS({
347397
347397
  "package.json"(exports2, module2) {
347398
347398
  module2.exports = {
347399
347399
  name: "@validate.qa/runner",
347400
- version: "1.0.49",
347400
+ version: "1.0.50",
347401
347401
  description: "validate local test runner - execute Playwright tests on your machine, connected to validate.qa cloud.",
347402
347402
  bin: {
347403
347403
  "validate-runner": "dist/cli.js"
@@ -348319,6 +348319,8 @@ async function typeText(sessionPath, value, bounds) {
348319
348319
  } catch (err) {
348320
348320
  if (isAppiumDriverDeadError(err)) throw err;
348321
348321
  }
348322
+ } else if (bounds === void 0) {
348323
+ throw new Error("No focused element available for TYPE. Tap an input field first.");
348322
348324
  }
348323
348325
  await sendKeysToFocusedInput(sessionPath, value);
348324
348326
  }
@@ -348349,6 +348351,8 @@ async function clearField(sessionPath, bounds) {
348349
348351
  } catch (err) {
348350
348352
  if (isAppiumDriverDeadError(err)) throw err;
348351
348353
  }
348354
+ } else if (bounds === void 0) {
348355
+ throw new Error("No focused element available for CLEAR. Tap an input field first.");
348352
348356
  }
348353
348357
  try {
348354
348358
  await appiumRequest(`${sessionPath}/keys`, {
package/dist/cli.mjs CHANGED
@@ -347402,7 +347402,7 @@ var require_package4 = __commonJS({
347402
347402
  "package.json"(exports, module) {
347403
347403
  module.exports = {
347404
347404
  name: "@validate.qa/runner",
347405
- version: "1.0.49",
347405
+ version: "1.0.50",
347406
347406
  description: "validate local test runner - execute Playwright tests on your machine, connected to validate.qa cloud.",
347407
347407
  bin: {
347408
347408
  "validate-runner": "dist/cli.js"
@@ -348324,6 +348324,8 @@ async function typeText(sessionPath, value, bounds) {
348324
348324
  } catch (err) {
348325
348325
  if (isAppiumDriverDeadError(err)) throw err;
348326
348326
  }
348327
+ } else if (bounds === void 0) {
348328
+ throw new Error("No focused element available for TYPE. Tap an input field first.");
348327
348329
  }
348328
348330
  await sendKeysToFocusedInput(sessionPath, value);
348329
348331
  }
@@ -348354,6 +348356,8 @@ async function clearField(sessionPath, bounds) {
348354
348356
  } catch (err) {
348355
348357
  if (isAppiumDriverDeadError(err)) throw err;
348356
348358
  }
348359
+ } else if (bounds === void 0) {
348360
+ throw new Error("No focused element available for CLEAR. Tap an input field first.");
348357
348361
  }
348358
348362
  try {
348359
348363
  await appiumRequest(`${sessionPath}/keys`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@validate.qa/runner",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "validate local test runner - execute Playwright tests on your machine, connected to validate.qa cloud.",
5
5
  "bin": {
6
6
  "validate-runner": "dist/cli.js"