Page MenuHomePhabricator

arc diff test
AbandonedPublicDraft

Authored by johnkuney on Nov 27 2024, 17:41.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Testing my ability to update diffs as Im encountering a weird error on another one

Test Plan

no test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
test
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31347
Build 62192: Build Diffcashtab-tests
Build 62191: arc lint + arc unit

Event Timeline

Failed tests logs:

====== CashTab Unit Tests: <Token /> available actions rendered We can list an SLP1 fungible token ======
TestingLibraryElementError: Unable to find an element with the text: List VSP?. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="sc-cCbXAZ cGlszB"
    >
      <div
        class="Toastify"
      />
      <div
        class="sc-fHSTwm iKKFtc"
      >
        <div
          class="sc-hdPSEv drRDyR"
        >
          <div
            class="sc-hizQCF iYoNIN"
          >
            <img
              alt="cashtab"
              class="sc-eNPDpu kwpjsm"
              src="test-file-stub"
            />
          </div>
          <div
            class="sc-ekkqgF eMHjbd"
          >
            <select
              class="sc-iBmynh berchQ"
              data-testid="wallet-select"
              id="wallets"
              name="wallets"
            >
              <option
                class="sc-fKGOjr bOTepS"
                value="Token Test"
              >
                Token Test
              </option>
            </select>
            <div
              class="sc-kVrTmx jqgvTq"
            >
              <button
                aria-label="Copy ecash:qqq9f9z3uhpzkxrgdjkd7dxuuey7tmpmugpmnw0kue"
                class="sc-kvZOFW liNaUH"
              >
                <svg
                  title="copy-paste"
                />
              </button>
              <div
                class="sc-gFaPwZ bhfoic"
              >
                <div
                  class="sc-fhYwyz kXwmEk"
                >
                  <input
                    checked=""
                    class="sc-bMvGRv dnGmSn"
                    id="show-hide-balance"
                    name="show-hide-balance"
                    title="show-hide-balance"
                    type="checkbox"
                  />
                  <label
                    class="sc-jzgbtB hsNhPD"
                    for="show-hide-balance"
                  >
                    <span
                      class="sc-gJWqzi dYGNll"
                      data-off=""
                      data-on=""
                    />
                    <span
                      class="sc-rBLzX gWpmmy"
                    />
                  </label>
                </div>
              </div>
            </div>
          </div>
          <div
            class="sc-hlILIN inOePY"
            title="Wallet Info"
          >
            <div
              class="sc-hycgNl jFTmBM"
              title="Balance in XEC"
            >
              9,970.81
               
              XEC
               
            </div>
            <div
              class="sc-chAAoq kjYqmy"
              title="Balance in Local Currency"
            >
              $
              0.30
               
              USD
            </div>
            <p
              class="sc-dTLGrV fvjJeu"
              title="Price in Local Currency"
            >
              1 
              XEC
               = 
              0.00003000
               
              USD
            </p>
          </div>
          <div
            class="sc-cgHJcJ fwEPrl"
          >
            <div
              class="sc-hzNEM hFuCgt"
            >
              111.000000000
               
              Vespene Gas
               (
              VSP
              )
            </div>
            <div
              class="sc-iSDuPN hqHiQd"
              title="Token Stats"
            >
              <div
                class="sc-fQejPQ btYqSh"
              >
                <button
                  class="sc-fcdeBU dJwmed"
                >
                  <img
                    alt="icon for 20a0b9337a78603c6681ed2bc541593375535dcd9979196620ce71f233f2f6f8"
                    height="128"
                    src="https://icons.etokens.cash/128/20a0b9337a78603c6681ed2bc541593375535dcd9979196620ce71f233f2f6f8.png"
                    width="128"
                  />
                </button>
              </div>
              <div
                class="sc-fQejPQ btYqSh"
              >
                <div
                  class="sc-etwtAo krsiJt"
                >
                  <div
                    class="sc-jXQZqI bVkCnL"
                  >
                    Type:
                  </div>
                  <div
                    class="sc-fQejPQ btYqSh"
                  >
                    <div
                      class="sc-cooIXK hDBkgu"
                    >
                      SLP
                       
                      <button
                        aria-label="Click for more info about this token type"
                        class="sc-kvZOFW liNaUH"
                      >
                        <svg
                          title="More Info"
                        />
                      </button>
                    </div>
                  </div>...
    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/Etokens/__tests__/TokenActions.test.js:367:23)

Each failure log is accessible here:
CashTab Unit Tests: <Token /> available actions rendered We can list an SLP1 fungible token