@wdio/browserstack-service 9.40.0 → 9.40.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/cleanup.js +2 -2
- package/build/index.js +51 -3
- package/build/launcher.d.ts +11 -0
- package/package.json +1 -1
package/build/launcher.d.ts
CHANGED
|
@@ -18,6 +18,17 @@ export default class BrowserstackLauncherService implements Services.ServiceInst
|
|
|
18
18
|
private _percyBestPlatformCaps?;
|
|
19
19
|
private readonly browserStackConfig;
|
|
20
20
|
constructor(_options: BrowserstackConfig & BrowserstackOptions, capabilities: Capabilities.TestrunnerCapabilities, _config: Options.Testrunner);
|
|
21
|
+
/**
|
|
22
|
+
* SDK-7075: BROWSERSTACK_PROJECT_NAME / BROWSERSTACK_BUILD_NAME take precedence over the
|
|
23
|
+
* config file, as every other SDK and the binary's own env->config map already do. They are
|
|
24
|
+
* written back into the caps so the session itself carries them: into bstack:options for W3C
|
|
25
|
+
* caps (including one this constructor just created), and into the top-level project/build
|
|
26
|
+
* keys that legacy caps name a build with - added on a BrowserStack session that has no
|
|
27
|
+
* bstack:options, otherwise only overwritten where already present. Blank values are ignored.
|
|
28
|
+
* Returns the values applied, for the Test Reporting fields - none for the caps of a
|
|
29
|
+
* non-BrowserStack session, which are left untouched so the reported names match the session.
|
|
30
|
+
*/
|
|
31
|
+
private _applyEnvBuildNames;
|
|
21
32
|
onWorkerStart(cid: string, caps: WebdriverIO.Capabilities): Promise<void>;
|
|
22
33
|
onPrepare(config: Options.Testrunner, capabilities: Capabilities.TestrunnerCapabilities | WebdriverIO.Capabilities): Promise<unknown>;
|
|
23
34
|
onComplete(): Promise<unknown>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/browserstack-service",
|
|
3
|
-
"version": "9.40.
|
|
3
|
+
"version": "9.40.1",
|
|
4
4
|
"description": "WebdriverIO service for better Browserstack integration",
|
|
5
5
|
"author": "BrowserStack <support@browserstack.com>",
|
|
6
6
|
"homepage": "https://github.com/browserstack/wdio-browserstack-service",
|