From: Chris Duncan Date: Wed, 9 Jul 2025 20:32:08 +0000 (-0700) Subject: Disable ledger activation button between test commands. X-Git-Tag: v0.10.5~75 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=063888206028ac709e4527b5c23a8bd763bd604d;p=libnemo.git Disable ledger activation button between test commands. --- diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index 1af784a..d41178b 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -30,6 +30,7 @@ export async function click (text, fn) { const hourglass = document.createTextNode('⏳') button.innerText = text button.addEventListener('click', async () => { + button.disabled = true button.innerText = 'Waiting for device...' button.after(hourglass) try {