aboutsummaryrefslogtreecommitdiffstats
path: root/tools/padlock-flow-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/padlock-flow-test.js')
-rw-r--r--tools/padlock-flow-test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/padlock-flow-test.js b/tools/padlock-flow-test.js
index be4f5ec..e36d7ec 100644
--- a/tools/padlock-flow-test.js
+++ b/tools/padlock-flow-test.js
@@ -31,7 +31,7 @@ try {
await sleep(400);
await click('button', 'Create a new wallet');
await sleep(500);
- await click('button', 'Import existing');
+ await click('button', 'Have an existing seed');
await sleep(400);
await page.waitForSelector('textarea');
await page.type('textarea', generateMnemonic(wordlist));
@@ -96,7 +96,7 @@ try {
const body2 = () => p2.evaluate(() => document.body.innerText);
const waitText2 = async (x, ms = 20000) => { for (let i = 0; i < ms / 250; i++) { if ((await body2()).toLowerCase().includes(x.toLowerCase())) return true; await sleep(250); } return false; };
const importWallet = async () => {
- await click2('Import existing');
+ await click2('Have an existing seed');
await sleep(400);
await p2.waitForSelector('textarea');
await p2.type('textarea', generateMnemonic(wordlist));