Skip to content

fix(ui-byline): remove figure and figcaption #4592

fix(ui-byline): remove figure and figcaption

fix(ui-byline): remove figure and figcaption #4592

Triggered via pull request May 15, 2025 13:36
Status Failure
Total duration 8m 17s
Artifacts

pr-validation.yml

on: pull_request
Lint commit msg + code
4m 19s
Lint commit msg + code
Vitest unit tests
6m 27s
Vitest unit tests
Cypress component tests
8m 10s
Cypress component tests
Legacy unit tests
4m 30s
Legacy unit tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
packages/ui-byline/src/Byline/__new-tests__/Byline.test.tsx > <Byline /> > should render a figure by default: packages/ui-byline/src/Byline/__new-tests__/Byline.test.tsx#L133
TestingLibraryElementError: Unable to find an accessible element with the role "figure" Here are the accessible roles: presentation: Name "": <img alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <span class="css-kqa2br-byline css-h34iz2-view" dir="ltr" > <div class="css-38jyso-byline__figure" > <img alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /> </div> <div class="css-1waojem-byline__caption" > <span class="css-14ypku3-byline__title" > Test-title </span> <div class="css-1d60gjd-byline__description" > Test-description </div> </div> </span> </div> </body> ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ packages/ui-byline/src/Byline/__new-tests__/Byline.test.tsx:133:34
Vitest unit tests
Process completed with exit code 1.