@wdio/browserstack-service 9.40.0 → 9.41.0

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.
@@ -1,6 +1,6 @@
1
1
  import fs from 'node:fs';
2
2
  import type { Options, Capabilities } from '@wdio/types';
3
- import type { BrowserstackConfig, BrowserstackOptions, TestObservabilityOptions } from '../types.js';
3
+ import type { BrowserstackConfig, BrowserstackOptions, TestManagementOptions, TestObservabilityOptions } from '../types.js';
4
4
  export declare class CLIUtils {
5
5
  static automationFrameworkDetail: {};
6
6
  static testFrameworkDetail: {};
@@ -13,6 +13,11 @@ export declare class CLIUtils {
13
13
  * @throws {Error}
14
14
  */
15
15
  static getBinConfig(config: Options.Testrunner, capabilities: Capabilities.RequestedStandaloneCapabilities | Capabilities.RequestedStandaloneCapabilities[], options: BrowserstackConfig & BrowserstackOptions, buildTag?: string): string;
16
+ /**
17
+ * testManagementOptions forwarded to the binary as configured, with testPlanId trimmed and
18
+ * dropped when blank; undefined when nothing is left to send.
19
+ */
20
+ static getTestManagementOptions(testManagementOptions?: TestManagementOptions): TestManagementOptions | undefined;
16
21
  static getSdkVersion(): string;
17
22
  static getSdkLanguage(): string;
18
23
  static setupCliPath(config: Options.Testrunner): Promise<string | null>;