T2207
data-testid should not be used, we should access elements the way a user would interact with the app
for now we still use it in the select menus. can figure that one out and implement a one-off, or tolerate this minor remaining presence.
Differential D15942
[Cashtab] Remove data-testid from everything but Select menus bytesofman on Apr 11 2024, 05:41. Authored by Tags None Subscribers None
Details
T2207 data-testid should not be used, we should access elements the way a user would interact with the app for now we still use it in the select menus. can figure that one out and implement a one-off, or tolerate this minor remaining presence. npm test this diff is deployed at https://cashtab-local-dev.netlify.app/
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Address and value keys are set and valid. ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:115:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514: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: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:186:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514: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: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:252:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514: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: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:318:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if only value param is present ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:379:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL Legacy params. Params are ignored if param is duplicated ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:440:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514: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: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:505:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514: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: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:575:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL bip21 param - an invalid bip21 param shows validation errors but cannot be changed ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:687:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <SendXec /> rendered with params in URL No params. Send screen loads normally with no rendered input. ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendByUrlParams.test.js:757:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <CreateTokenForm /> User can create a token with a mint baton ====== Error: Unable to find an element with the text: Token created!. 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-imABML bjDfgL" > <div class="Toastify" > <div class="Toastify__toast-container Toastify__toast-container--top-right sc-hUfwpO ffGmZy" > <div class="Toastify__toast Toastify__toast-theme--light Toastify__toast--error Toastify__toast--close-on-click Toastify--animate Toastify__bounce-enter--top-right" data-in="true" id="2" > <div class="Toastify__toast-body" role="alert" > <div class="Toastify__toast-icon Toastify--animate-icon Toastify__zoom-enter" > <svg fill="var(--toastify-icon-color-error)" height="100%" viewBox="0 0 24 24" width="100%" > <path d="M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" /> </svg> </div> <div> TypeError: Cannot read properties of undefined (reading 'txid') </div> </div> <button aria-label="close" class="Toastify__close-button Toastify__close-button--light" type="button" > <svg aria-hidden="true" viewBox="0 0 14 16" > <path d="M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" fill-rule="evenodd" /> </svg> </button> <div class="Toastify__progress-bar--wrp" data-hidden="false" > <div class="Toastify__progress-bar--bg Toastify__progress-bar-theme--light Toastify__progress-bar--error" /> <div aria-hidden="false" aria-label="notification timer" class="Toastify__progress-bar Toastify__progress-bar--animated Toastify__progress-bar-theme--light Toastify__progress-bar--error" role="progressbar" style="animation-duration: 5000ms; animation-play-state: paused;" /> </div> </div> </div> </div> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <h3 class="sc-cpmLhU eXqAdW" > Create a Token </h3> <div class="sc-eLExRp bgwwyC" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="name" placeholder="Enter a name for your token" value="test token" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="ticker" placeholder="Enter a ticker for your token" value="TKE" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="decimals" placeholder="Enter number of decimal places" value="2" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="initialQty" placeholder="Enter the supply of your token" step="0.01" type="number" value="600000" /> <button class="sc-btzYZH sc-lhVmIH igbjWn" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="url" placeholder="Enter a website for your token" value="https://www.cashtab.com" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-cbkKFq fVCCdz" > <div class="sc-exAgwC drEAUM" title="Toggle Mint Baton" > <div class="sc-cQFLBn jsfNtc" > <input class="sc-lkqHmb caMISY" id="Toggle Mint Baton" name="Toggle Mint Baton" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Mint Baton" > <span class="sc-daURTG cgTIPi" data-off="Fixed" data-on="Variable" /> <span class="sc-bXGyLb fnwxeq" /> </label> </div> </div> <div class="sc-krvtoX euyuAt" > Token supply </div> </div> <form class="sc-esjQYD eYfPjN" id="form-file-upload" > <input class="sc-kfGgVZ jXdKYX" id="input-file-upload" name="Cashtab Dragger" type="file" /> <label class="sc-kIPQKe fhMXyf" for="input-file-upload" id="label-file-upload" > <div class="sc-RefOD kzCQXs" > <p class="sc-ibxdXY clQDsv" > Drag and drop a png or jpg for your token icon </p> <div class="sc-eXEjpC jrxrPg" > or click to upload </div> </div> </label> </form> <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 30px;" > Create eToken </button> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <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__/CreateTokenForm.test.js:196:29) ====== CashTab Unit Tests: <SignVerifyMsg /> Notification is rendered upon successfully verifying a message ====== Error: Unable to find an element with the placeholder text of: Enter message to verify Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> <div class="sc-cJOK kcKPi" > Sign & Verify Msg <svg class="sc-htpNat bPFBeM" /> </div> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-iomxrj giMLcr" title="Sign & Verify" > <div class="sc-dvCyap cXAUgX" > <div class="sc-exAgwC drEAUM" title="Toggle Sign Verify" > <div class="sc-cQFLBn jsfNtc" > <input checked="" class="sc-lkqHmb caMISY" id="Toggle Sign Verify" name="Toggle Sign Verify" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Sign Verify" > <span class="sc-daURTG bTGtBD" data-off="✅ Verify" data-on="✍️ Sign" /> <span class="sc-bXGyLb iIMeCD" /> </label> </div> </div> </div> <div class="sc-dvCyap cXAUgX" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="msgToSign" placeholder="Enter message to sign" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> <div class="sc-gzOgki jEvEhY" > <span class="sc-dfVpRl cYTFSG" > 0 </span> / 200 </div> </div> </div> </div> <div class="sc-dvCyap cXAUgX" > <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" > Sign </button> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB hQCwhv" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <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.findByPlaceholderText (/work/cashtab/src/components/SignVerifyMsg/__tests__/SignVerifyMsg.test.js:137:26) ====== CashTab Unit Tests: <SignVerifyMsg /> Notification is rendered upon signature verification error ====== TestingLibraryElementError: Unable to find an element with the placeholder text of: Enter message to verify Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> <div class="sc-cJOK kcKPi" > Sign & Verify Msg <svg class="sc-htpNat bPFBeM" /> </div> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-iomxrj giMLcr" title="Sign & Verify" > <div class="sc-dvCyap cXAUgX" > <div class="sc-exAgwC drEAUM" title="Toggle Sign Verify" > <div class="sc-cQFLBn jsfNtc" > <input checked="" class="sc-lkqHmb caMISY" id="Toggle Sign Verify" name="Toggle Sign Verify" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Sign Verify" > <span class="sc-daURTG bTGtBD" data-off="✅ Verify" data-on="✍️ Sign" /> <span class="sc-bXGyLb iIMeCD" /> </label> </div> </div> </div> <div class="sc-dvCyap cXAUgX" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="msgToSign" placeholder="Enter message to sign" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> <div class="sc-gzOgki jEvEhY" > <span class="sc-dfVpRl cYTFSG" > 0 </span> / 200 </div> </div> </div> </div> <div class="sc-dvCyap cXAUgX" > <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" > Sign </button> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB hQCwhv" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByPlaceholderText (/work/cashtab/src/components/SignVerifyMsg/__tests__/SignVerifyMsg.test.js:188:20) ====== CashTab Unit Tests: <Configure /> Setting "Send Confirmations" settings will show send confirmations ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Multisend. Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> <div class="sc-cJOK kcKPi" > Settings <svg title="settings" /> </div> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-fHxwqH cUqxnu" title="Settings" > <div class="sc-dxZgTM hgntLi" > <div class="sc-jKJlTe gnzKNV" > ℹ️ Backup wallet has moved <br /> <br /> Go to the <a href="/backup" > Backup Wallet </a> screen to see your seed phrase </div> <div class="sc-jKJlTe gnzKNV" > ℹ️ Contacts have moved to the <a href="/contacts" > Contacts </a> screen </div> <div class="sc-jKJlTe gnzKNV" > ℹ️ Wallets have moved to the <a href="/wallets" > Wallets </a> screen </div> </div> <div class="sc-cEvuZ... at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByTitle (/work/cashtab/src/components/Configure/__tests__/Configure.test.js:184:33) ====== CashTab Unit Tests: <Configure /> Setting "ABSOLUTE MINIMUM fees" settings will reduce fees to absolute min ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qphlhe78677sz227k83hrh542qeehh8el5lcjwk72y" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-elJkPf sc-jtRfpW fZHEnY" data-testid="currency-select-dropdown" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH fdrRQD" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 55 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.00 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Configure/__tests__/Configure.test.js:312:33) ====== CashTab Unit Tests: <CashtabTestWrapper /> With default props, renders App component ====== Error: Unable to find an element with the text: Error in chronik connection. 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-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-esOvli ipleQD" title="Tx History" > <div class="sc-hSdWYo iMQLbE" > <div class="sc-eHgmQL AexVP" > <div class="sc-cvbbAY dIAmjV" type="Received" > <div class="sc-jWBwVP fnOolC" > <svg title="tx-received" /> <div class="sc-cMljjf cjdDdM" > <div class="sc-jAaTju eNIYIZ" > Received from <a class="sc-fBuWsC cLgxJj" href="https://explorer.e.cash/address/ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" rel="noreferrer" target="_blank" > qp8...gg6 </a> </div> <div class="sc-jDwBTQ BuxYk" > Apr 11, 2024, 05:43:50 </div> </div> </div> <div class="sc-gPEVay kQcCGh"... 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:82:26) ====== CashTab Unit Tests: <Airdrop /> We can send a pro-rata airdrop and equal tx to a tokenId not in our cache using custom settings ====== Error: Unable to find an element with the placeholder text of: /If more than one XEC address/ Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> <div class="sc-cJOK kcKPi" > Airdrop <svg title="tx-airdrop" /> </div> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bmyXtO boQCBU" > <div class="sc-dEoRIm hoBTqo" > <div class="sc-gxMtzJ fJHYUt" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="tokenId" placeholder="Enter the eToken ID" value="50d8292c6255cda7afc6c8566fed3cf42a2794e9619740fe8f4c95431271410e" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-gxMtzJ fJHYUt" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="totalAirdrop" placeholder="Enter the total XEC airdrop" value="5000" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Communism" > <div class="sc-cQFLBn hqXCIg" > <input checked="" class="sc-lkqHmb caMISY" id="Toggle Communism" name="Toggle Communism" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Communism" > <span class="sc-daURTG cdvsTX" data-off="" data-on="Pro-Rata" /> <span class="sc-bXGyLb ewgUFr" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Airdrop scaled to token balance </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="ignoreOwnAddress" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="ignoreOwnAddress" name="ignoreOwnAddress" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="ignoreOwnAddress" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore my own address </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Ignore Mint Address" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Ignore Mint Address" name="Toggle Ignore Mint Address" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Ignore Mint Address" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore eToken minter address </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Minimum Token Balance" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Minimum Token Balance" name="Toggle Minimum Token Balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Minimum Token Balance" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Minimum eToken holder balance </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Ignore Custom Addresses" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Ignore Custom Addresses" name="Toggle Ignore Custom Addresses" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Ignore Custom Addresses" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore custom addresses </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <button class="sc-gqPbQI sc-bMVAic PNTzB" > Calculate Airdrop </button> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-ebFjAB ivydVU" > One to Many Airdrop Payment Outputs <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="airdropRecipients" placeholder="Please input parameters above." > ecash:qzj5zu6fgg8v2we82gh76xnrk9njcreglum9ffspnr, 150 ecash:qz2708636snqhsxu8wnlka78h6fdp77ar59jrf5035, 50 ecash:qr204yfphngxthvnukyrz45u7500tf60vyqspva5a6, 150 ecash:qrq64hyel9hulnl9vsk29xjnuuqlpwqpcv6mk9pqly, 50 ecash:qzn3gqf7vvm2qdu2rac6m6r4kgfcsyaras7jfqja3m, 200 ecash:qpmytrdsakt0axrrlswvaj069nat3p9s7cjctmjasj, 4400 </textarea> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <a class="sc-hORach sc-GMQeP fwgtCV" href="/send" type="text" > Copy to Send screen </a> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB hQCwhv" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <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.findByPlaceholderText (/work/cashtab/src/components/Airdrop/__tests__/Airdrop.test.js:159:26) ====== CashTab Unit Tests: <Airdrop /> We can ignore addresses with less than a token balance for a token with decimals ====== Error: Unable to find an element with the placeholder text of: /Minimum eToken balance/ Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> <div class="sc-cJOK kcKPi" > Airdrop <svg title="tx-airdrop" /> </div> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bmyXtO boQCBU" > <div class="sc-dEoRIm hoBTqo" > <div class="sc-gxMtzJ fJHYUt" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="tokenId" placeholder="Enter the eToken ID" value="bef614aac85c0c866f4d39e4d12a96851267d38d1bca5bdd6488bbd42e28b6b1" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-gxMtzJ fJHYUt" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm hTsNTL" name="totalAirdrop" placeholder="Enter the total XEC airdrop" value="500000" /> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Communism" > <div class="sc-cQFLBn hqXCIg" > <input checked="" class="sc-lkqHmb caMISY" id="Toggle Communism" name="Toggle Communism" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Communism" > <span class="sc-daURTG cdvsTX" data-off="" data-on="Pro-Rata" /> <span class="sc-bXGyLb ewgUFr" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Airdrop scaled to token balance </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="ignoreOwnAddress" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="ignoreOwnAddress" name="ignoreOwnAddress" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="ignoreOwnAddress" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore my own address </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Ignore Mint Address" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Ignore Mint Address" name="Toggle Ignore Mint Address" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Ignore Mint Address" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore eToken minter address </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Minimum Token Balance" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Minimum Token Balance" name="Toggle Minimum Token Balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Minimum Token Balance" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Minimum eToken holder balance </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-jtggT hpbNWt" > <div class="sc-exAgwC drEAUM" title="Toggle Ignore Custom Addresses" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Ignore Custom Addresses" name="Toggle Ignore Custom Addresses" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Ignore Custom Addresses" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Ignore custom addresses </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <button class="sc-gqPbQI sc-bMVAic PNTzB" > Calculate Airdrop </button> </div> <div class="sc-dEoRIm hoBTqo" > <div class="sc-ebFjAB ivydVU" > One to Many Airdrop Payment Outputs <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="airdropRecipients" placeholder="Please input parameters above." > ecash:qp6qkpeg5xmpcqtu6uc5qkhzexg4sq009sfeekcfk2, 499894.34 ecash:qpmytrdsakt0axrrlswvaj069nat3p9s7cjctmjasj, 94.15 ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6, 11.49 </textarea> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> <div class="sc-dEoRIm hoBTqo" > <a class="sc-hORach sc-GMQeP fwgtCV" href="/send" type="text" > Copy to Send screen </a> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB hQCwhv" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <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.findByPlaceholderText (/work/cashtab/src/components/Airdrop/__tests__/Airdrop.test.js:263:26) ====== CashTab Unit Tests: <SendToken /> Renders the send token notification upon successful broadcast ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 24px;" > Send BEAR </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-kUaPvJ foyoyJ" > 1 BearNip ( BEAR ) </div> <div class="sc-hmXxxW hLuGIL" > <div class="sc-dliRfk hZcdiU" > <button class="sc-giadOv guiCof" > <img alt="icon for 3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109" height="128" src="https://icons.etokens.cash/128/3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109.png" width="128" /> </button> </div> <div class="sc-dliRfk hZcdiU" > <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Token Id: </div> <div class="sc-dliRfk hZcdiU" > <a href="https://explorer.e.cash/tx/3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109" rel="noopener noreferrer" target="_blank" > 3fe ... 109 </a> </div> <div class="sc-dliRfk hZcdiU" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > decimals: </div> <div class="sc-dliRfk hZcdiU" > 0 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > created: </div> <div class="sc-dliRfk hZcdiU" > Apr 11, 2024 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Genesis Qty: </div> <div class="sc-dliRfk hZcdiU" > 4,444 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Supply: </div> <div class="sc-dliRfk hZcdiU" > Error fetching supply </div> </div> </div> </div> <div class="sc-fONwsr iTwBqV" > <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="send-switch" > <div class="sc-cQFLBn gTEPaz" > <input checked="" class="sc-lkqHmb caMISY" id="send-switch" name="send-switch" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="send-switch" > <span class="sc-daURTG cgTIPi" data-off="➡️" data-on="➡️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Send BearNip ( BEAR ) </div> </div> <div class="sc-VJcYb hvrWIn" > <div class="sc-ipXKqB fTPQgE" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-iGrrsa efpJkV" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> </div> <div class="sc-VJcYb hvrWIn" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="1" type="number" value="" /> <button class="sc-btzYZH sc-lhVmIH igbjWn" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> <div class="sc-VJcYb hvrWIn" > <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 24px;" > Send BEAR </button> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="airdrop-switch" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="airdrop-switch" name="airdrop-switch" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="airdrop-switch" > <span class="sc-daURTG cgTIPi" data-off=" " data-on=" " /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Airdrop XEC to BEAR holders </div> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="Toggle Burn" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Burn" name="Toggle Burn" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Burn" > <span class="sc-daURTG cgTIPi" data-off=" " data-on=" " /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Burn BEAR </div> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="Toggle Mint" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Mint" name="Toggle Mint" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Mint" > <span class="sc-daURTG cgTIPi" data-off="⚗️" data-on="⚗️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Mint (disabled, no mint baton in wallet) </div> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:458:33) ====== CashTab Unit Tests: <SendToken /> Renders the burn token success notification upon successful burn tx broadcast ====== TestingLibraryElementError: Unable to find an element with the placeholder text of: Burn Amount Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-kUaPvJ foyoyJ" > 1 BearNip ( BEAR ) </div> <div class="sc-hmXxxW hLuGIL" > <div class="sc-dliRfk hZcdiU" > <button class="sc-giadOv guiCof" > <img alt="icon for 3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109" height="128" src="https://icons.etokens.cash/128/3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109.png" width="128" /> </button> </div> <div class="sc-dliRfk hZcdiU" > <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Token Id: </div> <div class="sc-dliRfk hZcdiU" > <a href="https://explorer.e.cash/tx/3fee3384150b030490b7bee095a63900f66a45f2d8e3002ae2cf17ce3ef4d109" rel="noopener noreferrer" target="_blank" > 3fe ... 109 </a> </div> <div class="sc-dliRfk hZcdiU" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > decimals: </div> <div class="sc-dliRfk hZcdiU" > 0 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > created: </div> <div class="sc-dliRfk hZcdiU" > Apr 11, 2024 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Genesis Qty: </div> <div class="sc-dliRfk hZcdiU" > 4,444 </div> </div> <div class="sc-kLIISr dOonvw" > <div class="sc-qrIAp hJjALr" > Supply: </div> <div class="sc-dliRfk hZcdiU" > Error fetching supply </div> </div> </div> </div> <div class="sc-fONwsr iTwBqV" > <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="send-switch" > <div class="sc-cQFLBn gTEPaz" > <input checked="" class="sc-lkqHmb caMISY" id="send-switch" name="send-switch" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="send-switch" > <span class="sc-daURTG cgTIPi" data-off="➡️" data-on="➡️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Send BearNip ( BEAR ) </div> </div> <div class="sc-VJcYb hvrWIn" > <div class="sc-ipXKqB fTPQgE" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-iGrrsa efpJkV" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> </div> <div class="sc-VJcYb hvrWIn" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="1" type="number" value="" /> <button class="sc-btzYZH sc-lhVmIH igbjWn" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> <div class="sc-VJcYb hvrWIn" > <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 24px;" > Send BEAR </button> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="airdrop-switch" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="airdrop-switch" name="airdrop-switch" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="airdrop-switch" > <span class="sc-daURTG cgTIPi" data-off=" " data-on=" " /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Airdrop XEC to BEAR holders </div> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="Toggle Burn" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Burn" name="Toggle Burn" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Burn" > <span class="sc-daURTG cgTIPi" data-off=" " data-on=" " /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Burn BEAR </div> </div> <div class="sc-iqzUVk blbJfl" > <div class="sc-exAgwC drEAUM" title="Toggle Mint" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Mint" name="Toggle Mint" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Mint" > <span class="sc-daURTG cgTIPi" data-off="⚗️" data-on="⚗️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-dxgOiQ imcdsa" > Mint (disabled, no mint baton in wallet) </div> </div> </div> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fysuvA" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByPlaceholderText (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:494:32) ====== CashTab Unit Tests: <SendToken /> Mint switch is disabled if no mint batons for this token in the wallet ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Mint"><div class="sc-cQFLBn gTEPaz"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Mint" name="Toggle Mint" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Mint"><span class="sc-daURTG cgTIPi" data-off="⚗️" data-on="⚗️" /><span class="sc-bXGyLb ehpwPH" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:533:50) ====== CashTab Unit Tests: <SendToken /> We can mint an slpv1 token if we have a mint baton ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Mint"><div class="sc-cQFLBn gTEPaz"><input class="sc-lkqHmb caMISY" id="Toggle Mint" name="Toggle Mint" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Mint"><span class="sc-daURTG cgTIPi" data-off="⚗️" data-on="⚗️" /><span class="sc-bXGyLb ehpwPH" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendToken.test.js:640:28) ====== CashTab Unit Tests: <SendXec /> Renders the SendXec screen with send address input ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:109:55) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:540:9) at processTimers (node:internal/timers:514:7) ====== CashTab Unit Tests: <SendXec /> Pass valid address to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:163:55) ====== CashTab Unit Tests: <SendXec /> Pass valid alias to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:234:55) ====== CashTab Unit Tests: <SendXec /> Pass an invalid address to Send To field and get a validation error ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:295:55) ====== CashTab Unit Tests: <SendXec /> Pass a possibly valid alias without .xec suffix to Send To field and get expected error ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:340:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias to Send To field that has not yet been registered and get expected error ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:405:55) ====== CashTab Unit Tests: <SendXec /> Get expected error msg and send disabled if bad response from alias server ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: false Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO beHQrQ" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:465:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount param to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:515:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with valid amount param to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:586:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with invalid amount param (dust) to Send To field ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6?amount=5" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX gPYHtZ" > <input class="sc-feJyhm sc-jwKygS bEyGJk" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="5" /> <select class="sc-elJkPf sc-jtRfpW eESySn" data-testid="currency-select-dropdown" disabled="" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH kxNEsK" disabled="" > max </button> </div> <div class="sc-dqBHgY iKEgph" > Send amount must be at least 5.5 XEC </div> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 5 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.00 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:659:23) ====== CashTab Unit Tests: <SendXec /> Valid address with valid bip21 query string with valid amount param rejected if amount exceeds wallet balance ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6?amount=1000000" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX gPYHtZ" > <input class="sc-feJyhm sc-jwKygS bEyGJk" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="1000000" /> <select class="sc-elJkPf sc-jtRfpW eESySn" data-testid="currency-select-dropdown" disabled="" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH kxNEsK" disabled="" > max </button> </div> <div class="sc-dqBHgY iKEgph" > Amount 1,000,000.00 XEC exceeds wallet balance of 9,513.12 XEC </div> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 1,000,000 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 30.00 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:709:23) ====== CashTab Unit Tests: <SendXec /> Pass a valid alias and bip21 query string with invalid amount param (too many decimals) to Send To field ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="chicken.xec?amount=500.123" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/ecash:qpmytrdsakt0axrrlswvaj069nat3p9s7cjctmjasj" rel="noreferrer" target="_blank" > ecash:qpmy...mjasj </a> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX gPYHtZ" > <input class="sc-feJyhm sc-jwKygS bEyGJk" disabled="" name="amount" placeholder="Amount" step="0.01" type="number" value="500.123" /> <select class="sc-elJkPf sc-jtRfpW eESySn" data-testid="currency-select-dropdown" disabled="" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH kxNEsK" disabled="" > max </button> </div> <div class="sc-dqBHgY iKEgph" > XEC transactions do not support more than 2 decimal places </div> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" disabled="" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO eVBwfd" disabled="" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 500.12 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.02 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:780:23) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and an invalid bip21 query string ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:827:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with op_return_raw param to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:881:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:949:55) ====== CashTab Unit Tests: <SendXec /> Pass a valid address and bip21 query string with valid amount and invalid op_return_raw params to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1017:55) ====== CashTab Unit Tests: <SendXec /> Clicking "Send" will send a valid tx with op_return_raw after entry of a valid address and bip21 query string with valid amount and op_return_raw params to Send To field ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1095:55) ====== CashTab Unit Tests: <SendXec /> We can calculate max send amount with and without a cashtab msg, and send a max sat tx with a cashtab msg ====== TestingLibraryElementError: Unable to find an element with the placeholder text of: Include a public Cashtab msg with this tx (max 215 bytes) Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="0.01" type="number" value="9509.26" /> <select class="sc-elJkPf sc-jtRfpW fZHEnY" data-testid="currency-select-dropdown" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH fdrRQD" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 9,509.26 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.29 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByPlaceholderText (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1230:20) ====== CashTab Unit Tests: <SendXec /> If the user has minFeeSends set to true but no longer has the right token amount, the feature is disabled ====== Error: expect(received).toHaveProperty(path, value) Expected path: "disabled" Received path: [] Expected value: true Received value: <div class="sc-exAgwC drEAUM" title="Toggle Multisend"><div class="sc-cQFLBn cpPRCx"><input class="sc-lkqHmb caMISY" disabled="" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /><label class="sc-gojNiO eVBwfd" disabled="" for="Toggle Multisend"><span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /><span class="sc-bXGyLb irGXQC" /></label></div></div> at Object.toHaveProperty (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1331:55) ====== CashTab Unit Tests: <SendXec /> We can send a tx with amount denominated in fiat currency ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-elJkPf sc-jtRfpW fZHEnY" data-testid="currency-select-dropdown" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH kxNEsK" disabled="" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 0.21 USD </div> <div class="sc-kGXeez LHHXu" > = 7,000 XEC </div> </div> <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1465:20) ====== CashTab Unit Tests: <SendXec /> We can send an XEC tx to multiple users ====== TestingLibraryElementError: Found multiple elements with the role "button" and name `/Send/` Here are the matching elements: Ignored nodes: comments, script, style <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> Ignored nodes: comments, script, style <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="0.01" type="number" value="" /> <select class="sc-elJkPf sc-jtRfpW fZHEnY" data-testid="currency-select-dropdown" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH fdrRQD" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" > ecash:qz2708636snqhsxu8wnlka78h6fdp77ar59jrf5035, 20 ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6, 22 </textarea> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 0 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.00 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic fqAcII" disabled="" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:20:35) at getMultipleElementsFoundError (/work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:23:10) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:55:13 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByRole (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1519:23) ====== CashTab Unit Tests: <SendXec /> If we type a Cashtab msg, then disable the switch, we send a tx without our typed Cashtab message ====== TestingLibraryElementError: Unable to find an element with the placeholder text of: Include a public Cashtab msg with this tx (max 215 bytes) Ignored nodes: comments, script, style <body> <div> <div class="sc-imABML bjDfgL" > <div class="Toastify" /> <div class="sc-ejGVNB hUWUlX" > <div class="sc-iiUIRa cglRHQ" > <div class="sc-dRaagA gUAxPw" > <div class="sc-hgRTRy dMmGnV" > <img alt="cashtab" class="sc-iIHSe cLWfOl" src="test-file-stub" /> </div> <div class="sc-kAzzGY iWUdLK" title="Wallet Info" > <div class="sc-fnwBNb fWrdTV" > <select class="sc-eAKXzc WHZAG" id="wallets" name="wallets" > <option class="sc-bfYoXt iMKavL" value="Transaction Fixtures" > Transaction Fixtures </option> </select> <div class="sc-iNhVCk iKlFAn" > <div class="sc-frDJqD BJlqU" > <svg title="copy-paste" /> </div> <div class="sc-exAgwC drEAUM" title="show-hide-balance" > <div class="sc-cQFLBn csjSIK" > <input checked="" class="sc-lkqHmb caMISY" id="show-hide-balance" name="show-hide-balance" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="show-hide-balance" > <span class="sc-daURTG ejZnHM" data-off="" data-on="" /> <span class="sc-bXGyLb gAUwgD" /> </label> </div> </div> </div> </div> <div class="sc-gbOuXE jtxGjo" title="Balance in XEC" > 9,513.12 XEC </div> <div class="sc-dRFtgE kMmrAw" title="Balance in Local Currency" > $ 0.29 USD </div> <p class="sc-gkFcWv ksFojT" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-eLdqWK frDodJ" > <div class="sc-bMvGRv jXQmoR" > <div class="sc-exAgwC drEAUM" title="Toggle Multisend" > <div class="sc-cQFLBn cpPRCx" > <input class="sc-lkqHmb caMISY" id="Toggle Multisend" name="Toggle Multisend" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Multisend" > <span class="sc-daURTG cgTIPi" data-off="Send to one" data-on="Send to many" /> <span class="sc-bXGyLb irGXQC" /> </label> </div> </div> </div> <div class="sc-jVODtj gADtIu" > <div class="sc-itybZL chknVF" > <div class="sc-fzsDOv eehMCE" > <div class="sc-gPWkxV cvQkfa" > <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="address" placeholder="Address" value="ecash:qp89xgjhcqdnzzemts0aj378nfe2mhu9yvxj9nhgg6" /> <button class="sc-tilXH bLutsd" title="Scan QR Code" > <svg /> </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> <div class="sc-hGoxap hvIXtH" > <a class="sc-cSHVUG hFvvRR" href="https://explorer.e.cash/address/false" rel="noreferrer" target="_blank" /> </div> </div> <div class="sc-cIShpX kDjJIV" > <div class="sc-kafWEX bEfOBh" > <input class="sc-feJyhm sc-jwKygS eMcJH" name="amount" placeholder="Amount" step="0.01" type="number" value="9509.26" /> <select class="sc-elJkPf sc-jtRfpW fZHEnY" data-testid="currency-select-dropdown" > <option class="sc-kTUwUJ gdmvdt" data-testid="xec-option" value="XEC" > XEC </option> <option class="sc-kTUwUJ gdmvdt" data-testid="fiat-option" value="USD" > USD </option> </select> <button class="sc-btzYZH fdrRQD" > max </button> </div> <div class="sc-dqBHgY iKEgph" /> </div> </div> </div> <div class="sc-eMigcr gUSLxY" > <div class="sc-cIShpX kDjJIV" > <textarea class="sc-cmTdod gVyMGt" height="142" name="multiAddressInput" placeholder="One address & amount per line, separated by comma e.g. ecash:qpatql05s9jfavnu0tv6lkjjk25n6tmj9gkpyrlwu8,500 ecash:qzvydd4n3lm3xv62cx078nu9rg0e3srmqq0knykfed,700" /> <div class="sc-iyvyFf ifNZvv" > <div class="sc-hwwEjo bTyfLU" /> </div> </div> </div> </div> <div class="sc-fhYwyz bxdvwg" > <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle Cashtab Msg" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle Cashtab Msg" name="Toggle Cashtab Msg" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle Cashtab Msg" > <span class="sc-daURTG cgTIPi" data-off="✉️" data-on="✉️" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > Cashtab Msg </div> </div> </div> <div class="sc-jzgbtB gtmFkE" > <div class="sc-gJWqzi eUqtUK" > <div class="sc-exAgwC drEAUM" title="Toggle op_return_raw" > <div class="sc-cQFLBn gTEPaz" > <input class="sc-lkqHmb caMISY" id="Toggle op_return_raw" name="Toggle op_return_raw" type="checkbox" /> <label class="sc-gojNiO beHQrQ" for="Toggle op_return_raw" > <span class="sc-daURTG cgTIPi" data-off="" data-on="" /> <span class="sc-bXGyLb ehpwPH" /> </label> </div> </div> <div class="sc-rBLzX jnZaYd" > op_return_raw </div> </div> </div> </div> <div class="sc-fjmCvl kwQQHI" > <div class="sc-dTdPqK fSeooi" > 9,509.26 XEC </div> <div class="sc-kGXeez LHHXu" > = $ 0.29 USD </div> </div> <button class="sc-gqPbQI sc-bMVAic PNTzB" style="margin-top: 12px;" > Send </button> </div> </div> <div class="sc-cjHlYL czMpOh" > <button class="sc-dHmInP fysuvA" > <svg /> </button> <button aria-label="Send" class="sc-dHmInP fNRmYK" style="padding-bottom: 10px;" > <div class="sc-iwsKbI cuDgAv" > <svg title="tx-sent" /> </div> </button> <button aria-label="Tokens" class="sc-dHmInP fysuvA" > <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-dHmInP fysuvA" > <svg title="tx-received" /> </button> <div class="sc-fEUNkw jxxKde" title="Show Other Screens" > <span class="sc-dREXXX majFx" /> <div class="sc-kcbnda jUxIgD" title="Other Screens" > <button class="sc-hcmgZB bZLHUT" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Swap </p> <svg title="swap" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-hcmgZB bZLHUT" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at Object.getElementError (/work/cashtab/node_modules/@testing-library/dom/dist/config.js:37:19) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 at Object.getByPlaceholderText (/work/cashtab/src/components/Send/__tests__/SendXec.test.js:1578:20) Each failure log is accessible here: Comment Actions change switch title to fix switch tests, update test to include 'not', update missed switch names |