WD-17065 - chore(tests): add tests for the identity list #387
Annotations
2 errors and 1 warning
Run yarn --cwd ui test-js --coverage.enabled true:
ui/src/pages/identities/IdentityList/IdentityList.test.tsx#L93
TestingLibraryElementError: Unable to find an element by: [data-testid="DeleteIdentityBtn"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="p-panel"
>
<div
class="p-panel__header "
>
<div
class="p-panel__title"
>
<h1
class="p-heading--4 u-no-margin--bottom"
>
Identities
</h1>
</div>
<div
class="p-panel__controls"
>
<button
class="p-button--positive"
>
Add identity
</button>
</div>
</div>
<div
class="p-panel__content"
>
<div
class="row"
>
<div
class="col-12"
>
<table
class="u-table-layout--auto p-table--mobile-card"
role="grid"
>
<thead>
<tr
role="row"
>
<th
role="columnheader"
>
Id
</th>
<th
role="columnheader"
>
Schema
</th>
<th
role="columnheader"
>
Created at
</th>
<th
role="columnheader"
>
Actions
</th>
</tr>
</thead>
<tbody>
<tr
role="row"
>
<td
aria-hidden="false"
class=""
data-heading="Id"
role="rowheader"
>
unfortunate
</td>
<td
aria-hidden="false"
class=""
data-heading="Schema"
role="gridcell"
>
formula
</td>
<td
aria-hidden="false"
class=""
data-heading="Created at"
role="gridcell"
/>
<td
aria-hidden="false"
class=""
data-heading="Actions"
role="gridcell"
>
<button
class="u-no-margin--bottom p-action-button p-button"
title="Delete identity"
>
Delete
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div />
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="p-panel"
>
<div
class="p-panel__header "
>
<div
class="p-panel__title"
>
<h1
class="p-heading--4 u-no-margin--bottom"
>
Identities
</h1>
</div>
<div
class="p-panel__controls"
>
<button
class="p-button--positive"
>
Add identity
</button>
</div>
</div>
<div
class="p-panel__content"
>
<div
class="row"
>
<div
class="col-12"
>
<table
class="u-table-layout--auto p-table--mobile-card"
role="grid"
>
<thead>
<tr
role="row"
>
<th
role="columnheader"
>
Id
</th>
<th
role="columnheader"
>
Schema
</th>
|
Run yarn --cwd ui test-js --coverage.enabled true
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading