UNPKG

@coinbase/onchaintestkit

Version:

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

19 lines (18 loc) 610 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OnboardingPage = void 0; const importWallet_1 = require("./actions/importWallet"); class OnboardingPage { constructor(page) { this.page = page; } /** * Imports a wallet using a seed phrase and password * @param seedPhrase - The seed phrase to import * @param password - The password to set for the wallet */ async importWallet(seedPhrase, password) { await (0, importWallet_1.importWallet)(this.page, seedPhrase, password); } } exports.OnboardingPage = OnboardingPage;