@wdio/cucumber-framework 7.16.13 → 7.17.3
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/build/index.d.ts +2 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +7 -2
- package/package.json +7 -12
package/build/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="expect-webdriverio/types/standalone" />
|
|
3
3
|
import { EventEmitter } from 'events';
|
|
4
4
|
import * as Cucumber from '@cucumber/cucumber';
|
|
5
|
-
import { After, AfterAll, AfterStep, Before, BeforeAll, BeforeStep, defineParameterType, defineStep, Given, setDefaultTimeout, setDefinitionFunctionWrapper, setWorldConstructor, World, Then, When } from '@cucumber/cucumber';
|
|
5
|
+
import { After, AfterAll, AfterStep, Before, BeforeAll, BeforeStep, DataTable, defineParameterType, defineStep, Given, setDefaultTimeout, setDefinitionFunctionWrapper, setWorldConstructor, World, Then, When } from '@cucumber/cucumber';
|
|
6
6
|
import { Long } from 'long';
|
|
7
7
|
import type { Capabilities, Options } from '@wdio/types';
|
|
8
8
|
import type ExpectWebdriverIO from 'expect-webdriverio';
|
|
@@ -70,7 +70,7 @@ declare const adapterFactory: {
|
|
|
70
70
|
init?: Function;
|
|
71
71
|
};
|
|
72
72
|
export default adapterFactory;
|
|
73
|
-
export { CucumberAdapter, adapterFactory, After, AfterAll, AfterStep, Before, BeforeAll, BeforeStep, defineParameterType, defineStep, Given, setDefaultTimeout, setDefinitionFunctionWrapper, setWorldConstructor, Then, When, World };
|
|
73
|
+
export { CucumberAdapter, adapterFactory, After, AfterAll, AfterStep, Before, BeforeAll, BeforeStep, DataTable, defineParameterType, defineStep, Given, setDefaultTimeout, setDefinitionFunctionWrapper, setWorldConstructor, Then, When, World };
|
|
74
74
|
declare global {
|
|
75
75
|
namespace WebdriverIO {
|
|
76
76
|
interface CucumberOpts extends CucumberOptions {
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1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0B7B,IAAI;IAmCV,QAAQ;IAIF,GAAG;IAkET;;;;;;;;OAQG;IACH,uBAAuB;IAYvB,aAAa;IAUb,aAAa;IAsBb;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU;IAkDvC;;;OAGG;IACH,SAAS,CAAE,MAAM,EAAE,OAAO,CAAC,UAAU;IAwBrC;;;;;;;;;OASG;IACH,QAAQ,CACJ,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,OAAO,CAAC,UAAU,EAC1B,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,qBAAqB,EAC9B,aAAa,EAAE,QAAQ,UAEA,cAAc,WAAW,GAAG,EAAE;CAkB5D;AAGD,QAAA,MAAM,cAAc,EAAE;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAO,CAAA;AAa9C,eAAe,cAAc,CAAA;AAC7B,OAAO,EACH,eAAe,EACf,cAAc,EACd,KAAK,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,SAAS,EACT,UAAU,EACV,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,KAAK,EACL,iBAAiB,EACjB,4BAA4B,EAC5B,mBAAmB,EACnB,IAAI,EACJ,IAAI,EACJ,KAAK,EACR,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,WAAW,CAAC;QAClB,UAAU,YAAa,SAAQ,eAAe;SAAG;QACjD,UAAU,qBAAsB,SAAQ,2BAA2B;SAAG;KACzE;IACD,UAAU,MAAM,CAAC;QACb,UAAU,MAAM;YACZ,MAAM,EAAE,iBAAiB,CAAC,MAAM,CAAA;SACnC;KACJ;CACJ"}
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -22,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
22
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
27
|
};
|
|
24
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.World = exports.When = exports.Then = exports.setWorldConstructor = exports.setDefinitionFunctionWrapper = exports.setDefaultTimeout = exports.Given = exports.defineStep = exports.defineParameterType = exports.BeforeStep = exports.BeforeAll = exports.Before = exports.AfterStep = exports.AfterAll = exports.After = exports.adapterFactory = exports.CucumberAdapter = void 0;
|
|
29
|
+
exports.World = exports.When = exports.Then = exports.setWorldConstructor = exports.setDefinitionFunctionWrapper = exports.setDefaultTimeout = exports.Given = exports.defineStep = exports.defineParameterType = exports.DataTable = exports.BeforeStep = exports.BeforeAll = exports.Before = exports.AfterStep = exports.AfterAll = exports.After = exports.adapterFactory = exports.CucumberAdapter = void 0;
|
|
26
30
|
const path_1 = __importDefault(require("path"));
|
|
27
31
|
const events_1 = require("events");
|
|
28
32
|
const mockery_1 = __importDefault(require("mockery"));
|
|
@@ -36,6 +40,7 @@ Object.defineProperty(exports, "AfterStep", { enumerable: true, get: function ()
|
|
|
36
40
|
Object.defineProperty(exports, "Before", { enumerable: true, get: function () { return cucumber_1.Before; } });
|
|
37
41
|
Object.defineProperty(exports, "BeforeAll", { enumerable: true, get: function () { return cucumber_1.BeforeAll; } });
|
|
38
42
|
Object.defineProperty(exports, "BeforeStep", { enumerable: true, get: function () { return cucumber_1.BeforeStep; } });
|
|
43
|
+
Object.defineProperty(exports, "DataTable", { enumerable: true, get: function () { return cucumber_1.DataTable; } });
|
|
39
44
|
Object.defineProperty(exports, "defineParameterType", { enumerable: true, get: function () { return cucumber_1.defineParameterType; } });
|
|
40
45
|
Object.defineProperty(exports, "defineStep", { enumerable: true, get: function () { return cucumber_1.defineStep; } });
|
|
41
46
|
Object.defineProperty(exports, "Given", { enumerable: true, get: function () { return cucumber_1.Given; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cucumber-framework",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.17.3",
|
|
4
4
|
"description": "A WebdriverIO plugin. Adapter for Cucumber.js testing framework.",
|
|
5
5
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cucumber-framework",
|
|
@@ -24,24 +24,19 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@cucumber/cucumber": "8.0.0-rc.1",
|
|
26
26
|
"@cucumber/gherkin": "22.0.0",
|
|
27
|
-
"@cucumber/gherkin-streams": "^
|
|
27
|
+
"@cucumber/gherkin-streams": "^5.0.0",
|
|
28
28
|
"@cucumber/messages": "17.1.1",
|
|
29
29
|
"@types/is-glob": "^4.0.1",
|
|
30
30
|
"@types/long": "^4.0.1",
|
|
31
31
|
"@types/mockery": "^1.4.29",
|
|
32
|
-
"@wdio/logger": "7.
|
|
33
|
-
"@wdio/types": "7.
|
|
34
|
-
"@wdio/utils": "7.
|
|
35
|
-
"colors": "1.4.0",
|
|
32
|
+
"@wdio/logger": "7.17.3",
|
|
33
|
+
"@wdio/types": "7.17.3",
|
|
34
|
+
"@wdio/utils": "7.17.3",
|
|
36
35
|
"expect-webdriverio": "^3.0.0",
|
|
37
36
|
"glob": "^7.1.2",
|
|
38
37
|
"is-glob": "^4.0.0",
|
|
39
38
|
"long": "^4.0.0",
|
|
40
|
-
"mockery": "^2.1.0"
|
|
41
|
-
"rimraf": "^3.0.2"
|
|
42
|
-
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"postinstall": "rimraf ./node_modules/@cucumber/cucumber/node_modules/colors"
|
|
39
|
+
"mockery": "^2.1.0"
|
|
45
40
|
},
|
|
46
41
|
"peerDependencies": {
|
|
47
42
|
"@wdio/cli": "^7.0.0"
|
|
@@ -50,5 +45,5 @@
|
|
|
50
45
|
"access": "public"
|
|
51
46
|
},
|
|
52
47
|
"types": "./build/index.d.ts",
|
|
53
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "2bcb589dbdd10ca181f301a269b4dd158faab257"
|
|
54
49
|
}
|