TestingModule:Crashed

Build 18333 on open-testing-module-on-error
Reviewing disabled
View latest build
chromechrome
ErrorBuild 18333 on open-testing-module-on-error
View Storybook
ErrorBuild 18333 on open-testing-module-on-error
View Storybook
Fail
TestingModule.stories.tsx
Caught exception in play function

This story threw an error after it finished rendering which means interactions may not have been executed fully.

Error: Unable to find role="button" and name `/Expand/`

Ignored nodes: comments, script, style
<div
  id="storybook-root"
>
  <div
    style="max-width: 250px;"
  >
    <div
      class="css-1oiipzg"
      id="storybook-testing-module"
    >
      <div
        class="css-1u2j0qv"
      >
        <div
          class="css-1d56hfi"
          data-testid="collapse"
          style="transition: max-height; display: block; max-height: 120px;"
        >
          <div
            class="css-j7qwjs"
          >
            <div
              class="css-1e3qj69"
              data-module-id="component-tests"
            >
              <div
                class="css-149qlay"
              >
                Component tests
              </div>
            </div>
            <div
              class="css-1e3qj69"
              data-module-id="visual-tests"
            >
              <div
                class="css-149qlay"
              >
                Visual tests
              </div>
            </div>
            <div
              class="css-1e3qj69"
              data-module-id="linting"
            >
              <div
                class="css-149qlay"
              >
                Linting
              </div>
            </div>
          </div>
        </div>
        <div
          class="css-1yezp8j"
        >
          <div
            class="css-11b7bun"
          >
            <div
              class="css-17fv6jh"
            >
              <button
                class="css-xvwvrd"
              >
                <svg
                  fill="none"
                  height="14"
                  viewBox="0 0 14 14"
                  width="14"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <path
                    clip-rule="evenodd"
                    d="M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z"
                    fill="currentColor"
                    fill-rule="evenodd"
                  />
                  <path
                    clip-rule="evenodd"
                    d="M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z"
                    fill="currentColor"
                    fill-rule="evenodd"
                  />
                </svg>
                <span>
                  Run tests
                </span>
              </button>
            </div>
          </div>
          <div
            class="css-1rf73am"
          >
            <div
              class="css-17fv6jh"
            >
              <button
                aria-label="Collapse testing module"
                class="css-1ox94re"
                id="testing-module-collapse-toggle"
              >
                <svg
                  fill="none"
                  height="14"
                  style="transform: rotate(180deg); transition: transform 250ms; will-change: auto;"
                  viewBox="0 0 14 14"
                  width="14"
                  xmlns="http://www.w3.org/2000/svg"
                >
                  <path
                    d="M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z"
                    fill="currentColor"
                  />
                </svg>
              </button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
    at waitForWrapper (https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/iframe-ZJXXW_QS.js:2102:3559)
    at https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/iframe-ZJXXW_QS.js:2110:288
    at play (https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/TestingModule.stories-DK1NofTE.js:1:1621)
    at https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/iframe-ZJXXW_QS.js:736:3836
    at LD.runPhase (https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/iframe-ZJXXW_QS.js:736:930)
    at LD.render (https://635781f3500dd2c49e189caf-jconhwjnuj.capture-loopback.chromatic.com/assets/iframe-ZJXXW_QS.js:736:3806)