Moving the hide balance switch next to the balance, and some slight text style adjustments
Details
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- cashtab-header-styles
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31191 Build 61882: Build Diff cashtab-tests Build 61881: arc lint + arc unit
Event Timeline
Tail of the build log:
1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. > ecash-lib@0.2.1 build > tsc && tsc -p ./tsconfig.build.json && cp -r ./src/ffi ./dist Installing ecash-agora dependencies... /work/modules/ecash-agora /work/modules/ecash-lib /work/modules/ecash-lib-wasm /work/modules/ecash-script /work/modules/chronik-client /work/modules/mock-chronik-client /work/modules/ecashaddrjs /work/abc-ci-builds/cashtab-tests added 364 packages, and audited 367 packages in 1s 60 packages are looking for funding run `npm fund` for details 1 moderate severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. > ecash-agora@0.1.1 build > tsc && tsc -p ./tsconfig.build.json /work/cashtab /work/modules/ecash-agora /work/modules/ecash-lib /work/modules/ecash-lib-wasm /work/modules/ecash-script /work/modules/chronik-client /work/modules/mock-chronik-client /work/modules/ecashaddrjs /work/abc-ci-builds/cashtab-tests added 1483 packages, and audited 3329 packages in 24s 323 packages are looking for funding run `npm fund` for details 3 vulnerabilities (2 moderate, 1 high) To address all issues, run: npm audit fix Run `npm audit` for details. > cashtab@2.53.7 build > node scripts/build.js Creating an optimized production build... Treating warnings as errors because process.env.CI = true. Most CI servers set it automatically. Failed to compile. [eslint] src/components/App/App.js Line 5:27: 'useEffect' is defined but never used @typescript-eslint/no-unused-vars Line 85:8: 'debounce' is defined but never used @typescript-eslint/no-unused-vars Build cashtab-tests failed with exit code 1
Failed tests logs:
====== CashTab Unit Tests: <Home /> Renders the loading component while loading, then the Home screen ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-eerKOB jtQHHe" data-testid="tx-history" > <div class="sc-kGXeez dgJWRP" > <div class="sc-kpOJdX jTrDqc" > <div class="sc-dxgOiQ ePtNdN" type="Received" > <div class="sc-ckVGcZ kdsepy" > <svg title="tx-received" /> <div class="sc-eNQAEJ hezDIi" > <div class="sc-kEYyzF fVmxRF" > <div class="sc-hMqMXs eMcfen" > Received from <a class="sc-gipzik ORDkV" href="https://explorer.e.cash/address/ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" rel="noreferrer" target="_blank" > qp8...gg6 </a> </div> <div class="sc-kAzzGY gDpRAi" title="Loading" > <div /> <div /> <div /> <div /> </div> </div> <div class="sc-kkGfuU iPbNUV" > Nov 18, 2024, 16:32:57 </div> </div> </div> <div class="sc-iAyFg... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Home/__tests__/Home.test.js:79:29) ====== CashTab Unit Tests: <Nfts /> If we switch wallets, listings that were previously organized as "My Listing" are instead organized as for sale ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> <div class="sc-hlILIN fDnirL" > Listed NFTs <svg title="NFT" /> </div> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> <option class="sc-ekkqgF kyjpMr" value="NFT Trading [BURNED]" > NFT Trading [BURNED] </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-fjhmcy iTeEZw" > <div class="sc-jXQZqI fTYxSQ" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" id="Toggle NFTs" name="Toggle NFTs" title="Toggle NFTs" type="checkbox" /> <label class="sc-gJWqzi cInajG" for="Toggle NFTs" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-fYxtnH YMNhn" > Toggle Buy / Manage Listings </div> </div> <div class="sc-hwcHae gUleLx" > Manage Your NFT Listings </div> <p> You have no listed NFTs </p> </div> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM bHtyXj" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Nfts/__tests__/index.test.js:251:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: 42.00 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qreq3mm4avxaw782g4qvhktx4qcv0w2tkqj3j5jaad" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx hLdphR" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Agora Partial Beta" > Agora Partial Beta </option> <option class="sc-ekkqgF kyjpMr" value="Agora Partial Alpha" > Agora Partial Alpha </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 42.00 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.00 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-bbkauy YftjG" title="Active Offers" > <div class="sc-jXQZqI fTYxSQ" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" id="Toggle Active Offers" name="Toggle Active Offers" title="Toggle Active Offers" type="checkbox" /> <label class="sc-gJWqzi cInajG" for="Toggle Active Offers" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-fYxtnH YMNhn" > Toggle Buy / Manage Listings </div> </div> <div class="sc-fihHvN ewTQgN" > Token Offers </div> <div class="sc-ghsgMZ jKeQmD" > <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Bull" class="sc-kQsIoO bhehty" size="64" title="01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" rel="noopener noreferrer" target="_blank" > Bull (BULL) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-fHxwqH hHcxul" /> <div class="sc-iybRtq gozSOo" > $1.50 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" class="sc-cMhqgX jahvmL" max="888" min="8" name="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" step="1" type="range" value="8" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> 8 BULL </div> <div> 400.42k XEC </div> <h3> $12.01 USD </h3> <button class="sc-TOsTZ sc-cJSrbW hwIugW" > Buy Bull (BULL) </button> </div> </div> </div> <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Cachet" class="sc-kQsIoO iTnMbX" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" rel="noopener noreferrer" target="_blank" > Cachet (CACHET) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA dKfmCa" /> <div class="sc-fHxwqH cDfsYq" /> <div class="sc-iybRtq gozSOo" > $0.036 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA hXlIBz" /> <div class="sc-iybRtq gozSOo" > $0.30 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-iybRtq gozSOo" > $0.36 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-cMhqgX jahvmL" max="20000" min="20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="1" type="range" value="20" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> .20 CACHET </div> <div> 240.64 XEC </div> <h3> $0.0072 USD </h3> <button class="sc-TOsTZ sc-cJSrbW hwIugW" > Buy Cachet (CACHET) </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:517:29) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:82:29) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Invalid bip21 string is ignored. ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:150:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe bzGKdP" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC kgpAjL" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 0 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:213:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe bzGKdP" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC kgpAjL" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 0 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:276:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:454:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm?amount=17&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="17" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD jcUXRO" disabled="" height="62" name="opReturnRaw" placeholder="(Advanced) Enter raw hex to be included with this transaction's OP_RETURN" > 04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177 </textarea> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> <div class="sc-iQNlJl jbrGCA" > <span class="sc-epnACN XBdqO" > 80 </span> / 444 </div> </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed op_return_raw </div> <div class="sc-bmyXtO kPGhWv" > <b> Cashtab Msg </b> <br /> cashtab message with op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 17 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:521:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo blzzuH" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm?amount=17&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" > The op_return_raw param may not appear more than once </div> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="17" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 17 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:630:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount, op_return_raw, and additional output with amount is parsed as expected ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qr6lws9uwmjkkaau4w956lugs9nlg9hudqs26lyxkv?amount=110&op_return_raw=0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1&addr=ecash:qp4dxtmjlkc6upn29hh9pr2u8rlznwxeqqy0qkrjp5&amount=5.5" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-hEsumM jroiRq" > <b> BIP21: Sending 115.50 XEC to 2 outputs </b> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD jcUXRO" disabled="" height="62" name="opReturnRaw" placeholder="(Advanced) Enter raw hex to be included with this transaction's OP_RETURN" > 0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1 </textarea> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> <div class="sc-iQNlJl jbrGCA" > <span class="sc-epnACN XBdqO" > 76 </span> / 444 </div> </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed op_return_raw </div> <div class="sc-bmyXtO kPGhWv" > <b> Unknown Protocol </b> <br /> 0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1 </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed BIP21 outputs </div> <div class="sc-bmyXtO kPGhWv" > <ol> <li title="ecash:qr6lws9uwmjkkaau4w956lugs9nlg9hudqs26lyxkv" > qr6lws...6lyxkv, 110.00 XEC </li> <li title="ecash:qp4dxtmjlkc6upn29hh9pr2u8rlznwxeqqy0qkrjp5" > qp4dxt...qkrjp5, 5.50 XEC </li> </ol> </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 115.50 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:767:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <CreateToken /> If wallet has insufficient XEC, renders component but does not render CreateTokenForm ====== Error: Unable to find an element with the text: 0.00 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 0.00 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.00 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <p class="sc-bbmXgH gIXwOT" > You need at least 5.46 spendable XEC ($0.0002 USD) to create a token </p> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Etokens/__tests__/CreateToken.test.js:100:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <CashtabTestWrapper /> With default props, renders App component ====== Error: Unable to find an element with the text: 9,513.12 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-eerKOB jtQHHe" data-testid="tx-history" > <div class="sc-kGXeez dgJWRP" > <div class="sc-kpOJdX jTrDqc" > <div class="sc-dxgOiQ ePtNdN" type="Received" > <div class="sc-ckVGcZ kdsepy" > <svg title="tx-received" /> <div class="sc-eNQAEJ hezDIi" > <div class="sc-kEYyzF fVmxRF" > <div class="sc-hMqMXs eMcfen" > Received from <a class="sc-gipzik ORDkV" href="https://explorer.e.cash/address/ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" rel="noreferrer" target="_blank" > qp8...gg6 </a> </div> <div class="sc-kAzzGY gDpRAi" title="Loading" > <div /> <div /> <div /> <div /> </div> </div> <div class="sc-kkGfuU iPbNUV" > Nov 18, 2024, 16:33:11 </div> </div> </div> <div class="sc-iAyFg... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/App/fixtures/__tests__/CashtabTestWrapper.test.js:93:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7)
Each failure log is accessible here:
CashTab Unit Tests: <Home /> Renders the loading component while loading, then the Home screen
CashTab Unit Tests: <Nfts /> If we switch wallets, listings that were previously organized as "My Listing" are instead organized as for sale
CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid.
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Invalid bip21 string is ignored.
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount, op_return_raw, and additional output with amount is parsed as expected
CashTab Unit Tests: <CreateToken /> If wallet has insufficient XEC, renders component but does not render CreateTokenForm
CashTab Unit Tests: <CashtabTestWrapper /> With default props, renders App component
Failed tests logs:
====== CashTab Unit Tests: <Home /> Renders the loading component while loading, then the Home screen ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-eerKOB jtQHHe" data-testid="tx-history" > <div class="sc-kGXeez dgJWRP" > <div class="sc-kpOJdX jTrDqc" > <div class="sc-dxgOiQ ePtNdN" type="Received" > <div class="sc-ckVGcZ kdsepy" > <svg title="tx-received" /> <div class="sc-eNQAEJ hezDIi" > <div class="sc-kEYyzF fVmxRF" > <div class="sc-hMqMXs eMcfen" > Received from <a class="sc-gipzik ORDkV" href="https://explorer.e.cash/address/ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" rel="noreferrer" target="_blank" > qp8...gg6 </a> </div> <div class="sc-kAzzGY gDpRAi" title="Loading" > <div /> <div /> <div /> <div /> </div> </div> <div class="sc-kkGfuU iPbNUV" > Nov 18, 2024, 17:32:21 </div> </div> </div> <div class="sc-iAyFg... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Home/__tests__/Home.test.js:79:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Nfts /> If we switch wallets, listings that were previously organized as "My Listing" are instead organized as for sale ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> <div class="sc-hlILIN fDnirL" > Listed NFTs <svg title="NFT" /> </div> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> <option class="sc-ekkqgF kyjpMr" value="NFT Trading [BURNED]" > NFT Trading [BURNED] </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-fjhmcy iTeEZw" > <div class="sc-jXQZqI fTYxSQ" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" id="Toggle NFTs" name="Toggle NFTs" title="Toggle NFTs" type="checkbox" /> <label class="sc-gJWqzi cInajG" for="Toggle NFTs" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-fYxtnH YMNhn" > Toggle Buy / Manage Listings </div> </div> <div class="sc-hwcHae gUleLx" > Manage Your NFT Listings </div> <p> You have no listed NFTs </p> </div> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM bHtyXj" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Nfts/__tests__/index.test.js:251:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: /42\.00.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qreq3mm4avxaw782g4qvhktx4qcv0w2tkqj3j5jaad" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx hLdphR" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Agora Partial Beta" > Agora Partial Beta </option> <option class="sc-ekkqgF kyjpMr" value="Agora Partial Alpha" > Agora Partial Alpha </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 42.00 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.00 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-bbkauy YftjG" title="Active Offers" > <div class="sc-jXQZqI fTYxSQ" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" id="Toggle Active Offers" name="Toggle Active Offers" title="Toggle Active Offers" type="checkbox" /> <label class="sc-gJWqzi cInajG" for="Toggle Active Offers" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-fYxtnH YMNhn" > Toggle Buy / Manage Listings </div> </div> <div class="sc-fihHvN ewTQgN" > Token Offers </div> <div class="sc-ghsgMZ jKeQmD" > <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Bull" class="sc-kQsIoO bhehty" size="64" title="01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" rel="noopener noreferrer" target="_blank" > Bull (BULL) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-fHxwqH hHcxul" /> <div class="sc-iybRtq gozSOo" > $1.50 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" class="sc-cMhqgX jahvmL" max="888" min="8" name="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" step="1" type="range" value="8" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> 8 BULL </div> <div> 400.42k XEC </div> <h3> $12.01 USD </h3> <button class="sc-TOsTZ sc-cJSrbW hwIugW" > Buy Bull (BULL) </button> </div> </div> </div> <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Cachet" class="sc-kQsIoO iTnMbX" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" rel="noopener noreferrer" target="_blank" > Cachet (CACHET) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA dKfmCa" /> <div class="sc-fHxwqH cDfsYq" /> <div class="sc-iybRtq gozSOo" > $0.036 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA hXlIBz" /> <div class="sc-iybRtq gozSOo" > $0.30 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-iybRtq gozSOo" > $0.36 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-cMhqgX jahvmL" max="20000" min="20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="1" type="range" value="20" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> .20 CACHET </div> <div> 240.64 XEC </div> <h3> $0.0072 USD </h3> <button class="sc-TOsTZ sc-cJSrbW hwIugW" > Buy Cachet (CACHET) </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:517:29) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:82:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Invalid bip21 string is ignored. ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:150:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe bzGKdP" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC kgpAjL" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 0 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:213:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe bzGKdP" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC kgpAjL" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 0 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:276:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 500 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.02 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:454:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm?amount=17&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="17" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD jcUXRO" disabled="" height="62" name="opReturnRaw" placeholder="(Advanced) Enter raw hex to be included with this transaction's OP_RETURN" > 04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177 </textarea> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> <div class="sc-iQNlJl jbrGCA" > <span class="sc-epnACN XBdqO" > 80 </span> / 444 </div> </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed op_return_raw </div> <div class="sc-bmyXtO kPGhWv" > <b> Cashtab Msg </b> <br /> cashtab message with op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 17 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:521:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo blzzuH" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qp33mh3a7qq7p8yulhnvwty2uq5ynukqcvuxmvzfhm?amount=17&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177&op_return_raw=04007461622263617368746162206d6573736167652077697468206f705f72657475726e5f726177" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" > The op_return_raw param may not appear more than once </div> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="17" /> <select class="sc-iQKALj sc-bwCtUz hhuzud" data-testid="currency-select-dropdown" disabled="" > <option class="sc-eTuwsz izJKHE" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-eTuwsz izJKHE" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-eXEjpC jufXqD" disabled="" > max </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 17 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW fyZxHB" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:630:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount, op_return_raw, and additional output with amount is parsed as expected ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-dliRfk bNIiGU" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB kqomhz" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Multisend" name="Toggle Multisend" title="Toggle Multisend" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Multisend" > <span class="sc-rBLzX bCvGgI" data-off="Send to one" data-on="Send to many" /> <span class="sc-bMvGRv dJEAdg" /> </label> </div> </div> </div> <div class="sc-LKuAh efvGng" > <div class="sc-jtggT buLuLa" > <div class="sc-jKVCRD jOzhVW" > <div class="sc-kaNhvL hvZLBd" > <div class="sc-iyvyFf hYTCIH" > <div class="sc-hwwEjo hDjwVJ" > <input class="sc-kPVwWT sc-kIPQKe kyttic" disabled="" name="address" placeholder="Address" value="ecash:qr6lws9uwmjkkaau4w956lugs9nlg9hudqs26lyxkv?amount=110&op_return_raw=0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1&addr=ecash:qp4dxtmjlkc6upn29hh9pr2u8rlznwxeqqy0qkrjp5&amount=5.5" /> <button class="sc-gxMtzJ hblPlm" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-gwVKww cJiJRu" /> </div> <div class="sc-qrIAp jhPQOr" > <a class="sc-jqCOkK ldxBhY" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-hEsumM jroiRq" > <b> BIP21: Sending 115.50 XEC to 2 outputs </b> </div> </div> </div> <div class="sc-ebFjAB jLohDd" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD JqvMh" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> </div> </div> </div> </div> <div class="sc-VJcYb cWHQqS" > <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" title="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle Cashtab Msg" > <span class="sc-rBLzX bCvGgI" data-off="✉️" data-on="✉️" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > Cashtab Msg </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-hmXxxW gAdrML" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" title="Toggle op_return_raw" type="checkbox" /> <label class="sc-gJWqzi QbWG" disabled="" for="Toggle op_return_raw" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-cqCuEk SckOi" > op_return_raw </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-iyvyFf hYTCIH" > <textarea class="sc-esjQYD jcUXRO" disabled="" height="62" name="opReturnRaw" placeholder="(Advanced) Enter raw hex to be included with this transaction's OP_RETURN" > 0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1 </textarea> <div class="sc-bsbRJL jtocAp" > <div class="sc-hZSUBg frUEvy" /> <div class="sc-iQNlJl jbrGCA" > <span class="sc-epnACN XBdqO" > 76 </span> / 444 </div> </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed op_return_raw </div> <div class="sc-bmyXtO kPGhWv" > <b> Unknown Protocol </b> <br /> 0470617977202562dd05deda1c101b10562527bcd6bec20268fb94eed01843ba049cd774bec1 </div> </div> </div> <div class="sc-ipXKqB FyGUD" > <div class="sc-ipZHIp kTtIhN" > <div class="sc-iGrrsa blUyII" > Parsed BIP21 outputs </div> <div class="sc-bmyXtO kPGhWv" > <ol> <li title="ecash:qr6lws9uwmjkkaau4w956lugs9nlg9hudqs26lyxkv" > qr6lws...6lyxkv, 110.00 XEC </li> <li title="ecash:qp4dxtmjlkc6upn29hh9pr2u8rlznwxeqqy0qkrjp5" > qp4dxt...qkrjp5, 5.50 XEC </li> </ol> </div> </div> </div> </div> <div class="sc-iqzUVk fSSCVh" > <div class="sc-dEoRIm cyXoiE" > 115.50 XEC </div> <div class="sc-gGBfsJ kwjkAk" > = $ 0.00 USD </div> </div> <button class="sc-TOsTZ sc-cJSrbW hwIugW" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ fLWbkX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:767:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <CreateToken /> If wallet has insufficient XEC, renders component but does not render CreateTokenForm ====== Error: Unable to find an element with the text: /0\.00.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 0.00 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.00 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <p class="sc-bbmXgH gIXwOT" > You need at least 5.46 spendable XEC ($0.0002 USD) to create a token </p> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Etokens/__tests__/CreateToken.test.js:100:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <CashtabTestWrapper /> With default props, renders App component ====== Error: Unable to find an element with the text: /9,513\.12.*XEC/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqa9lv3kjd8vq7952p7rq0f6lkpqvlu0cydvxtd70g" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx iapvgF" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Transaction Fixtures" > Transaction Fixtures </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 9,513.12 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.29 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-eerKOB jtQHHe" data-testid="tx-history" > <div class="sc-kGXeez dgJWRP" > <div class="sc-kpOJdX jTrDqc" > <div class="sc-dxgOiQ ePtNdN" type="Received" > <div class="sc-ckVGcZ kdsepy" > <svg title="tx-received" /> <div class="sc-eNQAEJ hezDIi" > <div class="sc-kEYyzF fVmxRF" > <div class="sc-hMqMXs eMcfen" > Received from <a class="sc-gipzik ORDkV" href="https://explorer.e.cash/address/ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" rel="noreferrer" target="_blank" > qp8...gg6 </a> </div> <div class="sc-kAzzGY gDpRAi" title="Loading" > <div /> <div /> <div /> <div /> </div> </div> <div class="sc-kkGfuU iPbNUV" > Nov 18, 2024, 17:32:35 </div> </div> </div> <div class="sc-iAyFg... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/App/fixtures/__tests__/CashtabTestWrapper.test.js:93:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7)
Each failure log is accessible here:
CashTab Unit Tests: <Home /> Renders the loading component while loading, then the Home screen
CashTab Unit Tests: <Nfts /> If we switch wallets, listings that were previously organized as "My Listing" are instead organized as for sale
CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid.
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. Invalid bip21 string is ignored.
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and value present as undefined
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address field is populated + disabled while value field is empty + enabled if legacy url params have address defined and no value key present
CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params are not parsed as bip21 even if the bip21 param appears in the string
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount and op_return_raw is parsed as expected
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed
CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - valid bip21 param with amount, op_return_raw, and additional output with amount is parsed as expected
CashTab Unit Tests: <CreateToken /> If wallet has insufficient XEC, renders component but does not render CreateTokenForm
CashTab Unit Tests: <CashtabTestWrapper /> With default props, renders App component
Failed tests logs:
====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: 4,200.00 XEC. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <div> <div class="sc-cCbXAZ cGlszB" > <div class="Toastify" /> <div class="sc-fHSTwm iKKFtc" > <div class="sc-hdPSEv drRDyR" > <div class="sc-eNPDpu ijCHSz" > <div class="sc-cmIlrE hsAVQW" > <img alt="cashtab" class="sc-hARARD hpKuIn" src="test-file-stub" /> </div> <div class="sc-jWojfa fmgnyU" > <div class="sc-keFjpB kyUTvh" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-kvZOFW liNaUH" > <svg title="copy-paste" /> </button> </div> <select class="sc-kVrTmx cLzMjy" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-ekkqgF kyjpMr" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-ekkqgF kyjpMr" value="Agora Partial Beta" > Agora Partial Beta </option> </select> </div> </div> <div class="sc-jQMNup jtAjfG" title="Wallet Info" > <div class="sc-fKGOjr bGDxvQ" > <div class="sc-jvEmr hmYceB" > <div class="sc-hycgNl jFPWZc" title="Balance in XEC" > 4,200.00 <span> XEC </span> </div> <div class="sc-iBmynh kGWvyM" title="Hide Balance" > <img src="test-file-stub" /> </div> </div> <div class="sc-chAAoq kixqGL" title="Balance in Local Currency" > $ 0.13 USD </div> <div class="sc-dTLGrV jxaLyb" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </div> </div> </div> <div class="sc-hizQCF cyQrXM" > <div class="sc-bbkauy YftjG" title="Active Offers" > <div class="sc-jXQZqI fTYxSQ" > <div class="sc-fhYwyz fpwrfn" > <div class="sc-jzgbtB eYtruI" > <input class="sc-CtfFt eXIHPX" id="Toggle Active Offers" name="Toggle Active Offers" title="Toggle Active Offers" type="checkbox" /> <label class="sc-gJWqzi cInajG" for="Toggle Active Offers" > <span class="sc-rBLzX bCvGgI" data-off="" data-on="" /> <span class="sc-bMvGRv iYoHpT" /> </label> </div> </div> <div class="sc-fYxtnH YMNhn" > Toggle Buy / Manage Listings </div> </div> <div class="sc-fihHvN ewTQgN" > Token Offers </div> <div class="sc-ghsgMZ jKeQmD" > <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Bull" class="sc-kQsIoO bhehty" size="64" title="01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" rel="noopener noreferrer" target="_blank" > Bull (BULL) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-fHxwqH hHcxul" /> <div class="sc-iybRtq gozSOo" > $1.50 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" class="sc-cMhqgX jahvmL" max="888" min="8" name="Select buy qty 01d63c4f4cb496829a6743f7b1805d086ea3877a1dd34b3f92ffba2c9c99f896" step="1" type="range" value="8" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> 8 BULL </div> <div> 400.42k XEC </div> <h3> $12.01 USD </h3> <button class="sc-TOsTZ sc-hmzhuo kfdflF" > Cancel your offer </button> </div> </div> </div> <div class="sc-gVyKpa iOdXtT" > <div class="sc-eXNvrr gcgqgI" > <button aria-label="View larger icon for Cachet" class="sc-kQsIoO iTnMbX" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-cpmKsF fQFocw" > <a href="https://explorer.e.cash/tx/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" rel="noopener noreferrer" target="_blank" > Cachet (CACHET) </a> </div> </div> <div class="sc-gPzReC hUnyLI" > <div class="sc-jrIrqw ffjVqA" > <button class="sc-hjRWVT fgMQYo" > <div class="sc-iQtOjA dKfmCa" /> <div class="sc-fHxwqH cDfsYq" /> <div class="sc-iybRtq gozSOo" > $0.036 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA hXlIBz" /> <div class="sc-iybRtq gozSOo" > $0.30 USD </div> </button> <button class="sc-hjRWVT bNPGdN" > <div class="sc-iQtOjA gzhgYe" /> <div class="sc-iybRtq gozSOo" > $0.36 USD </div> </button> </div> <div class="sc-cEvuZC fdCPy" > <span> Buy </span> <div class="sc-iyvyFf hYTCIH" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-cMhqgX jahvmL" max="20000" min="20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="1" type="range" value="20" /> <div class="sc-gwVKww cJiJRu" /> </div> </div> <div class="sc-kXeGPI JdAin" > <div> .20 CACHET </div> <div> 240.64 XEC </div> <h3> $0.0072 USD </h3> <button class="sc-TOsTZ sc-hmzhuo kfdflF" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-gleUXh eoTdaQ" > <button class="sc-cgHJcJ eoCrvX" > <svg /> </button> <button aria-label="Send Screen" class="sc-cgHJcJ eoCrvX" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-cgHJcJ eoCrvX" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-cgHJcJ eoCrvX" > <svg title="tx-received" /> </button> <div class="sc-doWzTn bSfCqh" title="Show Other Screens" > <span class="sc-dBaXSw fySXpl" /> <div class="sc-bNQFlB fCnMgs" title="Other Screens" > <button class="sc-dRCTWM ijJeJt" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-dRCTWM ijJeJt" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:587:29)
Each failure log is accessible here:
CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer
I think the nav headers make the header too tall in this diff, e.g.
move wallet select to top right and logo left
maybe -- though I think we arguably do not need the logo at all. This move creates a good deal of unused space in the center of the header.
Make the hide balance button more subtle and next to balance
imo moving the balance button next to to the balance is good.
Remove the sticky header stuff and replace with more simple sticky header of the top bar
I can get losing the header but I don't think the wallet select is more regularly-used than the ability to see the balance. So, if we are getting rid of the one, might as well lose the whole sticky header. I think it's kinda cool though, at least it is more net + than -.
Thats said your reasons against the header are good. But imo they are reasons for losing the header altogether, not preserving the less useful part of it.
I think the biggest issue with Cashtab UI now is we have added so many more screens vs what the UI was originally designed to handle. The expanding menu has a bunch of options. It's not immediately clear what they are or why they should be used. We have the weird "header title bar" that appears at the top for pages that cannot be highlighted on the bottom menu.
Best way to tackle this is, I think,
- expanding menu should "dock in and dock out" on desktop. Probably always be visible. It's more useful than just the background tiling.
- lose the nav headers for all screens
- Identify screens we can remove (i.e. NFTs should probably be included in Agora)
I think generally improving the aesthetics of the app is more important than optimizing the header.
- Stop rendering mobile app shape on desktop
- lose the logo header
- new background
- mb new logo
As for this diff -- I think scope should be limited to moving the show/hide balance button next to the balance
This does look better but for whatever reason it seems to really slow down the behavior of the app. Scrolling locks up. I can see why the dynamic behavior of the header seemed like a major issue while doing this redesign.
can compare scrolling and header behavior at cashtab.com vs this diff at https://cashtab-local-dev.netlify.app/
Given the performance delta (and me still wanting to keep the dynamic header), I think best to just pass on this for now. We can come back to the header after we fix the menu, background, color theme, logo ... many other aesthetic improvements to zero in on.
Having typescript on these components would also make this kind of change easier to accomplish without these performance impacts.
I think abandon this and come back to header optimization later on.
Tail of the build log:
#1 [internal] load build definition from Dockerfile #1 sha256:e95c2e1cf4fc31bd2be61b3509b7fc7cbfda3a325029534192fa1b5e7e56f125 #1 transferring dockerfile: 2B done #1 DONE 0.1s #2 [internal] load .dockerignore #2 sha256:6fa38bb0449e16b6d85550d2a6d2c571b5e68506abed0900cae0f75f86acaafc #2 transferring context: 53B done #2 DONE 0.1s failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount891035300/Dockerfile: no such file or directory Build preview-cashtab failed with exit code 1