Tooltip:Hovered

Build 260 on feat/storybook-component-stories
Reviewing disabled
View latest build
ErrorBuild 260 on feat/storybook-component-stories
View Storybook
Fail
Tooltip.stories.tsx
Unable to find an element with the text: This is the tooltip content.. 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.
View in Storybook
Chrome 140
62x16
Linux Linux Ubuntu 20.04.4
a1746f on feat/storybook-component-stories
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 an element with the text: This is the tooltip content.. 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
  class="sb-main-centered sb-show-main dark"
  spellcheck="false"
>
  <div
    class="sb-preparing-story sb-wrapper"
  >
    <div
      class="sb-loader"
    />
  </div>
  <div
    class="sb-preparing-docs sb-wrapper"
  >
    <div
      class="sb-previewBlock"
    >
      <div
        class="sb-previewBlock_header"
      >
        <div
          class="sb-previewBlock_icon"
        />
        <div
          class="sb-previewBlock_icon"
        />
        <div
          class="sb-previewBlock_icon"
        />
        <div
          class="sb-previewBlock_icon"
        />
      </div>
      <div
        class="sb-previewBlock_body"
      >
        <div
          class="sb-loader"
        />
      </div>
    </div>
    <table
      aria-hidden="true"
      class="sb-argstableBlock"
    >
      <thead
        class="sb-argstableBlock-head"
      >
        <tr>
          <th>
            <span>
              Name
            </span>
          </th>
          <th>
            <span>
              Description
            </span>
          </th>
          <th>
            <span>
              Default
            </span>
          </th>
          <th>
            <span>
              Control
            </span>
          </th>
        </tr>
      </thead>
      <tbody
        class="sb-argstableBlock-body"
      >
        <tr>
          <td>
            <span>
              propertyName
            </span>
            <span
              title="Required"
            >
              *
            </span>
          </td>
          <td>
            <div>
              <span>
                This is a short description
              </span>
            </div>
            <div
              class="sb-argstableBlock-summary"
            >
              <div>
                <span
                  class="sb-argstableBlock-code"
                >
                  summary
                </span>
              </div>
            </div>
          </td>
          <td>
            <div>
              <span
                class="sb-argstableBlock-code"
              >
                defaultValue
              </span>
            </div>
          </td>
          <td>
            <button>
              Set string
            </button>
          </td>
        </tr>
        <tr>
          <td>
            <span>
              propertyName
            </span>
            <span>
              *
            </span>
          </td>
          <td>
            <div>
              <span>
                This is a short description
              </span>
            </div>
            <div
              class="sb-argstableBlock-summary"
            >
              <div>
                <span
                  class="sb-argstableBlock-code"
                >
                  summary
                </span>
              </div>
            </div>
          </td>
          <td>
            <div>
              <span
                class="sb-argstableBlock-code"
              >
                defaultValue
              </span>
            </div>
          </td>
          <td>
            <button>
              Set string
            </button>
          </td>
        </tr>
        <tr>
          <td>
            <span>
              propertyName
            </span>
            <span>
              *
            </span>
          </td>
          <td>
            <div>
              <span>
                This is a short description
              </span>
            </div>
            <div
              class="sb-argstableBlock-summary"
            >
              <div>
                <span
                  class="sb-argstableBlock-code"
                >
                  summary
                </span>
              </div>
            </div>
          </td>
          <td>
            <div>
              <span
                class="sb-argstableBlock-code"
              >
                defaultValue
              </span>
            </div>
          </td>
          <td>
            <button>
              Set string
            </button>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <div
    class="sb-nopreview sb-wrapper"
  >
    <div
      class="sb-nopreview_main"
    >
      <h1
        class="sb-nopreview_heading sb-heading"
      >
        No Preview
      </h1>
      <p>
        Sorry, but you either have no stories or none are selected somehow.
      </p>
      <ul>
        <li>
          Please check the Storybook config.
        </li>
        <li>
          Try reloading the page.
        </li>
      </ul>
      <p>
        If the problem persists, check the browser console, or the terminal you've run Storybook from.
      </p>
    </div>
  </div>
  <div
    class="sb-errordisplay sb-wrapper"
  >
    <div
      class="sb-errordisplay_main"
    >
      <h1
        id="error-message"
      />
      <p>
        The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
      </p>
      <ol>
        <li>
          <strong>
            Missing Context/Providers
          </strong>
          : You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the 
          <a
            href="https://storybook.js.org/docs/writing-stories/decorators"
          >
            Decorators documentation
          </a>
          .
        </li>
        <li>
          <strong>
            Misconfigured Webpack or Vite
          </strong>
          : Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring 
          <a
            href="https://storybook.js.org/docs/builders/webpack"
          >
            Webpack
          </a>
           or 
          <a
            href="https://storybook.js.org/docs/builders/vite"
          >
            Vite
          </a>
           with Storybook.
        </li>
        <li>
          <strong>
            Missing Environment Variables
          </strong>
          : Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the 
          <a
            href="https://storybook.js.org/docs/configure/environment-variables"
          >
            Environment Variables documentation
          </a>
          .
        </li>
      </ol>
      <pre
        class="sb-errordisplay_code"
      >
        <code
          id="error-stack"
        />
      </pre>
    </div>
  </div>
  <div
    id="storybook-root"
  >
    <span
      data-tooltip-html="This is the tooltip content."
      data-tooltip-id="_r_0_"
    >
      <span>
        Hover me
      </span>
    </span>
  </div>
  <div
    hidden="true"
    id="storybook-docs"
  />
  <div
    id="storybook-h...
    at waitForWrapper (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:26031:25)
    at https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:26096:56
    at Instrumenter.invoke (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:17204:24)
    at Instrumenter.intercept (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:17125:142)
    at Instrumenter.track (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:17120:380)
    at Proxy.findByText (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:17106:264)
    at play (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/components-Tooltip-stories.7658b079.iframe.bundle.js:1:3653)
    at async StoryRender.runPhase (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:33907:21)
    at async StoryRender.render (https://69aedd804464bb3078b3ee78-iuffncdjbq.capture-loopback.chromatic.com/sb-preview/runtime.js:34031:14)