@wdio/spec-reporter
Advanced tools
Comparing version 9.0.0-alpha.115 to 9.0.0-alpha.321
@@ -112,4 +112,4 @@ import type { Capabilities } from '@wdio/types'; | ||
*/ | ||
getEnviromentCombo(capability: Capabilities.RemoteCapability, verbose?: boolean, isMultiremote?: boolean): string; | ||
getEnviromentCombo(capability: Capabilities.ResolvedTestrunnerCapabilities, verbose?: boolean, isMultiremote?: boolean): string; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -196,10 +196,3 @@ import prettyMs from 'pretty-ms'; | ||
// only show if multiremote is not used | ||
capabilities && ( | ||
// check w3c cap in jsonwp caps | ||
capabilities['sauce:options'] || | ||
// check jsonwp caps | ||
capabilities.tunnelIdentifier || | ||
// check w3c caps | ||
(capabilities.alwaysMatch && | ||
capabilities.alwaysMatch['sauce:options']))); | ||
capabilities['sauce:options']); | ||
if (isSauceJob && config && config.user && config.key && sessionId) { | ||
@@ -519,7 +512,8 @@ const multiremoteNote = isMultiremote ? ` ${instanceName}` : ''; | ||
} | ||
const caps = (capability.alwaysMatch || | ||
capability); | ||
const caps = 'alwaysMatch' in capability ? capability.alwaysMatch : capability; | ||
const device = caps['appium:deviceName']; | ||
// @ts-expect-error outdated JSONWP capabilities | ||
const app = ((caps['appium:app'] || caps.app) || '').replace('sauce-storage:', ''); | ||
const appName = app || caps['appium:bundleId'] || caps.bundleId; | ||
// @ts-expect-error outdated JSONWP capabilities | ||
const browser = caps.browserName || caps.browser || appName; | ||
@@ -533,2 +527,3 @@ /** | ||
*/ | ||
// @ts-expect-error outdated JSONWP capabilities | ||
const version = caps.browserVersion || caps.version || caps['appium:platformVersion'] || caps.browser_version; | ||
@@ -541,2 +536,3 @@ /** | ||
*/ | ||
// @ts-expect-error outdated JSONWP capabilities | ||
const platform = caps.platformName || caps['appium:platformName'] || caps.platform || (caps.os ? caps.os + (caps.os_version ? ` ${caps.os_version}` : '') : '(unknown)'); | ||
@@ -543,0 +539,0 @@ // Mobile capabilities |
@@ -80,3 +80,3 @@ import type { Capabilities } from '@wdio/types'; | ||
export interface TestLink { | ||
capabilities: Capabilities.RemoteCapability; | ||
capabilities: Capabilities.ResolvedTestrunnerCapabilities; | ||
sessionId: string; | ||
@@ -83,0 +83,0 @@ isMultiremote: boolean; |
{ | ||
"name": "@wdio/spec-reporter", | ||
"version": "9.0.0-alpha.115+8196c4ccb", | ||
"version": "9.0.0-alpha.321+63953a607", | ||
"description": "A WebdriverIO plugin to report in spec style", | ||
@@ -32,4 +32,4 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"dependencies": { | ||
"@wdio/reporter": "9.0.0-alpha.115+8196c4ccb", | ||
"@wdio/types": "9.0.0-alpha.115+8196c4ccb", | ||
"@wdio/reporter": "9.0.0-alpha.321+63953a607", | ||
"@wdio/types": "9.0.0-alpha.321+63953a607", | ||
"chalk": "^5.1.2", | ||
@@ -42,3 +42,3 @@ "easy-table": "^1.2.0", | ||
}, | ||
"gitHead": "8196c4ccb4f66e217e161804ef549f18b60dccb3" | ||
"gitHead": "63953a6079023cb390a113fe5ce1c1b01b8e4bb6" | ||
} |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance 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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
42033
837