@wdio/cli
Advanced tools
Comparing version 9.0.0-alpha.78 to 9.0.0-alpha.113
@@ -87,3 +87,3 @@ import type { Argv } from 'yargs'; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -96,3 +96,3 @@ [x: string]: string | number | boolean; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -105,3 +105,3 @@ [x: string]: string | number | boolean; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -207,3 +207,3 @@ [x: string]: string | number | boolean; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -216,3 +216,3 @@ [x: string]: string | number | boolean; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -225,3 +225,3 @@ [x: string]: string | number | boolean; | ||
readonly coerce: (opts: { | ||
[x: string]: string | number | boolean; | ||
[x: string]: boolean | string | number; | ||
}) => { | ||
@@ -228,0 +228,0 @@ [x: string]: string | number | boolean; |
@@ -1,3 +0,1 @@ | ||
import fs from 'node:fs/promises'; | ||
import path from 'node:path'; | ||
import exitHook from 'async-exit-hook'; | ||
@@ -7,3 +5,3 @@ import logger from '@wdio/logger'; | ||
import { ConfigParser } from '@wdio/config/node'; | ||
import { initializePlugin, initializeLauncherService, sleep } from '@wdio/utils'; | ||
import { initializePlugin, initializeLauncherService, sleep, enableFileLogging } from '@wdio/utils'; | ||
import { setupDriver, setupBrowser } from '@wdio/utils/node'; | ||
@@ -54,6 +52,3 @@ import CLInterface from './interface.js'; | ||
validateConfig(TESTRUNNER_DEFAULTS, { ...config, capabilities }); | ||
if (config.outputDir) { | ||
await fs.mkdir(path.join(config.outputDir), { recursive: true }); | ||
process.env.WDIO_LOG_PATH = path.join(config.outputDir, 'wdio.log'); | ||
} | ||
await enableFileLogging(config.outputDir); | ||
logger.setLogLevelsConfig(config.logLevels, config.logLevel); | ||
@@ -60,0 +55,0 @@ /** |
{ | ||
"name": "@wdio/cli", | ||
"version": "9.0.0-alpha.78+fee2f8a88", | ||
"version": "9.0.0-alpha.113+ceeac488e", | ||
"description": "WebdriverIO testrunner command line interface", | ||
@@ -50,8 +50,8 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"@vitest/snapshot": "^1.2.1", | ||
"@wdio/config": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/globals": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/logger": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/protocols": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/types": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/utils": "9.0.0-alpha.78+fee2f8a88", | ||
"@wdio/config": "9.0.0-alpha.113+ceeac488e", | ||
"@wdio/globals": "9.0.0-alpha.113+ceeac488e", | ||
"@wdio/logger": "9.0.0-alpha.113+ceeac488e", | ||
"@wdio/protocols": "9.0.0-alpha.113+ceeac488e", | ||
"@wdio/types": "9.0.0-alpha.113+ceeac488e", | ||
"@wdio/utils": "9.0.0-alpha.113+ceeac488e", | ||
"async-exit-hook": "^2.0.1", | ||
@@ -71,3 +71,3 @@ "chalk": "^5.2.0", | ||
"recursive-readdir": "^2.2.3", | ||
"webdriverio": "9.0.0-alpha.78+fee2f8a88", | ||
"webdriverio": "9.0.0-alpha.113+ceeac488e", | ||
"yargs": "^17.7.2" | ||
@@ -88,3 +88,3 @@ }, | ||
}, | ||
"gitHead": "fee2f8a88d132537795eaf144abf1a7e242f99ff" | ||
"gitHead": "ceeac488e86da4d6ffad891632183085e4332be7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
292511
10
4804