UNPKG

@assert-equals/dappdriver

Version:

DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion

38 lines (37 loc) 922 B
import { IConfirmation } from '../../interface/wallet/confirmation'; import { PageObject } from '../../page'; /** * * * @export * @class ConfirmTransaction * @extends {PageObject} * @implements {IConfirmation} */ export declare class ConfirmTransaction extends PageObject implements IConfirmation { private confirmButton; private cancelButton; /** * Creates an instance of ConfirmTransaction. * @memberof ConfirmTransaction */ constructor(); /** * * * @template TPage * @param {new () => TPage} [page] * @return {*} {Promise<any>} * @memberof ConfirmTransaction */ accept<TPage>(page?: new () => TPage): Promise<any>; /** * * * @template TPage * @param {new () => TPage} [page] * @return {*} {Promise<any>} * @memberof ConfirmTransaction */ reject<TPage>(page?: new () => TPage): Promise<any>; }