Skip to content

GlSorting story is currently broken

Visit https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-sorting--default, and see that the component doesn't render.

The console shows this, but it's not immediately clear whether it's the cause or a symtom or misleading:

TestingLibraryElementError: Unable to find an element by: [data-testid="base-dropdown-toggle"]

Ignored nodes: comments, script, style
<div
  class="vue-component-mounted"
  id="storybook-root"
>
  <div
    style="height: 150px; display: flex; justify-content: center; align-items: flex-start;"
  >
    <gl-sorting
      dropdown-class=""
      dropdown-toggle-class=""
      sort-by="first"
      sort-direction-toggle-class=""
      sort-options="[object Object],[object Object],[object Object]"
      text=""
    />
  </div>
</div>