UNPKG

@assert-equals/dappdriver

Version:

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

30 lines (29 loc) 811 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Send = void 0; const html_element_1 = require("../../controls/html-element"); const confirm_transaction_1 = require("./confirm-transaction"); /** * * * @export * @class Send * @extends {ConfirmTransaction} * @implements {IConfirmation} */ class Send extends confirm_transaction_1.ConfirmTransaction { get nextButton() { return new html_element_1.HTMLElement('[data-testid="confirm-footer-button"]'); } get cancelButton() { return new html_element_1.HTMLElement('[data-testid="confirm-footer-cancel-button"]'); } /** * Creates an instance of Send. * @memberof Send */ constructor() { super('#/confirm-transaction', 'MetaMask'); } } exports.Send = Send;