add StudioSearch component #20431
frontend-unit-tests.yml
on: push
CodeQL
4m 6s
Typechecking and linting
2m 11s
Testing
10m 50s
Annotations
2 errors and 3 warnings
TextEditor › updates search query when searching text:
frontend/app-development/features/textEditor/TextEditor.test.tsx#L58
TestingLibraryElementError: Unable to find an element by: [data-testid="text-editor-search-default"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="Toastify"
/>
<div
class="textEditor"
>
<div
class="textEditorMain"
>
<div
class="textEditorTopRow"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--first studioButton"
type="button"
>
[mockedText(text_editor.new_text)]
</button>
<div
class="filterAndSearch"
>
<button
aria-pressed="false"
class="fds-focus fds-chip--button fds-chip--md"
type="button"
>
<span
class="fds-paragraph fds-paragraph--md fds-paragraph--short fds-chip__label"
>
<span>
<div
class="sortAlphabetically"
>
[mockedText(text_editor.sort_alphabetically)]
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M16.47 21.03a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06l-2.22 2.22V9.5a.75.75 0 0 0-1.5 0v9.19l-2.22-2.22a.75.75 0 1 0-1.06 1.06zM4.03 7.53l2.22-2.22v9.19a.75.75 0 0 0 1.5 0V5.31l2.22 2.22a.75.75 0 1 0 1.06-1.06l-3.5-3.5a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
</div>
</span>
</span>
</button>
<div>
<div
class="fds-paragraph fds-paragraph--sm fds-search fds-search--sm"
>
<div
class="fds-search__field"
>
<div
class="fds-search__field fds-search--sm"
>
<svg
aria-hidden="true"
class="fds-search__icon"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25ZM4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0Z"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<input
class="fds-search__input fds-focus fds-search__input--simple"
id="search-:rp:"
name="q"
placeholder="[mockedText(text_editor.search_for_text)]"
size="27"
type="search"
value=""
/>
</div>
</div>
<div
aria-live="polite"
aria-relevant="additions removals"
class="fds-search__error-message"
id="search-error-:rp:"
/>
</div>
</div>
</div>
</div>
<div
class="textEditorBody"
>
<table
class="fds-paragraph fds-paragraph--md fds-table fds-table--md textListTable"
>
<thead
|
Testing
Process completed with exit code 1.
|
Typechecking and linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
CodeQL
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|