@wdio/cli 9.16.2 → 9.17.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.
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/repl.d.ts.map +1 -1
- package/build/commands/run.d.ts +1 -1
- package/build/commands/run.d.ts.map +1 -1
- package/build/constants.d.ts +0 -235
- package/build/constants.d.ts.map +1 -1
- package/build/index.js +120 -1737
- package/build/interface.d.ts.map +1 -1
- package/build/types.d.ts +2 -74
- package/build/types.d.ts.map +1 -1
- package/build/utils.d.ts +1 -73
- package/build/utils.d.ts.map +1 -1
- package/build/watcher.d.ts.map +1 -1
- package/package.json +7 -7
- package/build/commands/config.d.ts +0 -74
- package/build/commands/config.d.ts.map +0 -1
- package/build/commands/install.d.ts +0 -12
- package/build/commands/install.d.ts.map +0 -1
- package/build/install.d.ts +0 -4
- package/build/install.d.ts.map +0 -1
- package/build/templates/EjsHelpers.d.ts +0 -18
- package/build/templates/EjsHelpers.d.ts.map +0 -1
- package/build/templates/exampleFiles/browser/Component.css.ejs +0 -121
- package/build/templates/exampleFiles/browser/Component.lit.ejs +0 -154
- package/build/templates/exampleFiles/browser/Component.lit.test.ejs +0 -24
- package/build/templates/exampleFiles/browser/Component.preact.ejs +0 -28
- package/build/templates/exampleFiles/browser/Component.preact.test.ejs +0 -59
- package/build/templates/exampleFiles/browser/Component.react.ejs +0 -29
- package/build/templates/exampleFiles/browser/Component.react.test.ejs +0 -58
- package/build/templates/exampleFiles/browser/Component.solid.ejs +0 -28
- package/build/templates/exampleFiles/browser/Component.solid.test.ejs +0 -58
- package/build/templates/exampleFiles/browser/Component.stencil.ejs +0 -43
- package/build/templates/exampleFiles/browser/Component.stencil.test.ejs +0 -45
- package/build/templates/exampleFiles/browser/Component.svelte.ejs +0 -47
- package/build/templates/exampleFiles/browser/Component.svelte.test.ejs +0 -58
- package/build/templates/exampleFiles/browser/Component.vue.ejs +0 -34
- package/build/templates/exampleFiles/browser/Component.vue.test.ejs +0 -62
- package/build/templates/exampleFiles/browser/standalone.test.ejs +0 -13
- package/build/templates/exampleFiles/cucumber/features/login.feature +0 -12
- package/build/templates/exampleFiles/cucumber/step_definitions/steps.js.ejs +0 -55
- package/build/templates/exampleFiles/mochaJasmine/test.e2e.js.ejs +0 -11
- package/build/templates/exampleFiles/pageobjects/login.page.js.ejs +0 -45
- package/build/templates/exampleFiles/pageobjects/page.js.ejs +0 -17
- package/build/templates/exampleFiles/pageobjects/secure.page.js.ejs +0 -20
- package/build/templates/exampleFiles/serenity-js/common/config/serenity.properties.ejs +0 -1
- package/build/templates/exampleFiles/serenity-js/common/serenity/github-api/GitHubStatus.ts.ejs +0 -41
- package/build/templates/exampleFiles/serenity-js/common/serenity/todo-list-app/TodoList.ts.ejs +0 -100
- package/build/templates/exampleFiles/serenity-js/common/serenity/todo-list-app/TodoListItem.ts.ejs +0 -36
- package/build/templates/exampleFiles/serenity-js/cucumber/step-definitions/steps.ts.ejs +0 -37
- package/build/templates/exampleFiles/serenity-js/cucumber/support/parameter.config.ts.ejs +0 -18
- package/build/templates/exampleFiles/serenity-js/cucumber/todo-list/completing_items.feature.ejs +0 -23
- package/build/templates/exampleFiles/serenity-js/cucumber/todo-list/narrative.md.ejs +0 -17
- package/build/templates/exampleFiles/serenity-js/jasmine/example.spec.ts.ejs +0 -86
- package/build/templates/exampleFiles/serenity-js/mocha/example.spec.ts.ejs +0 -88
- package/build/templates/snippets/afterTest.ejs +0 -20
- package/build/templates/snippets/capabilities.ejs +0 -57
- package/build/templates/snippets/cucumber.ejs +0 -50
- package/build/templates/snippets/electronTest.js.ejs +0 -7
- package/build/templates/snippets/jasmine.ejs +0 -20
- package/build/templates/snippets/macosTest.js.ejs +0 -11
- package/build/templates/snippets/mocha.ejs +0 -14
- package/build/templates/snippets/reporters.ejs +0 -14
- package/build/templates/snippets/serenity.ejs +0 -18
- package/build/templates/snippets/services.ejs +0 -18
- package/build/templates/snippets/testWithPO.js.ejs +0 -22
- package/build/templates/snippets/testWithoutPO.js.ejs +0 -19
- package/build/templates/snippets/vscodeTest.js.ejs +0 -9
- package/build/templates/wdio.conf.tpl.ejs +0 -412
package/build/interface.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAK1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAMtC,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,iBAAiB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,OAAO,CAAC,EAAE,GAAG,CAAA;IAEb,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,KAAK,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,YAAY;;
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAK1C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAMtC,UAAU,SAAS;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,iBAAiB;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI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AO,SAAK,EAAE,OAAO,GAAE,QAAmB;IAYrG,WAAW,CAAC,OAAO,EAAE,iBAAiB;IAUtC,YAAY,CAAC,KAAK,GAAE,MAAM,EAAO;IAOjC;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,OAAO,CAAC,GAAG,GAAG;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;IASpE;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;IA2BpF;;OAEG;IACH,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;IAKtB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS;IAOrC;;OAEG;IACH,SAAS,CAAC,KAAK,EAAE,iBAAiB;IAwDlC,aAAa;IAgBb,cAAc;IAYd,YAAY;IAsCZ,QAAQ;CAIX"}
|
package/build/types.d.ts
CHANGED
|
@@ -1,74 +1,7 @@
|
|
|
1
1
|
import type { Options, Reporters } from '@wdio/types';
|
|
2
2
|
import type { NormalizedPackageJson } from 'read-pkg-up';
|
|
3
|
-
import type {
|
|
4
|
-
export type PM = typeof
|
|
5
|
-
export interface Questionnair {
|
|
6
|
-
runner: string;
|
|
7
|
-
preset?: string;
|
|
8
|
-
installTestingLibrary?: boolean;
|
|
9
|
-
electronAppBinaryPath?: string;
|
|
10
|
-
electronBuildTool?: ElectronBuildToolChoice;
|
|
11
|
-
electronBuilderConfigPath?: string;
|
|
12
|
-
backend?: BackendChoice;
|
|
13
|
-
hostname?: string;
|
|
14
|
-
port?: string;
|
|
15
|
-
path?: string;
|
|
16
|
-
expEnvAccessKey?: string;
|
|
17
|
-
expEnvHostname?: string;
|
|
18
|
-
expEnvPort?: string;
|
|
19
|
-
expEnvProtocol?: 'http' | 'https';
|
|
20
|
-
env_user?: string;
|
|
21
|
-
env_key?: string;
|
|
22
|
-
region?: RegionOptions;
|
|
23
|
-
useSauceConnect?: boolean;
|
|
24
|
-
framework: string;
|
|
25
|
-
specs?: string;
|
|
26
|
-
stepDefinitions?: string;
|
|
27
|
-
generateTestFiles: boolean;
|
|
28
|
-
usePageObjects?: boolean;
|
|
29
|
-
pages?: string;
|
|
30
|
-
isUsingTypeScript: boolean;
|
|
31
|
-
reporters: string[];
|
|
32
|
-
services: string[];
|
|
33
|
-
serenityLibPath?: string;
|
|
34
|
-
plugins: string[];
|
|
35
|
-
outputDir?: string;
|
|
36
|
-
includeVisualTesting: boolean;
|
|
37
|
-
npmInstall: boolean;
|
|
38
|
-
createPackageJSON?: boolean;
|
|
39
|
-
projectRootCorrect?: boolean;
|
|
40
|
-
projectRoot?: string;
|
|
41
|
-
e2eEnvironment?: 'web' | 'mobile';
|
|
42
|
-
mobileEnvironment?: 'android' | 'ios';
|
|
43
|
-
browserEnvironment?: ('chrome' | 'firefox' | 'safari' | 'microsoftedge')[];
|
|
44
|
-
}
|
|
45
|
-
export interface ParsedAnswers extends Omit<Questionnair, 'runner' | 'framework' | 'reporters' | 'services' | 'plugins'> {
|
|
46
|
-
rawAnswers: Questionnair;
|
|
47
|
-
runner: 'local' | 'browser';
|
|
48
|
-
projectName: string;
|
|
49
|
-
framework: string;
|
|
50
|
-
purpose: string;
|
|
51
|
-
reporters: string[];
|
|
52
|
-
plugins: string[];
|
|
53
|
-
services: string[];
|
|
54
|
-
packagesToInstall: string[];
|
|
55
|
-
isUsingTypeScript: boolean;
|
|
56
|
-
serenityAdapter: string | false;
|
|
57
|
-
esmSupport: boolean;
|
|
58
|
-
isSync: boolean;
|
|
59
|
-
_async: string;
|
|
60
|
-
_await: string;
|
|
61
|
-
projectRootDir: string;
|
|
62
|
-
destSpecRootPath: string;
|
|
63
|
-
destPageObjectRootPath: string;
|
|
64
|
-
destStepRootPath: string;
|
|
65
|
-
destSerenityLibRootPath: string;
|
|
66
|
-
relativePath: string;
|
|
67
|
-
hasRootTSConfig: boolean;
|
|
68
|
-
tsConfigFilePath: string;
|
|
69
|
-
tsProject: string;
|
|
70
|
-
wdioConfigPath: string;
|
|
71
|
-
}
|
|
3
|
+
import type { SUPPORTED_PACKAGE_MANAGERS } from 'create-wdio/utils';
|
|
4
|
+
export type PM = typeof SUPPORTED_PACKAGE_MANAGERS[number];
|
|
72
5
|
export interface RunCommandArguments {
|
|
73
6
|
coverage?: boolean;
|
|
74
7
|
watch?: boolean;
|
|
@@ -110,11 +43,6 @@ export interface InstallCommandArguments {
|
|
|
110
43
|
type: 'service' | 'reporter' | 'framework' | 'plugin';
|
|
111
44
|
name: string;
|
|
112
45
|
}
|
|
113
|
-
export interface ConfigCommandArguments {
|
|
114
|
-
yarn: boolean;
|
|
115
|
-
yes: boolean;
|
|
116
|
-
npmTag: string;
|
|
117
|
-
}
|
|
118
46
|
export interface SupportedPackage {
|
|
119
47
|
package: string;
|
|
120
48
|
short: string;
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,MAAM,EAAE,GAAG,OAAO,0BAA0B,CAAC,MAAM,CAAC,CAAA;AAE1D,MAAM,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
|
2
1
|
import { SevereServiceError } from 'webdriverio';
|
|
3
2
|
import type { Capabilities, Services } from '@wdio/types';
|
|
4
|
-
import type { OnCompleteResult,
|
|
3
|
+
import type { OnCompleteResult, ReplCommandArguments } from './types.js';
|
|
5
4
|
export declare const renderFile: (path: string, data: Record<string, unknown>) => Promise<string>;
|
|
6
5
|
export declare class HookError extends SevereServiceError {
|
|
7
6
|
origin: string;
|
|
@@ -32,13 +31,6 @@ export declare function runOnCompleteHook(onCompleteHook: Function | Function[],
|
|
|
32
31
|
*/
|
|
33
32
|
export declare function getRunnerName(caps?: WebdriverIO.Capabilities): string;
|
|
34
33
|
export declare function findInConfig(config: string, type: string): RegExpMatchArray | null;
|
|
35
|
-
export declare function replaceConfig(config: string, type: string, name: string): string | undefined;
|
|
36
|
-
export declare function addServiceDeps(names: SupportedPackage[], packages: string[], update?: boolean): void;
|
|
37
|
-
/**
|
|
38
|
-
* @todo add JSComments
|
|
39
|
-
*/
|
|
40
|
-
export declare function convertPackageHashToObject(pkg: string, hash?: string): SupportedPackage;
|
|
41
|
-
export declare function getSerenityPackages(answers: Questionnair): string[];
|
|
42
34
|
export declare function getCapabilities(arg: ReplCommandArguments): Promise<{
|
|
43
35
|
capabilities: {
|
|
44
36
|
deviceName: string;
|
|
@@ -69,70 +61,6 @@ export declare function getCapabilities(arg: ReplCommandArguments): Promise<{
|
|
|
69
61
|
browserName: string;
|
|
70
62
|
};
|
|
71
63
|
}>;
|
|
72
|
-
/**
|
|
73
|
-
* detect if project has a compiler file
|
|
74
|
-
*/
|
|
75
|
-
export declare function detectCompiler(answers: Questionnair): Promise<boolean>;
|
|
76
|
-
/**
|
|
77
|
-
* Check if package is installed
|
|
78
|
-
* @param {string} package to check existance for
|
|
79
|
-
*/
|
|
80
|
-
export declare function hasPackage(pkg: string): Promise<boolean>;
|
|
81
|
-
/**
|
|
82
|
-
* generate test files based on CLI answers
|
|
83
|
-
*/
|
|
84
|
-
export declare function generateTestFiles(answers: ParsedAnswers): Promise<void>;
|
|
85
|
-
export declare function generateBrowserRunnerTestFiles(answers: ParsedAnswers): Promise<void>;
|
|
86
|
-
export declare function getAnswers(yes: boolean): Promise<Questionnair>;
|
|
87
|
-
export declare function getPathForFileGeneration(answers: Questionnair, projectRootDir: string): {
|
|
88
|
-
destSpecRootPath: string;
|
|
89
|
-
destStepRootPath: string;
|
|
90
|
-
destPageObjectRootPath: string;
|
|
91
|
-
destSerenityLibRootPath: string;
|
|
92
|
-
relativePath: string;
|
|
93
|
-
};
|
|
94
|
-
export declare function getDefaultFiles(answers: Questionnair, pattern: string): Promise<string>;
|
|
95
|
-
/**
|
|
96
|
-
* Ensure core WebdriverIO packages have the same version as cli so that if someone
|
|
97
|
-
* installs `@wdio/cli@next` and runs the wizard, all related packages have the same version.
|
|
98
|
-
* running `matchAll` to a version like "8.0.0-alpha.249+4bc237701", results in:
|
|
99
|
-
* ['8.0.0-alpha.249+4bc237701', '8', '0', '0', 'alpha', '249', '4bc237701']
|
|
100
|
-
*/
|
|
101
|
-
export declare function specifyVersionIfNeeded(packagesToInstall: string[], version: string, npmTag: string): string[];
|
|
102
|
-
/**
|
|
103
|
-
* Receive project properties
|
|
104
|
-
* @returns {@type ProjectProps} if a package.json can be found in cwd or parent directories, otherwise undefined
|
|
105
|
-
* which means that a new project can be created
|
|
106
|
-
*/
|
|
107
|
-
export declare function getProjectProps(cwd?: string): Promise<ProjectProps | undefined>;
|
|
108
|
-
export declare function runProgram(command: string, args: string[], options: SpawnOptions): Promise<void>;
|
|
109
|
-
/**
|
|
110
|
-
* create package.json if not already existing
|
|
111
|
-
*/
|
|
112
|
-
export declare function createPackageJSON(parsedAnswers: ParsedAnswers): Promise<false | undefined>;
|
|
113
|
-
export declare function npmInstall(parsedAnswers: ParsedAnswers, npmTag: string): Promise<void>;
|
|
114
|
-
/**
|
|
115
|
-
* detect the package manager that was used
|
|
116
|
-
* uses the environment variable `npm_config_user_agent` to detect the package manager
|
|
117
|
-
* falls back to `npm` if no package manager could be detected
|
|
118
|
-
*/
|
|
119
|
-
export declare function detectPackageManager(): "npm" | "yarn" | "pnpm" | "bun";
|
|
120
|
-
/**
|
|
121
|
-
* set up TypeScript if it is desired but not installed
|
|
122
|
-
*/
|
|
123
|
-
export declare function setupTypeScript(parsedAnswers: ParsedAnswers): Promise<void>;
|
|
124
|
-
export declare function createWDIOConfig(parsedAnswers: ParsedAnswers): Promise<void>;
|
|
125
|
-
/**
|
|
126
|
-
* Get project root directory based on questionair answers
|
|
127
|
-
* @param answers questionair answers
|
|
128
|
-
* @param projectProps project properties received via `getProjectProps`
|
|
129
|
-
* @returns project root path
|
|
130
|
-
*/
|
|
131
|
-
export declare function getProjectRoot(parsedAnswers?: Questionnair): Promise<string>;
|
|
132
|
-
export declare function createWDIOScript(parsedAnswers: ParsedAnswers): Promise<boolean>;
|
|
133
|
-
export declare function runAppiumInstaller(parsedAnswers: ParsedAnswers): Promise<void | import("execa").Result<{
|
|
134
|
-
stdio: "inherit";
|
|
135
|
-
}>>;
|
|
136
64
|
type CLIParams = {
|
|
137
65
|
[x: string]: boolean | string | number | (string | boolean | number)[];
|
|
138
66
|
};
|
package/build/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAGhD,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAMzD,OAAO,KAAK,EACR,gBAAgB,EAChB,oBAAoB,EACvB,MAAM,YAAY,CAAA;AAInB,eAAO,MAAM,UAAU,EAAgC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA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W;IACZ,OAAO,IAAI;IACX,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,OAAO,WAAW,GAAG,MAAM,CAElE"}
|
package/build/watcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../src/watcher.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,OAAO,EAAE,MAAM,aAAa,CAAA;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAKvE,MAAM,CAAC,OAAO,OAAO,OAAO;IAKpB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,KAAK;IALjB,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,MAAM,CAAa;gBAGf,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC;IAMpD,KAAK;IAsDX;;;;OAIG;IACH,eAAe,CAAE,UAAU,UAAO,
|
|
1
|
+
{"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../src/watcher.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAgB,OAAO,EAAE,MAAM,aAAa,CAAA;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAKvE,MAAM,CAAC,OAAO,OAAO,OAAO;IAKpB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,KAAK;IALjB,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,MAAM,CAAa;gBAGf,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC;IAMpD,KAAK;IAsDX;;;;OAIG;IACH,eAAe,CAAE,UAAU,UAAO,IACtB,MAAM,MAAM;IAgCxB;;;;;OAKG;IACH,UAAU,CAAE,SAAS,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU;IAqB7H;;;OAGG;IACH,GAAG,CAAE,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAM;IAqC9C,OAAO;CAGV"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.17.1",
|
|
4
4
|
"description": "WebdriverIO testrunner command line interface",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
@@ -41,15 +41,16 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@types/node": "^20.1.1",
|
|
43
43
|
"@vitest/snapshot": "^2.1.1",
|
|
44
|
-
"@wdio/config": "9.
|
|
45
|
-
"@wdio/globals": "9.
|
|
44
|
+
"@wdio/config": "9.17.0",
|
|
45
|
+
"@wdio/globals": "9.17.0",
|
|
46
46
|
"@wdio/logger": "9.16.2",
|
|
47
47
|
"@wdio/protocols": "9.16.2",
|
|
48
48
|
"@wdio/types": "9.16.2",
|
|
49
|
-
"@wdio/utils": "9.
|
|
49
|
+
"@wdio/utils": "9.17.0",
|
|
50
50
|
"async-exit-hook": "^2.0.1",
|
|
51
51
|
"chalk": "^5.2.0",
|
|
52
52
|
"chokidar": "^4.0.0",
|
|
53
|
+
"create-wdio": "9.17.1",
|
|
53
54
|
"dotenv": "^16.3.1",
|
|
54
55
|
"ejs": "^3.1.9",
|
|
55
56
|
"execa": "^9.2.0",
|
|
@@ -59,9 +60,8 @@
|
|
|
59
60
|
"lodash.pickby": "^4.6.0",
|
|
60
61
|
"lodash.union": "^4.6.0",
|
|
61
62
|
"read-pkg-up": "^10.0.0",
|
|
62
|
-
"recursive-readdir": "^2.2.3",
|
|
63
63
|
"tsx": "^4.7.2",
|
|
64
|
-
"webdriverio": "9.
|
|
64
|
+
"webdriverio": "9.17.0",
|
|
65
65
|
"yargs": "^17.7.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "76c095bd0d0fa3d83dff0785fe786f8571d709a0"
|
|
81
81
|
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { Argv } from 'yargs';
|
|
2
|
-
import type { ConfigCommandArguments, ParsedAnswers } from '../types.js';
|
|
3
|
-
export declare const command = "config";
|
|
4
|
-
export declare const desc = "Initialize WebdriverIO and setup configuration in your current project.";
|
|
5
|
-
export declare const cmdArgs: {
|
|
6
|
-
readonly yarn: {
|
|
7
|
-
readonly type: "boolean";
|
|
8
|
-
readonly desc: "Install packages via Yarn package manager.";
|
|
9
|
-
readonly default: boolean;
|
|
10
|
-
};
|
|
11
|
-
readonly yes: {
|
|
12
|
-
readonly alias: "y";
|
|
13
|
-
readonly desc: "will fill in all config defaults without prompting";
|
|
14
|
-
readonly type: "boolean";
|
|
15
|
-
readonly default: false;
|
|
16
|
-
};
|
|
17
|
-
readonly npmTag: {
|
|
18
|
-
readonly alias: "t";
|
|
19
|
-
readonly desc: "define NPM tag to use for WebdriverIO related packages";
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly default: "latest";
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const builder: (yargs: Argv) => Argv<import("yargs").Omit<{}, "yarn" | "yes" | "npmTag"> & import("yargs").InferredOptionTypes<{
|
|
25
|
-
readonly yarn: {
|
|
26
|
-
readonly type: "boolean";
|
|
27
|
-
readonly desc: "Install packages via Yarn package manager.";
|
|
28
|
-
readonly default: boolean;
|
|
29
|
-
};
|
|
30
|
-
readonly yes: {
|
|
31
|
-
readonly alias: "y";
|
|
32
|
-
readonly desc: "will fill in all config defaults without prompting";
|
|
33
|
-
readonly type: "boolean";
|
|
34
|
-
readonly default: false;
|
|
35
|
-
};
|
|
36
|
-
readonly npmTag: {
|
|
37
|
-
readonly alias: "t";
|
|
38
|
-
readonly desc: "define NPM tag to use for WebdriverIO related packages";
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly default: "latest";
|
|
41
|
-
};
|
|
42
|
-
}>>;
|
|
43
|
-
export declare const parseAnswers: (yes: boolean) => Promise<ParsedAnswers>;
|
|
44
|
-
export declare function runConfigCommand(parsedAnswers: ParsedAnswers, npmTag: string): Promise<void>;
|
|
45
|
-
export declare function handler(argv: ConfigCommandArguments, runConfigCmd?: typeof runConfigCommand): Promise<{
|
|
46
|
-
success: boolean;
|
|
47
|
-
parsedAnswers: ParsedAnswers;
|
|
48
|
-
installedPackages: string[];
|
|
49
|
-
}>;
|
|
50
|
-
/**
|
|
51
|
-
* Helper utility used in `run` and `install` command to format a provided config path,
|
|
52
|
-
* giving it back as an absolute path, and a version without the file extension
|
|
53
|
-
* @param config the initially given file path to the WDIO config file
|
|
54
|
-
*/
|
|
55
|
-
export declare function formatConfigFilePaths(config: string): Promise<{
|
|
56
|
-
fullPath: string;
|
|
57
|
-
fullPathNoExtension: string;
|
|
58
|
-
}>;
|
|
59
|
-
/**
|
|
60
|
-
* Helper utility used in `run` and `install` command to check whether a config file currently exists
|
|
61
|
-
* @param configPathNoExtension the file path to the WDIO config file without extension
|
|
62
|
-
* @param configPath the file path to the WDIO config file that is checked first if set
|
|
63
|
-
* @returns {string} the path to the config file that exists, otherwise undefined
|
|
64
|
-
*/
|
|
65
|
-
export declare function canAccessConfigPath(configPathNoExtension: string, configPath?: string): Promise<string | undefined>;
|
|
66
|
-
/**
|
|
67
|
-
* Helper utility used in `run` and `install` command to create config if none exist
|
|
68
|
-
* @param {string} command to be executed by user
|
|
69
|
-
* @param {string} configPath the path to a wdio.conf.[js/ts] file
|
|
70
|
-
* @param {boolean} useYarn parameter set to true if yarn is used
|
|
71
|
-
* @param {Function} runConfigCmd runConfig method to be replaceable for unit testing
|
|
72
|
-
*/
|
|
73
|
-
export declare function missingConfigurationPrompt(command: string, configPath: string, runConfigCmd?: typeof runConfigCommand): Promise<string>;
|
|
74
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAWjC,OAAO,KAAK,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAUxE,eAAO,MAAM,OAAO,WAAW,CAAA;AAC/B,eAAO,MAAM,IAAI,4EAA4E,CAAA;AAE7F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAkBV,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI;;;;;;;;;;;;;;;;;;GAKlC,CAAA;AAED,eAAO,MAAM,YAAY,QAAwB,OAAO,KAAG,OAAO,CAAC,aAAa,CAyF/E,CAAA;AAED,wBAAsB,gBAAgB,CAAC,aAAa,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,iBAqBlF;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,sBAAsB,EAAE,YAAY,0BAAmB;;;;GAQ1F;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM;;;GAMzD;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CAAC,qBAAqB,EAAC,MAAM,EAAE,UAAU,CAAC,EAAC,MAAM,+BAczF;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,0BAAmB,mBA+BpH"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Argv } from 'yargs';
|
|
2
|
-
import type { InstallCommandArguments } from '../types.js';
|
|
3
|
-
export declare const command = "install <type> <name>";
|
|
4
|
-
export declare const desc: string;
|
|
5
|
-
export declare const cmdArgs: {
|
|
6
|
-
readonly config: {
|
|
7
|
-
readonly desc: "Location of your WDIO configuration (default: wdio.conf.(js|ts|cjs|mjs))";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const builder: (yargs: Argv) => Argv<{}>;
|
|
11
|
-
export declare function handler(argv: InstallCommandArguments): Promise<void>;
|
|
12
|
-
//# sourceMappingURL=install.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../src/commands/install.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,KAAK,EAAE,uBAAuB,EAAoB,MAAM,aAAa,CAAA;AAU5E,eAAO,MAAM,OAAO,0BAA0B,CAAA;AAC9C,eAAO,MAAM,IAAI,QAIN,CAAA;AAEX,eAAO,MAAM,OAAO;;;;CAIV,CAAA;AAEV,eAAO,MAAM,OAAO,UAAW,IAAI,aAalC,CAAA;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,uBAAuB,iBAoF1D"}
|
package/build/install.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { PM } from './types.js';
|
|
2
|
-
export declare function installPackages(cwd: string, packages: string[], dev: boolean): Promise<boolean>;
|
|
3
|
-
export declare function getInstallCommand(pm: PM, packages: string[], dev: boolean): string;
|
|
4
|
-
//# sourceMappingURL=install.d.ts.map
|
package/build/install.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAgBpC,wBAAsB,eAAe,CAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,oBAwBnF;AAED,wBAAgB,iBAAiB,CAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,OAAO,UAG1E"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface EjsHelpersConfig {
|
|
2
|
-
useEsm?: boolean;
|
|
3
|
-
useTypeScript?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare class EjsHelpers {
|
|
6
|
-
readonly useTypeScript: boolean;
|
|
7
|
-
readonly useEsm: boolean;
|
|
8
|
-
constructor(config: EjsHelpersConfig);
|
|
9
|
-
if(condition: boolean, trueValue: string, falseValue?: string): string;
|
|
10
|
-
ifTs: (trueValue: string, falseValue?: string) => string;
|
|
11
|
-
ifEsm: (trueValue: string, falseValue?: string) => string;
|
|
12
|
-
param(name: string, type: string): string;
|
|
13
|
-
returns(type: string): string;
|
|
14
|
-
import(exports: string, moduleId: string): string;
|
|
15
|
-
private modulePathFrom;
|
|
16
|
-
export(keyword: 'class' | 'function' | 'const' | 'let', name: string): string;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=EjsHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EjsHelpers.d.ts","sourceRoot":"","sources":["../../src/templates/EjsHelpers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,qBAAa,UAAU;IACnB,SAAgB,aAAa,EAAE,OAAO,CAAA;IACtC,SAAgB,MAAM,EAAE,OAAO,CAAA;gBAEnB,MAAM,EAAE,gBAAgB;IAKpC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,GAAE,MAAW;IAMjE,IAAI,cAAe,MAAM,eAAc,MAAM,YACS;IAEtD,KAAK,cAAe,MAAM,eAAc,MAAM,YACC;IAE/C,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;IAMhC,OAAO,CAAC,IAAI,EAAE,MAAM;IAMpB,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAkBxC,OAAO,CAAC,cAAc;IAYtB,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,KAAK,EAAE,IAAI,EAAE,MAAM;CAevE"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
|
|
3
|
-
font-size: 16px;
|
|
4
|
-
line-height: 24px;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
text-align: center;
|
|
7
|
-
|
|
8
|
-
color-scheme: light dark;
|
|
9
|
-
color: rgba(255, 255, 255, 0.87);
|
|
10
|
-
background-color: #242424;
|
|
11
|
-
|
|
12
|
-
font-synthesis: none;
|
|
13
|
-
text-rendering: optimizeLegibility;
|
|
14
|
-
-webkit-font-smoothing: antialiased;
|
|
15
|
-
-moz-osx-font-smoothing: grayscale;
|
|
16
|
-
-webkit-text-size-adjust: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
a {
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
color: #EA5906;
|
|
22
|
-
text-decoration: inherit;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a:hover {
|
|
26
|
-
color: #EA5906;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
body {
|
|
30
|
-
margin: 0;
|
|
31
|
-
display: flex;
|
|
32
|
-
place-items: center;
|
|
33
|
-
min-width: 320px;
|
|
34
|
-
min-height: 100vh;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
h1 {
|
|
38
|
-
font-size: 3.2em;
|
|
39
|
-
line-height: 1.1;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
button {
|
|
43
|
-
border-radius: 8px;
|
|
44
|
-
border: 1px solid transparent;
|
|
45
|
-
padding: 0.6em 1.2em;
|
|
46
|
-
font-size: 1em;
|
|
47
|
-
font-weight: 500;
|
|
48
|
-
font-family: inherit;
|
|
49
|
-
background-color: #1a1a1a;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
transition: border-color 0.25s;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
button:hover {
|
|
55
|
-
border-color: #EA5906;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
button:focus,
|
|
59
|
-
button:focus-visible {
|
|
60
|
-
outline: 4px auto -webkit-focus-ring-color;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media (prefers-color-scheme: light) {
|
|
64
|
-
:root {
|
|
65
|
-
color: #213547;
|
|
66
|
-
background-color: #ffffff;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
a:hover {
|
|
70
|
-
color: #EA590633;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
button {
|
|
74
|
-
background-color: #f9f9f9;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
#root {
|
|
79
|
-
max-width: 1280px;
|
|
80
|
-
margin: 0 auto;
|
|
81
|
-
padding: 2rem;
|
|
82
|
-
text-align: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.logo {
|
|
86
|
-
height: 12em;
|
|
87
|
-
padding: 1.5em;
|
|
88
|
-
will-change: filter;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.logo:hover {
|
|
92
|
-
filter: drop-shadow(0 0 2em #EA5906aa);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.logo.react:hover {
|
|
96
|
-
filter: drop-shadow(0 0 2em #61dafbaa);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@keyframes logo-spin {
|
|
100
|
-
from {
|
|
101
|
-
transform: rotate(0deg);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
to {
|
|
105
|
-
transform: rotate(360deg);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
110
|
-
a:nth-of-type(2) .logo {
|
|
111
|
-
animation: logo-spin infinite 20s linear;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.card {
|
|
116
|
-
padding: 2em;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.read-the-docs {
|
|
120
|
-
color: #888;
|
|
121
|
-
}
|