Adding some UI improvements to the Agora page.
- More concise header section that aligns the filters
- typography and layout tweaks to the token cards to enhance readability
Differential D17502
[cashtab] Agora UI updates johnkuney on Thu, Jan 9, 20:20. Authored by
Details
Adding some UI improvements to the Agora page.
preview the site and review
Diff Detail
Event TimelineComment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:167:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gblwwb" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fkUQCZ" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:362:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can buy an offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD brqUGM" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fWLoSF" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD llcebE" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy CACHET </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:522:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Offers listed by the token creator are indicated as such ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 2 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD AiKVq" /> <div class="sc-iQKALj eLKcEQ" /> <div class="sc-ibxdXY ffLbRQ" > <div class="sc-eTuwsz gKLawX" > <svg title="Listed by token creator" /> </div> 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:765:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can type input and see a previewed offer of actual input with a delta from our typed input ====== Error: Unable to find an element with the text: Staked XEC (XECX). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Staked XEC" class="sc-kfGgVZ fYLOuS" size="64" title="c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > Staked XEC </a> <span> XECX </span> <div class="sc-jAaTju iOVSoX" > c67 ... ed4 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" name="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" title="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD iJtCCK" /> <div class="sc-iQKALj cqYUhu" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" class="sc-bbmXgH fZGsZp" max="448739883.52" min="960000.00" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" step="0.01" type="range" value="960000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4-typed" placeholder="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" value="960000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 960,000.00 XECX </div> <h3> 960k XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy XECX </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:822:26) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Unacceptable offers are rendered to their makers ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gPcZet" /> <div class="sc-iQKALj dTYriy" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100000.00" min="104000.00" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value="104000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value="104000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 104,000.00 CACHET </div> <h3> 104k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:912:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <Agora /> Screen loads as expected if there are no agora partial listings ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:133:29) ====== CashTab Unit Tests: <Agora /> We can see a rendered offer ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Cachet" class="sc-gVyKpa jtAkMn" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-ktHwxA gmstvK" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT HJFhI" /> <div class="sc-gPzReC eMYrxA" > 10,000.97 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-epnACN ixnPQq" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:238:29) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:296:29) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:367:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the title: Sort by Offer Count. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy mqUrl" > Offers </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Bull" class="sc-gVyKpa iLNaPI" size="64" title=... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:472:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We get expected error if we try to buy an offer we cannot afford ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 0.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.00 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > ... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:768:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <App /> Navigation menu routes to expected components ====== Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: undefined at __EXTERNAL_MATCHER_TRAP__ (/work/cashtab/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/work/cashtab/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/work/cashtab/src/components/App/__tests__/App.test.js:357:55) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:167:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gblwwb" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fkUQCZ" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:362:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can buy an offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD brqUGM" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fWLoSF" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD llcebE" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy CACHET </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:522:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Offers listed by the token creator are indicated as such ====== Error: Unable to find an element with the text: Cachet (CACHET). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 2 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD AiKVq" /> <div class="sc-iQKALj eLKcEQ" /> <div class="sc-ibxdXY ffLbRQ" > <div class="sc-eTuwsz gKLawX" > <svg title="Listed by token creator" /> </div> 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:765:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can type input and see a previewed offer of actual input with a delta from our typed input ====== Error: Unable to find an element with the text: Staked XEC (XECX). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Staked XEC" class="sc-kfGgVZ fYLOuS" size="64" title="c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > Staked XEC </a> <span> XECX </span> <div class="sc-jAaTju iOVSoX" > c67 ... ed4 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" name="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" title="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD iJtCCK" /> <div class="sc-iQKALj cqYUhu" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" class="sc-bbmXgH fZGsZp" max="448739883.52" min="960000.00" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" step="0.01" type="range" value="960000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4-typed" placeholder="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" value="960000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 960,000.00 XECX </div> <h3> 960k XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy XECX </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:822:26) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Unacceptable offers are rendered to their makers ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gPcZet" /> <div class="sc-iQKALj dTYriy" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100000.00" min="104000.00" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value="104000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value="104000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 104,000.00 CACHET </div> <h3> 104k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:912:29) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <Agora /> Screen loads as expected if there are no agora partial listings ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:133:29) ====== CashTab Unit Tests: <Agora /> We can see a rendered offer ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Cachet" class="sc-gVyKpa jtAkMn" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-ktHwxA gmstvK" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT HJFhI" /> <div class="sc-gPzReC eMYrxA" > 10,000.97 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-epnACN ixnPQq" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:238:29) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:296:29) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:367:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the title: Sort by Offer Count. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy mqUrl" > Offers </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Bull" class="sc-gVyKpa iLNaPI" size="64" title=... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:472:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We get expected error if we try to buy an offer we cannot afford ====== Error: Unable to find an element with the title: Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 0.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.00 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" > <div class="sc-cqPOvA jDuRbt" > ... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:768:29) ====== CashTab Unit Tests: <App /> Navigation menu routes to expected components ====== Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: undefined at __EXTERNAL_MATCHER_TRAP__ (/work/cashtab/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/work/cashtab/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/work/cashtab/src/components/App/__tests__/App.test.js:357:55) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:168:53) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:275:53) ====== CashTab Unit Tests: <OrderBook /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:373:53) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can buy an offer ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:538:53) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Offers listed by the token creator are indicated as such ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:786:53) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> We can type input and see a previewed offer of actual input with a delta from our typed input ====== Error: Unable to find an element with the text: Staked XEC (XECX). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Staked XEC" class="sc-kfGgVZ fYLOuS" size="64" title="c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > Staked XEC </a> <span> XECX </span> <div class="sc-jAaTju iOVSoX" > c67 ... ed4 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" name="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" title="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD iJtCCK" /> <div class="sc-iQKALj cqYUhu" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" class="sc-bbmXgH fZGsZp" max="448739883.52" min="960000.00" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" step="0.01" type="range" value="960000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4-typed" placeholder="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" value="960000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 960,000.00 XECX </div> <h3> 960k XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy XECX </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:847:26) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Unacceptable offers are rendered to their makers ====== ReferenceError: Cachet is not defined at Object.Cachet (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:938:53) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <Agora /> Screen loads as expected if there are no agora partial listings ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:144:38) ====== CashTab Unit Tests: <Agora /> We can see a rendered offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Cachet" class="sc-gVyKpa jtAkMn" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-ktHwxA gmstvK" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT HJFhI" /> <div class="sc-gPzReC eMYrxA" > 10,000.97 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-epnACN ixnPQq" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:244:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:307:38) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:378:38) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the title: Sort by Offer Count. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy mqUrl" > Offers </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Bull" class="sc-gVyKpa iLNaPI" size=... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:472:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We get expected error if we try to buy an offer we cannot afford ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 0.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.00 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:774:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <App /> Navigation menu routes to expected components ====== Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: undefined at __EXTERNAL_MATCHER_TRAP__ (/work/cashtab/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/work/cashtab/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/work/cashtab/src/components/App/__tests__/App.test.js:357:55) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer ====== Error: Unable to find role="span" and name "CACHET" Ignored nodes: comments, script, style <body> <div> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:171:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find role="link" and name "Cachet" Ignored nodes: comments, script, style <body> <div> <div class="sc-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:275:26) ====== CashTab Unit Tests: <OrderBook /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find role="span" and name "CACHET" Ignored nodes: comments, script, style <body> <div> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gblwwb" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fkUQCZ" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:376:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <OrderBook /> We can buy an offer ====== Error: Unable to find role="span" and name "CACHET" Ignored nodes: comments, script, style <body> <div> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 3 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD brqUGM" /> <div class="sc-iQKALj btxsFq" /> <div class="sc-ibxdXY ffLbRQ" > 1,200.01 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD fWLoSF" /> <div class="sc-ibxdXY ffLbRQ" > 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD llcebE" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy CACHET </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:541:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <OrderBook /> Offers listed by the token creator are indicated as such ====== Error: Unable to find role="span" and name "CACHET" Ignored nodes: comments, script, style <body> <div> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 2 Offer s </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD AiKVq" /> <div class="sc-iQKALj eLKcEQ" /> <div class="sc-ibxdXY ffLbRQ" > <div class="sc-eTuwsz gKLawX" > <svg title="Listed by token creator" /> </div> 10,000.97 XEC </div> </button> <button class="sc-eXEjpC jYhjAQ" > <div class="sc-RefOD iJtCCK" /> <div class="sc-ibxdXY ffLbRQ" > 12,000.66 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:789:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <OrderBook /> We can type input and see a previewed offer of actual input with a delta from our typed input ====== Error: Unable to find an element with the text: Staked XEC (XECX). 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> <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Staked XEC" class="sc-kfGgVZ fYLOuS" size="64" title="c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > Staked XEC </a> <span> XECX </span> <div class="sc-jAaTju iOVSoX" > c67 ... ed4 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" name="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" title="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD iJtCCK" /> <div class="sc-iQKALj cqYUhu" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" class="sc-bbmXgH fZGsZp" max="448739883.52" min="960000.00" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" step="0.01" type="range" value="960000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4-typed" placeholder="Select buy qty c67bf5c2b6d91cfb46a5c1772582eff80d88686887be10aa63b0945479cf4ed4" value="960000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 960,000.00 XECX </div> <h3> 960k XEC </h3> <button class="sc-fjdhpX sc-cSHVUG gODvHf" > Buy XECX </button> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:847:26) at Promise.then.completed (/work/cashtab/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/work/cashtab/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/work/cashtab/node_modules/jest-circus/build/run.js:316:40) at _runTest (/work/cashtab/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/work/cashtab/node_modules/jest-circus/build/run.js:121:9) at run (/work/cashtab/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/work/cashtab/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/work/cashtab/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/work/cashtab/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/work/cashtab/node_modules/jest-runner/build/testWorker.js:106:12) ====== CashTab Unit Tests: <OrderBook /> Unacceptable offers are rendered to their makers ====== Error: Unable to find role="span" and name "CACHET" Ignored nodes: comments, script, style <body> <div> <div class="sc-gzOgki gITyuf" > <div class="sc-iyvyFf brGKCm" > <button aria-label="View larger icon for Cachet" class="sc-kfGgVZ hPuFxi" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-kPVwWT dfiETE" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-jAaTju iOVSoX" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-kGXeez fWkUYs" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hwwEjo jvcOSC" > <div> 1 Offer </div> <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> </div> <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD gPcZet" /> <div class="sc-iQKALj dTYriy" /> <div class="sc-ibxdXY ffLbRQ" > 1 XEC </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100000.00" min="104000.00" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value="104000.00" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value="104000.00" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> 104,000.00 CACHET </div> <h3> 104k XEC </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </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.findByRole (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:941:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> Screen loads as expected if there are no agora partial listings ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:144:38) ====== CashTab Unit Tests: <Agora /> We can see a rendered offer ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Cachet" class="sc-gVyKpa jtAkMn" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-ktHwxA gmstvK" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT HJFhI" /> <div class="sc-gPzReC eMYrxA" > 10,000.97 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-epnACN ixnPQq" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> .10 CACHET </div> <h3> 1k XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:244:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:307:38) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:378:38) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the title: Sort by Offer Count. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy mqUrl" > Offers </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Bull" class="sc-gVyKpa iLNaPI" size=... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:472:26) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) ====== CashTab Unit Tests: <Agora /> We get expected error if we try to buy an offer we cannot afford ====== Error: Unable to find an element with the text: Cachet (CACHET). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 0.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.00 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="... at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:774:29) at runNextTicks (node:internal/process/task_queues:60:5) at listOnTimeout (node:internal/timers:545:9) at processTimers (node:internal/timers:519:7) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find an element with the text: Cachet. 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-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:270:29) ====== CashTab Unit Tests: <Agora /> Screen loads as expected if there are no agora partial listings ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:144:38) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:308:38) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== TestingLibraryElementError: Unable to find an element with the title: Toggle Active Offers. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <p> No tokens are currently listed for sale </p> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:379:38) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the title: Sort by Offer Count. Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" > TokenID </div> <div class="sc-fjhmcy mqUrl" > Offers </div> <span class="manage-switch" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Bull" class="sc-gVyKpa iLNaPI" size=... 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.findByTitle (/work/cashtab/src/components/Agora/__tests__/index.test.js:473:26) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find an element with the text: Cachet. 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-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:270:29) ====== CashTab Unit Tests: <Agora /> We can fetch and use the blacklist from token server ====== TestingLibraryElementError: Unable to find an element with the text: Badger Universal Token (BUX). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" title="Sort by TokenId" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" title="Sort by Offer Count" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" title="Toggle Active Offers" > All Offers </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-dEfkYy hRZZbZ" > Manage your listings </div> <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Badger Universal Token" class="sc-gVyKpa bXWit" size="64" title="9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" > Badger Universal Token </a> <span> BUX </span> <div class="sc-ktHwxA gmstvK" > 9c6 ... ba0 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" name="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" title="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT gVKYOs" /> <div class="sc-gPzReC eMYrxA" > 25,609.85 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" class="sc-epnACN ixnPQq" max="8254.72" min="1.00" name="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" step="0.01" type="range" value="1.00" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0-typed" placeholder="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" value="1.00" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> 1.00 BUX </div> <h3> 0.00 XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:314:20) ====== CashTab Unit Tests: <Agora /> On token server API fail, we fall back to locally maintained blacklist. A blacklisted offer does not render in all offers, but will render in My offers ====== TestingLibraryElementError: Unable to find an element with the text: Badger Universal Token (BUX). 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT AKqtP" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qqpmsv8yh8wwx3lnf92rrc0e6yq97j6zqs8av8vx8h" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 4,200.00 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.13 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" title="Sort by TokenId" > TokenID </div> <div class="sc-fjhmcy xUStj" disabled="" title="Sort by Offer Count" > Offers <div> <div class="sc-jzJRlG eQTBdJ" title="Loading OrderBook info..." > <div /> <div /> <div /> <div /> </div> </div> </div> <span class="manage-switch" title="Toggle Active Offers" > All Offers </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-dEfkYy hRZZbZ" > Manage your listings </div> <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Badger Universal Token" class="sc-gVyKpa bXWit" size="64" title="9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" > Badger Universal Token </a> <span> BUX </span> <div class="sc-ktHwxA gmstvK" > 9c6 ... ba0 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 1 Offer </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" name="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" title="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-hjRWVT gVKYOs" /> <div class="sc-gPzReC eMYrxA" > 25,609.85 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" class="sc-epnACN ixnPQq" max="8254.72" min="1.00" name="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" step="0.01" type="range" value="1.00" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0-typed" placeholder="Select buy qty 9c662233f8553e72ab3848a37d72fbc3f894611aae43033cde707213a537bba0" value="1.00" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> 1.00 BUX </div> <h3> 0.00 XEC </h3> <button class="sc-caSCKo sc-TOsTZ gpqKqb" > Cancel your offer </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <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.getByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:385:20) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: only inputs with type="checkbox" or type="radio" or elements with role="checkbox", role="menuitemcheckbox", role="menuitemradio", role="option", role="radio", role="switch" or role="treeitem" and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead at Object.toBeChecked (/work/cashtab/src/components/Agora/__tests__/index.test.js:477:54) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find an element with the text: Cachet. 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-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:270:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: only inputs with type="checkbox" or type="radio" or elements with role="checkbox", role="menuitemcheckbox", role="menuitemradio", role="option", role="radio", role="switch" or role="treeitem" and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead at Object.toBeChecked (/work/cashtab/src/components/Agora/__tests__/index.test.js:475:54) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: expect(element).toHaveAttribute("active", "true") // element.getAttribute("active") === "true" Expected the element to have attribute: active="true" Received: null at Object.toHaveAttribute (/work/cashtab/src/components/Agora/__tests__/index.test.js:475:54) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find an element with the text: Cachet. 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-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:270:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: expect(received).toBe(expected) // Object.is equality Expected: "#2a2e2e" Received: undefined at Object.toBe (/work/cashtab/src/components/Agora/__tests__/index.test.js:475:70) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <OrderBook /> We can see a rendered offer in an OrderBook with noIcon ====== Error: Unable to find an element with the text: Cachet. 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-gzOgki RMeoJ" > <div class="sc-esjQYD efvomh" > <div class="sc-kIPQKe fCEgvl" > <button class="sc-eXEjpC dridyW" > <div class="sc-RefOD llcebE" /> <div class="sc-iQKALj kHCzGt" /> <div class="sc-ibxdXY ffLbRQ" > $0.3300 USD </div> </button> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-jwKygS heRPdH" > <div class="sc-btzYZH ehlgNP" > <input class="sc-jtRfpW imHqoI" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-lhVmIH caWsiU" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-bYSBpT ebfoWD" data-off="XEC" data-on="usd" /> <span class="sc-elJkPf cgAGSi" /> </label> </div> </div> </div> <div class="sc-bwCtUz cGjkwz" > <div class="sc-dVhcbM jfavMR" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-bbmXgH fZGsZp" max="100.00" min=".10" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".10" /> <div class="sc-fYxtnH eXvWCD" > <input class="sc-gGBfsJ fXNnxo" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".10" /> </div> <div class="sc-kvZOFW doyTlY" /> </div> </div> <div class="sc-hrWEMg kyuQmj" > <div> .10 CACHET </div> <h3> $0.03303 USD </h3> <button class="sc-fjdhpX sc-chPdSV jFOrsG" > Cancel your offer </button> </div> </div> </div> , </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/OrderBook/__tests__/index.test.js:270:29) ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: expect(received).toBe(expected) // Object.is equality Expected: "#2a2e2e" Received: "rgb(42, 46, 46)" at Object.toBe (/work/cashtab/src/components/Agora/__tests__/index.test.js:478:11) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find role="button" and name "Buy Bull (BULL)" Ignored nodes: comments, script, style <body> <div> <div class="sc-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT gIDdZg" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qreq3mm4avxaw782g4qvhktx4qcv0w2tkqj3j5jaad" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 390.16 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.01 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" title="Sort by TokenId" > TokenID </div> <div class="sc-fjhmcy mqUrl" title="Sort by Offer Count" > Offers </div> <span class="manage-switch" title="Toggle Active Offers" > My Listings </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <but... 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.findByRole (/work/cashtab/src/components/Agora/__tests__/index.test.js:582:26) Each failure log is accessible here: Comment Actions Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs: ====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: Unable to find an element with the text: Bull. 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-eitiEO jtKsEs" > <section aria-atomic="false" aria-label="Notifications Alt+T" aria-live="polite" aria-relevant="additions text" class="Toastify" /> <div class="sc-bhlBdH kUtPuC" > <div class="sc-AnqlK jwdJGM" > <div class="sc-hycgNl fMlaSZ" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <div class="sc-cCbXAZ hWVbsV" > <div class="sc-lcpuFF bqbWPO" > <select class="sc-bqjOQT gIDdZg" data-testid="wallet-select" id="wallets" name="wallets" > <option class="sc-jkCMRl hOXmaz" value="Agora Partial Beta" > Agora Partial Beta </option> <option class="sc-jkCMRl hOXmaz" value="Agora Partial Alpha" > Agora Partial Alpha </option> </select> <div class="sc-gGCbJM iQNZkD" > <button aria-label="Copy ecash:qreq3mm4avxaw782g4qvhktx4qcv0w2tkqj3j5jaad" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN bSWkUh" > <input checked="" class="sc-gFaPwZ iPJMNd" id="show-hide-balance" name="show-hide-balance" title="show-hide-balance" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="show-hide-balance" > <span class="sc-dymIpo hGwQkt" data-off="" data-on="" /> <span class="sc-bnXvFD cpOMDW" /> </label> </div> </div> </div> </div> <div class="sc-fHSTwm exyNVL" title="Wallet Info" > <div class="sc-crNyjn kbCCdI" title="Balance in XEC" > 390.16 XEC </div> <div class="sc-cpHetk eIfOld" title="Balance in Local Currency" > $ 0.01 USD </div> <p class="sc-nrwXf EZcSZ" title="Price in Local Currency" > 1 XEC = 0.00003000 USD </p> </div> </div> <div class="sc-jvEmr ePAtrN" > <div class="sc-yZwTr jaHjnp" > <h2> Token Offers </h2> <div> Sort by: <div class="sc-fjhmcy dNNxCP" title="Sort by TokenId" > TokenID </div> <div class="sc-fjhmcy mqUrl" title="Sort by Offer Count" > Offers </div> <span class="manage-switch" title="Toggle Active Offers" > All Offers </span> </div> </div> <div class="sc-gacfCG gpjPEu" title="Active Offers" > <div class="sc-dEfkYy hRZZbZ" > Manage your listings </div> <div class="sc-cqPOvA jDuRbt" > <div class="sc-drMfKT gHPyYN" > <div class="sc-fgfRvd bxsKqB" > <button aria-label="View larger icon for Cachet" class="sc-gVyKpa jtAkMn" size="64" title="aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" /> <div class="sc-gpHHfC jYEWaP" > <a href="#/token/aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > Cachet </a> <span> CACHET </span> <div class="sc-ktHwxA gmstvK" > aed ... cb1 <button aria-label="Copy Token ID" class="sc-cJSrbW kZNvLw" > <svg title="copy-paste" /> </button> </div> </div> <div class="sc-hIVACf fychZw" > <div> 3 Offer s </div> <div class="sc-eerKOB cvXwwv" > <div class="sc-emmjRN aJlAN" > <input class="sc-gFaPwZ iPJMNd" id="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" name="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" title="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" type="checkbox" /> <label class="sc-cpmLhU iUeRKn" for="Toggle price for aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" > <span class="sc-dymIpo jgGHhc" data-off="XEC" data-on="usd" /> <span class="sc-bnXvFD jZunYG" /> </label> </div> </div> </div> </div> <div class="sc-eXNvrr kXKKKK" > <div class="sc-cpmKsF kySXrm" > <button class="sc-kQsIoO eKpQFu" > <div class="sc-jrIrqw fcdjLr" /> <div class="sc-hjRWVT eEdQyP" /> <div class="sc-gPzReC eMYrxA" > 1,200.01 XEC </div> </button> <button class="sc-kQsIoO iwIgeL" > <div class="sc-jrIrqw gAwnrh" /> <div class="sc-gPzReC eMYrxA" > 10,000.97 XEC </div> </button> <button class="sc-kQsIoO iwIgeL" > <div class="sc-jrIrqw ipvIPg" /> <div class="sc-gPzReC eMYrxA" > 12,000.66 XEC </div> </button> </div> <div class="sc-iybRtq dHacNr" > <div class="sc-dqBHgY ddqJJj" > <input aria-labelledby="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" class="sc-epnACN ixnPQq" max="200.00" min=".20" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" step="0.01" type="range" value=".20" /> <div class="sc-hZSUBg iDKfVn" > <input class="sc-iQNlJl kTHLJz" name="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1-typed" placeholder="Select buy qty aed861a31b96934b88c0252ede135cb9700d7649f69191235087a3030e553cb1" value=".20" /> </div> <div class="sc-iQKALj fwXoQo" /> </div> </div> <div class="sc-iQtOjA Tysfy" > <div> .20 CACHET </div> <h3> 240.64 XEC </h3> <button class="sc-caSCKo sc-kjoXOD DHATx" > Buy CACHET </button> </div> </div> </div> </div> </div> </div> </div> <div class="sc-keFjpB khsyQb" > <div class="sc-ivVeuv jnyKEr" > <img alt="cashtab" class="sc-chAAoq dvNFPG" src="test-file-stub" /> </div> <button class="sc-iBmynh iYILjv" > <span> Transactions </span> <svg /> </button> <button aria-label="Send Screen" class="sc-iBmynh iYILjv" > <span> Send </span> <svg title="tx-sent" /> </button> <button aria-label="Tokens" class="sc-iBmynh iYILjv" > <span> Tokens </span> <svg title="Tokens" /> </button> <button aria-label="Receive" class="sc-iBmynh iYILjv" > <span> Receive </span> <svg title="tx-received" /> </button> <div class="sc-jWojfa fbAwlI" title="Show Other Screens" > <span class="sc-kVrTmx inojGo" /> <div class="sc-ekkqgF liXvIg" title="Other Screens" > <button class="sc-fKGOjr cxFOiy" > <p> Wallet Backup </p> <svg title="wallet" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Wallets </p> <svg title="wallets" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Listed NFTs </p> <svg title="NFT" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Agora </p> <svg title="Meme Agora" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Contacts </p> <svg title="Contact List" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Airdrop </p> <svg title="tx-airdrop" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Rewards </p> <svg title="Cashtab Rewards" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Sign & Verify </p> <svg class="sc-htpNat bPFBeM" /> </button> <button class="sc-fKGOjr cxFOiy" > <p> Settings </p> <svg title="settings" /> </button> </div> </div> </div> </div> </div> </div> </body> at waitForWrapper (/work/cashtab/node_modules/@testing-library/dom/dist/wait-for.js:163:27) at /work/cashtab/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 at Object.findByText (/work/cashtab/src/components/Agora/__tests__/index.test.js:595:29) Each failure log is accessible here: Comment Actions Looks much better. Also much better sorting UI vs the switches would love a similar UI lift on the Token page. Please replace the span className manage-switch with a styled component defined in cashtab/src/components/Agora/styled.ts
|