@wdio/cli 7.16.4 → 7.16.5

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.
@@ -330,40 +330,44 @@
330
330
  /**
331
331
  *
332
332
  * Runs before a Cucumber Scenario.
333
- * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
333
+ * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
334
+ * @param {Object} context Cucumber World object
334
335
  */
335
- // beforeScenario: function (world) {
336
+ // beforeScenario: function (world, context) {
336
337
  // },
337
338
  /**
338
339
  *
339
340
  * Runs before a Cucumber Step.
340
341
  * @param {Pickle.IPickleStep} step step data
341
342
  * @param {IPickle} scenario scenario pickle
343
+ * @param {Object} context Cucumber World object
342
344
  */
343
- // beforeStep: function (step, scenario) {
345
+ // beforeStep: function (step, scenario, context) {
344
346
  // },
345
347
  /**
346
348
  *
347
349
  * Runs after a Cucumber Step.
348
- * @param {Pickle.IPickleStep} step step data
349
- * @param {IPickle} scenario scenario pickle
350
- * @param {Object} result results object containing scenario results
351
- * @param {boolean} result.passed true if scenario has passed
352
- * @param {string} result.error error stack if scenario failed
353
- * @param {number} result.duration duration of scenario in milliseconds
350
+ * @param {Pickle.IPickleStep} step step data
351
+ * @param {IPickle} scenario scenario pickle
352
+ * @param {Object} result results object containing scenario results
353
+ * @param {boolean} result.passed true if scenario has passed
354
+ * @param {string} result.error error stack if scenario failed
355
+ * @param {number} result.duration duration of scenario in milliseconds
356
+ * @param {Object} context Cucumber World object
354
357
  */
355
- // afterStep: function (step, scenario, result) {
358
+ // afterStep: function (step, scenario, result, context) {
356
359
  // },
357
360
  /**
358
361
  *
359
- * Runs before a Cucumber Scenario.
360
- * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
361
- * @param {Object} result results object containing scenario results
362
- * @param {boolean} result.passed true if scenario has passed
363
- * @param {string} result.error error stack if scenario failed
364
- * @param {number} result.duration duration of scenario in milliseconds
362
+ * Runs after a Cucumber Scenario.
363
+ * @param {ITestCaseHookParameter} world world object containing information on pickle and test step
364
+ * @param {Object} result results object containing scenario results
365
+ * @param {boolean} result.passed true if scenario has passed
366
+ * @param {string} result.error error stack if scenario failed
367
+ * @param {number} result.duration duration of scenario in milliseconds
368
+ * @param {Object} context Cucumber World object
365
369
  */
366
- // afterScenario: function (world, result) {
370
+ // afterScenario: function (world, result, context) {
367
371
  // },
368
372
  /**
369
373
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/cli",
3
- "version": "7.16.4",
3
+ "version": "7.16.5",
4
4
  "description": "WebdriverIO testrunner command line interface",
5
5
  "author": "Christian Bromann <christian@saucelabs.com>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
@@ -53,7 +53,7 @@
53
53
  "lodash.union": "^4.6.0",
54
54
  "mkdirp": "^1.0.4",
55
55
  "recursive-readdir": "^2.2.2",
56
- "webdriverio": "7.16.4",
56
+ "webdriverio": "7.16.5",
57
57
  "yargs": "^17.0.0",
58
58
  "yarn-install": "^1.0.0"
59
59
  },
@@ -61,5 +61,5 @@
61
61
  "access": "public"
62
62
  },
63
63
  "types": "./build/index.d.ts",
64
- "gitHead": "8caf5fcf5b15d34bdb6869613b8cfc3fff365f92"
64
+ "gitHead": "18d21befbae2b65b11765b73f9926e724cacad56"
65
65
  }