@qawolf/config
Advanced tools
Comparing version 0.4.0 to 0.4.3
@@ -6,7 +6,8 @@ export declare const CONFIG: { | ||
dataAttribute: string | null; | ||
debug: boolean; | ||
development: boolean; | ||
display: string; | ||
docker: boolean; | ||
findTimeoutMs: number; | ||
headless: boolean; | ||
locatorTimeoutMs: number; | ||
logLevel: string | undefined; | ||
@@ -13,0 +14,0 @@ logPath: string | undefined; |
@@ -21,13 +21,14 @@ "use strict"; | ||
chromeOffsetX: parseNumber(process.env.QAW_CHROME_OFFSET_X, 0), | ||
chromeOffsetY: parseNumber(process.env.QAW_CHROME_OFFSET_Y, 0), | ||
chromeOffsetY: parseNumber(process.env.QAW_CHROME_OFFSET_Y, 125), | ||
dataAttribute: process.env.QAW_DATA_ATTRIBUTE || null, | ||
debug: parseBool(process.env.QAW_DEBUG), | ||
development: parseBool(process.env.QAW_DEVELOPMENT), | ||
display: process.env.DISPLAY || ":1.0", | ||
docker: parseBool(process.env.QAW_DOCKER), | ||
findTimeoutMs: parseNumber(process.env.QAW_FIND_TIMEOUT_MS, 30000), | ||
headless: parseBool(process.env.QAW_HEADLESS), | ||
locatorTimeoutMs: parseNumber(process.env.QAW_LOCATOR_TIMEOUT_MS, 30000), | ||
logLevel: process.env.QAW_LOG_LEVEL, | ||
logPath: process.env.QAW_LOG_PATH, | ||
serial: parseBool(process.env.QAW_SERIAL), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 0), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 2000), | ||
testUrl, | ||
@@ -34,0 +35,0 @@ videoPath: process.env.QAW_VIDEO_PATH |
{ | ||
"name": "@qawolf/config", | ||
"description": "qawolf config (node only)", | ||
"version": "0.4.0", | ||
"version": "0.4.3", | ||
"license": "BSD-3.0", | ||
@@ -29,3 +29,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "a0a2411b4e62470aea6d556082385f7df832cc80" | ||
"gitHead": "0b18bbd752ba38f10abe9f8b4230856df70cc1de" | ||
} |
@@ -21,15 +21,18 @@ import dotenv from "dotenv"; | ||
chromeOffsetX: parseNumber(process.env.QAW_CHROME_OFFSET_X, 0), | ||
chromeOffsetY: parseNumber(process.env.QAW_CHROME_OFFSET_Y, 0), | ||
chromeOffsetY: parseNumber(process.env.QAW_CHROME_OFFSET_Y, 125), | ||
dataAttribute: process.env.QAW_DATA_ATTRIBUTE || null, | ||
debug: parseBool(process.env.QAW_DEBUG), | ||
development: parseBool(process.env.QAW_DEVELOPMENT), | ||
display: process.env.DISPLAY || ":1.0", | ||
docker: parseBool(process.env.QAW_DOCKER), | ||
findTimeoutMs: parseNumber(process.env.QAW_FIND_TIMEOUT_MS, 30000), | ||
headless: parseBool(process.env.QAW_HEADLESS), | ||
locatorTimeoutMs: parseNumber(process.env.QAW_LOCATOR_TIMEOUT_MS, 30000), | ||
logLevel: process.env.QAW_LOG_LEVEL, | ||
logPath: process.env.QAW_LOG_PATH, | ||
serial: parseBool(process.env.QAW_SERIAL), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 0), | ||
// slow down each step by 2s to make it watchable | ||
// this also gives sites time to setup their handlers | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 2000), | ||
testUrl, | ||
videoPath: process.env.QAW_VIDEO_PATH | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
8305
110
18