make data model name bold using Trans #15306
Annotations
3 errors
frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx#L78
TestingLibraryElementError: Unable to find an element with the text: [mockedText(schema_editor.delete_model_confirm, {"schemaName":"dataModel1"})]. 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>
<div>
<div
class="Toastify"
/>
<div>
<button
aria-controls=":r0:"
aria-expanded="true"
aria-haspopup="dialog"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--danger undefined"
data-state="open"
id="delete-model-button"
type="button"
>
<span>
<span
aria-hidden="true"
>
<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="M4.5 6.25a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.876-11.384h.805a.75.75 0 0 0 0-1.5h-2.75V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5Zm5.5-1.5c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25h-4Zm-3.19 3 .867 11.27c.01.13.118.23.249.23h8.148c.13 0 .24-.1.25-.23l.866-11.27H6.81Zm3.19 2a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75Zm4 0a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75Z"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
</span>
[mockedText(schema_editor.delete_data_model)]
</span>
</button>
<div
class="fds-legacy-popover-popover-ca920cba fds-legacy-popover-warning-ca920cba"
data-placement="bottom"
id=":r0:"
role="dialog"
style="position: absolute; top: 12px; left: 5px;"
tabindex="-1"
>
<p>
[mockedText(schema_editor.delete_model_confirm)]
</p>
<div>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--danger undefined"
type="button"
>
[mockedText(schema_editor.confirm_deletion)]
</button>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--second undefined"
type="button"
>
[mockedText(general.cancel)]
</button>
</div>
<div
class="fds-legacy-popover-arrow-ca920cba"
style="top: -7px; left: -1px;"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (../node_modules/@testing-library/dom/dist/config.js:37:19)
at ../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at ../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at ../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at getByText (app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx:78:39)
at Object.getDeleteMessage (app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx:55:12)
|
frontend/app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx#L78
TestingLibraryElementError: Unable to find an element with the text: [mockedText(schema_editor.delete_model_confirm, {"schemaName":"dataModel1"})]. 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>
<div>
<div
class="Toastify"
/>
<div>
<button
aria-controls=":r6:"
aria-expanded="true"
aria-haspopup="dialog"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--danger undefined"
data-state="open"
id="delete-model-button"
type="button"
>
<span>
<span
aria-hidden="true"
>
<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="M4.5 6.25a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.876-11.384h.805a.75.75 0 0 0 0-1.5h-2.75V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5Zm5.5-1.5c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25h-4Zm-3.19 3 .867 11.27c.01.13.118.23.249.23h8.148c.13 0 .24-.1.25-.23l.866-11.27H6.81Zm3.19 2a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75Zm4 0a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75Z"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
</span>
[mockedText(schema_editor.delete_data_model)]
</span>
</button>
<div
class="fds-legacy-popover-popover-ca920cba fds-legacy-popover-warning-ca920cba"
data-placement="bottom"
id=":r6:"
role="dialog"
style="position: absolute; top: 12px; left: 5px;"
tabindex="-1"
>
<p>
[mockedText(schema_editor.delete_model_confirm)]
</p>
<div>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--danger undefined"
type="button"
>
[mockedText(schema_editor.confirm_deletion)]
</button>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--second undefined"
type="button"
>
[mockedText(general.cancel)]
</button>
</div>
<div
class="fds-legacy-popover-arrow-ca920cba"
style="top: -7px; left: -1px;"
/>
</div>
</div>
</div>
</body>
at Object.getElementError (../node_modules/@testing-library/dom/dist/config.js:37:19)
at ../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at ../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at ../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at getByText (app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx:78:39)
at Object.getDeleteMessage (app-development/features/dataModelling/SchemaEditorWithToolbar/TopToolbar/DeleteWrapper.test.tsx:69:12)
|
|
This job failed
Loading