Feat(figure): Add table figure support #158
Annotations
2 errors
|
test
Process completed with exit code 1.
|
|
[chromium] packages/react-tei/src/tags/Table.spec.tsx > Table > should render a table with caption, header, rows, and notes:
packages/react-tei/src/tags/Table.spec.tsx#L50
VitestBrowserElementError: Cannot find element with locator: locator('body').getByRole('note')
<body>
<div>
<div
class="MuiStack-root css-hwnj0i-MuiStack-root"
>
<div
class="MuiBox-root css-gwax9f"
>
<table
aria-labelledby="table_caption_t1"
class="MuiTable-root css-ao0lvw-MuiTable-root"
id="table-t1"
>
<caption
class="MuiTypography-root MuiTypography-body1 css-rizt0-MuiTypography-root"
id="table_caption_t1"
>
<div
class="MuiStack-root css-12djzut-MuiStack-root"
>
<button
aria-label="fullScreen.enter"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorPrimary MuiIconButton-sizeSmall css-10rc6rd-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="OpenInFullIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"
/>
</svg>
</button>
<div
class="MuiStack-root css-u2iubo-MuiStack-root"
>
<span
class="MuiBox-root css-0"
>
<span
class="MuiTypography-root MuiTypography-body1 css-1near0d-MuiTypography-root"
>
Table 1
</span>
Sample Table
</span>
</div>
</div>
</caption>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
/>
<tbody
class="MuiTableBody-root css-gmh7jj-MuiTableBody-root"
>
<tr
class="MuiTableRow-root css-1xtozoh-MuiTableRow-root"
>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1dc80h3-MuiTableCell-root"
>
Data 1
</td>
<td
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeMedium css-1dc80h3-MuiTableCell-root"
>
Data 2
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
❯ toBeVisible packages/react-tei/src/tags/Table.spec.tsx:50:35
|