@salesforce/salesforcedx-vscode-test-tools
Version:
Test automation framework for Salesforce Extensions for VS Code
19 lines (18 loc) • 795 B
TypeScript
import { WebElement } from 'vscode-extension-tester';
import { Duration } from '../core/miscellaneous';
/**
* Opens the Org Browser in the sidebar and refreshes metadata types
* @param wait - Duration to wait after opening the browser
*/
export declare function openOrgBrowser(wait?: Duration): Promise<void>;
/**
* Verifies that the Org Browser is open in the sidebar
* @throws Assertion error if the Org Browser is not open with the expected title
*/
export declare function verifyOrgBrowserIsOpen(): Promise<void>;
/**
* Finds a metadata type in the Org Browser
* @param type - The name of the metadata type to find
* @returns The WebElement of the found type or undefined if not found
*/
export declare function findTypeInOrgBrowser(type: string): Promise<WebElement | undefined>;