UNPKG

@coinbase/onchaintestkit

Version:

End-to-end testing toolkit for blockchain applications, powered by Playwright

14 lines (13 loc) 468 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.spendingCapRemoval = void 0; const confirmRemoval = async (notificationPage) => { await notificationPage.getByRole("button", { name: "Confirm" }).click(); }; const rejectRemoval = async (notificationPage) => { await notificationPage.getByRole("button", { name: "Cancel" }).click(); }; exports.spendingCapRemoval = { confirm: confirmRemoval, reject: rejectRemoval, };