@wdio/cucumber-framework 9.12.3 → 9.12.6
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 +7 -7
- package/build/index.d.ts.map +1 -1
- package/package.json +4 -4
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
|
-
import type { Capabilities
|
|
2
|
+
import type { Capabilities } from '@wdio/types';
|
|
3
3
|
import type { GherkinDocument } from '@cucumber/messages';
|
|
4
4
|
import type Cucumber from '@cucumber/cucumber';
|
|
5
5
|
import type { CucumberOptions, HookFunctionExtension as HookFunctionExtensionImport, StepDefinitionOptions } from './types.js';
|
|
@@ -18,9 +18,9 @@ export declare class CucumberAdapter {
|
|
|
18
18
|
private _cucumberOpts;
|
|
19
19
|
private _hasTests;
|
|
20
20
|
private gherkinParser;
|
|
21
|
-
constructor(_cid: string, _config:
|
|
22
|
-
readFiles(filePaths?:
|
|
23
|
-
getGherkinDocuments(files?:
|
|
21
|
+
constructor(_cid: string, _config: WebdriverIO.Config, _specs: string[], _capabilities: Capabilities.ResolvedTestrunnerCapabilities, _reporter: EventEmitter, _eventEmitter: EventEmitter, _generateSkipTags?: boolean, _cucumberFormatter?: string);
|
|
22
|
+
readFiles(filePaths?: WebdriverIO.Config['specs']): (string | string[])[];
|
|
23
|
+
getGherkinDocuments(files?: WebdriverIO.Config['specs']): (GherkinDocument | GherkinDocument[])[];
|
|
24
24
|
generateDynamicSkipTags(): string[];
|
|
25
25
|
init(): Promise<this>;
|
|
26
26
|
hasTests(): boolean;
|
|
@@ -42,12 +42,12 @@ export declare class CucumberAdapter {
|
|
|
42
42
|
* set `beforeFeature`, `afterFeature`, `beforeScenario`, `afterScenario`, 'beforeStep', 'afterStep'
|
|
43
43
|
* @param {object} config config
|
|
44
44
|
*/
|
|
45
|
-
addWdioHooks(config:
|
|
45
|
+
addWdioHooks(config: WebdriverIO.Config, supportCodeLibraryBuilder: typeof Cucumber.supportCodeLibraryBuilder): void;
|
|
46
46
|
/**
|
|
47
47
|
* wraps step definition code with sync/async runner with a retry option
|
|
48
48
|
* @param {object} config
|
|
49
49
|
*/
|
|
50
|
-
wrapSteps(config:
|
|
50
|
+
wrapSteps(config: WebdriverIO.Config): void;
|
|
51
51
|
/**
|
|
52
52
|
* wrap step definition to enable retry ability
|
|
53
53
|
* @param {Function} code step definition
|
|
@@ -59,7 +59,7 @@ export declare class CucumberAdapter {
|
|
|
59
59
|
* @param {number} timeout the maximum time (in milliseconds) to wait for
|
|
60
60
|
* @return {Function} wrapped step definition for sync WebdriverIO code
|
|
61
61
|
*/
|
|
62
|
-
wrapStep(code: Function, isStep: boolean, config:
|
|
62
|
+
wrapStep(code: Function, isStep: boolean, config: WebdriverIO.Config, cid: string, options: StepDefinitionOptions, getHookParams: Function, timeout?: number, hookName?: string | undefined): Function;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Publishes a Cucumber report to a specified URL using NDJSON files from a directory.
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ1C,OAAO,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ1C,OAAO,KAAK,EAAE,YAAY,EAAc,MAAM,aAAa,CAAA;AAU3D,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAA;AAM9C,OAAO,KAAK,EACR,eAAe,EACf,qBAAqB,IAAI,2BAA2B,EACpD,qBAAqB,EACxB,MAAM,YAAY,CAAA;AAEnB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AE,WAAW,CAAC,MAAM;IAwCrC;;;;;;;;;;OAUG;IACH,QAAQ,CACJ,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,WAAW,CAAC,MAAM,EAC1B,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,qBAAqB,EAC9B,aAAa,EAAE,QAAQ,EACvB,OAAO,CAAC,EAAE,MAAM,EAChB,QAAQ,GAAE,MAAM,GAAG,SAAqB,GACzC,QAAQ;CAmBd;AACD;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,uBAA8B,MAAM,KAAG,OAAO,CAAC,IAAI,CAqCpF,CAAA;AAGD,eAAO,MAAM,cAAc,EAAE;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAO,CAAA;AAarD,eAAe,cAAc,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAElC,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,WAAW,CAAC;QAClB,UAAU,YAAa,SAAQ,eAAe;SAAG;QACjD,UAAU,qBAAsB,SAAQ,2BAA2B;SAAG;KACzE;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cucumber-framework",
|
|
3
|
-
"version": "9.12.
|
|
3
|
+
"version": "9.12.6",
|
|
4
4
|
"description": "A WebdriverIO plugin. Adapter for Cucumber.js testing framework.",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cucumber-framework",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@cucumber/messages": "26.0.1",
|
|
45
45
|
"@types/node": "^20.1.0",
|
|
46
46
|
"@wdio/logger": "9.4.4",
|
|
47
|
-
"@wdio/types": "9.12.
|
|
48
|
-
"@wdio/utils": "9.12.
|
|
47
|
+
"@wdio/types": "9.12.6",
|
|
48
|
+
"@wdio/utils": "9.12.6",
|
|
49
49
|
"glob": "^10.2.2",
|
|
50
50
|
"import-meta-resolve": "^4.1.0",
|
|
51
51
|
"is-glob": "^4.0.0"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "a5811faee284a67819b8f979f6e32eb6c9752046"
|
|
60
60
|
}
|