hooks:Use State

Build 13915 on tom/23347-story-globals
1200px
Reviewing disabled
View latest build
chromechrome
ErrorBuild 13915 on tom/23347-story-globals
View Storybook
ErrorBuild 13915 on tom/23347-story-globals
View Storybook
The baseline is shorter than the new snapshot (1200x64 to 1200x900).
edgeedge
The baseline is shorter than the new snapshot (1200x64 to 1200x900).
firefoxfirefox
The baseline is shorter than the new snapshot (1200x64 to 1200x900).
Fail
hooks.stories.ts
Found multiple elements with the text: Clicked 0 times

Here are the matching elements:

Ignored nodes: comments, script, style
<button
  type="button"
>
  Clicked 0 times
</button>

Ignored nodes: comments, script, style
<button
  type="button"
>
  Clicked 0 times
</button>

(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).

Ignored nodes: comments, script, style
<div
  id="storybook-root"
>
  <div
    class="css-ec0dpa"
    data-side="left"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
  <div
    class="css-b8mu1s"
    data-side="right"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
</div>

Ignored nodes: comments, script, style
<div
  id="storybook-root"
>
  <div
    class="css-ec0dpa"
    data-side="left"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
  <div
    class="css-b8mu1s"
    data-side="right"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
</div>
View in Storybook
Chrome 121
1200x900
Linux Linux Ubuntu 20.04.4
72dbdf on tom/23347-story-globals
Caught exception in play function

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

Error: Found multiple elements with the text: Clicked 0 times

Here are the matching elements:

Ignored nodes: comments, script, style
<button
  type="button"
>
  Clicked 0 times
</button>

Ignored nodes: comments, script, style
<button
  type="button"
>
  Clicked 0 times
</button>

(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).

Ignored nodes: comments, script, style
<div
  id="storybook-root"
>
  <div
    class="css-ec0dpa"
    data-side="left"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
  <div
    class="css-b8mu1s"
    data-side="right"
  >
    <button
      type="button"
    >
      Clicked 0 times
    </button>
  </div>
</div>
    at Ea (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-a2f9a4a0.js:143:3360)
    at https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-a2f9a4a0.js:151:235
    at sn.invoke (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-469d1c44.js:28:9372)
    at sn.intercept (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-469d1c44.js:28:6773)
    at sn.track (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-469d1c44.js:28:6505)
    at Object.findByText (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/index-469d1c44.js:28:5777)
    at play (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/assets/hooks.stories-a0bb9a2c.js:1:367)
    at https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/sb-preview/runtime.js:8267:60
    at pi.runPhase (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/sb-preview/runtime.js:8158:100)
    at pi.render (https://635781f3500dd2c49e189caf-svyjgyayuj.capture-loopback.chromatic.com/sb-preview/runtime.js:8267:25)