aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-30 19:08:55 +0000
committerAdam Soltys <[email protected]>2026-09-30 19:08:55 +0000
commit0879e4f55dcee9bb7af86b1e4e2a62ee9d6ef3b6 (patch)
treefcd903459d0bac379dad0ecdd986865192a3d69e /tools
parentc5030c0b56463974fdac5b963c5a1c217b30ba5c (diff)
downloadcoinosv3-0879e4f55dcee9bb7af86b1e4e2a62ee9d6ef3b6.tar.gz
coinosv3-0879e4f55dcee9bb7af86b1e4e2a62ee9d6ef3b6.zip
"Sign into another account" opens on Create new, not the seed import box.
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WMMwWYJkPQxLgfMsY7hWcU
Diffstat (limited to 'tools')
-rw-r--r--tools/account-access-test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/account-access-test.js b/tools/account-access-test.js
index ad6ce3f..d2685de 100644
--- a/tools/account-access-test.js
+++ b/tools/account-access-test.js
@@ -36,6 +36,8 @@ try {
check('avatar opens Accounts with sign-in and logout', await page.evaluate(() => ['Accounts', 'Sign into another account', 'Log out'].every((s) => document.body.innerText.includes(s))));
const saved = await page.evaluate(() => localStorage.getItem('btc-wallet-watch'));
await click('Sign into another account');
+ check('sign-in opens on Create new, not the seed import box', await page.evaluate(() =>
+ document.querySelector('.tabs .active')?.textContent.includes('Create new') && !document.querySelector('.card textarea')));
// Expand the Nostr login card without supplying a private key.
await click('Sign in with Nostr');
await page.waitForSelector('input[placeholder="nsec, private key, or bunker://…"]');