feat: Certificate Requests Table Query #207
main.yml
on: pull_request
build-nextjs
/
nextjs-build
39s
unit-test-frontend
/
nextjs-unit-tests
14s
unit-test-gocert
/
go-unit-tests
23s
go-vet
/
go-vet
14s
go-lint
/
lint
22s
build-gocert
/
go-build
13s
Annotations
3 errors and 1 warning
src/app/certificate_requests/row.test.tsx > Certificate Requests Table Row:
ui/src/app/certificate_requests/row.test.tsx#L59
TestingLibraryElementError: Unable to find an element with the text: Thu Mar 27 2025 15:48:04 GMT+0300 (GMT+03:00). 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>
<tr>
<td
class=""
data-test-column="id"
width="5"
>
1
</td>
<td
class=""
>
<button
aria-controls="expanded-row"
aria-expanded="false"
class="u-toggle p-contextual-menu__toggle p-button--base is-small"
>
<i
class="p-icon--chevron-down p-contextual-menu__indicator"
/>
</button>
<span>
10.152.183.53
</span>
</td>
<td
class=""
data-test-column="status"
>
fulfilled
</td>
<td
class=""
data-test-column="status"
>
Thu Mar 27 2025 12:48:04 GMT+0000 (Coordinated Universal Time)
</td>
<td
class="has-overflow"
data-heading="Actions"
>
<span
class="p-contextual-menu--center u-no-margin--bottom"
>
<button
aria-controls="action-menu"
aria-expanded="false"
aria-haspopup="true"
aria-label="action-menu-button"
class="p-contextual-menu__toggle p-button--base is-small u-no-margin--bottom"
>
<i
class="p-icon--menu p-contextual-menu__indicator"
/>
</button>
<span
aria-hidden="true"
class="p-contextual-menu__dropdown"
id="action-menu"
>
<span
class="p-contextual-menu__group"
>
<button
class="p-contextual-menu__link"
>
Copy Certificate Request to Clipboard
</button>
<button
class="p-contextual-menu__link"
>
Download Certificate Request
</button>
<button
class="p-contextual-menu__link"
>
Reject Certificate Request
</button>
<button
class="p-contextual-menu__link"
>
Delete Certificate Request
</button>
</span>
<span
class="p-contextual-menu__group"
>
<button
class="p-contextual-menu__link"
>
Upload Certificate
</button>
<button
class="p-contextual-menu__link"
>
Revoke Certificate
</button>
</span>
</span>
</span>
</td>
<td
aria-hidden="true"
class="p-table__expanding-panel"
id="expanded-row"
>
<div
class="row"
>
<div
class="col-8"
>
<p>
<b>
Common Name
</b>
:
10.152.183.53
</p>
</div>
</div>
</td>
</tr>
</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
❯ src/app/certificate_requests/row.test.tsx:59:19
|
unit-test-frontend / nextjs-unit-tests
Process completed with exit code 1.
|
rock-build / build-rock
Process completed with exit code 1.
|
rock-build / build-rock
Rockcraft revision not provided. Installing from stable
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
frontend-static-files
Expired
|
352 KB |
|