@wdio/spec-reporter
Advanced tools
Comparing version 9.2.2 to 9.2.8
// src/index.ts | ||
import path from "node:path"; | ||
import { format } from "node:util"; | ||
import prettyMs from "pretty-ms"; | ||
import { format } from "node:util"; | ||
import { Chalk } from "chalk"; | ||
@@ -470,3 +471,3 @@ import WDIOReporter, { TestStats } from "@wdio/reporter"; | ||
const app = (caps["appium:app"] || caps.app || "").replace("sauce-storage:", ""); | ||
const appName = app || caps["appium:bundleId"] || caps["appium:appPackage"]; | ||
const appName = caps["appium:bundleId"] || caps["appium:appPackage"] || caps["appium:appActivity"] || (path.isAbsolute(app) ? path.basename(app) : app); | ||
const browser = caps.browserName || caps.browser || appName; | ||
@@ -473,0 +474,0 @@ const version = caps.browserVersion || caps.version || caps["appium:platformVersion"] || caps.browser_version; |
{ | ||
"name": "@wdio/spec-reporter", | ||
"version": "9.2.2", | ||
"version": "9.2.8", | ||
"description": "A WebdriverIO plugin to report in spec style", | ||
@@ -43,3 +43,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "a82feee9b819e978b0d75dc899dd8284303935e1" | ||
"gitHead": "f02604aee33fb785a1737db3c9092bacfc99a1f3" | ||
} |
Sorry, the diff of this file is not supported yet
35433
712