@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
41 lines (40 loc) • 1.05 kB
TypeScript
/**
* @class errorDialog
* @memberof ui5
*/
export declare class ErrorDialog {
private vlf;
selectors: {
errorDialog: {
elementProperties: {
metadata: string;
};
ancestorProperties: {
metadata: string;
icon: string;
};
};
closeButton: {
elementProperties: {
metadata: string;
text: string;
};
};
};
/**
* @function expectToBeVisible
* @memberOf ui5.errorDialog
* @description Expects that the error dialog is visible on the page.
* @example await ui5.errorDialog.expectToBeVisible();
*/
expectToBeVisible(): Promise<void>;
/**
* @function clickClose
* @memberOf ui5.errorDialog
* @description Clicks the 'Close' button at the error dialog.
* @example await ui5.errorDialog.clickClose();
*/
clickClose(): Promise<void>;
}
declare const _default: ErrorDialog;
export default _default;