Add network select to network config table #872
pr.yaml
on: pull_request
Run PR checks
/
node-ci
5m 40s
Annotations
4 errors and 1 warning
src/features/applications/components/application-method-definitions.test.tsx > application-method-definitions > test-arc56-app-spec > when a wallet is connected > when calling foo method > allows edit:
src/features/applications/components/application-method-definitions.test.tsx#L1813
TestingLibraryElementError: Unable to find role="menuitem" and name "Edit"
Ignored nodes: comments, script, style
<body>
<div />
<div />
<div>
<div
class="mb-4 mt-2 flex h-10 items-center"
>
<h1
class="text-nowrap"
>
Application
</h1>
</div>
<div
class="space-y-4"
>
<div
aria-label="Application Details"
class="rounded-lg border bg-card text-card-foreground shadow-sm p-4 [&:has(_h2)]:pt-2.5"
>
<div
class="text-sm"
>
<div
class="flex gap-2"
>
<div
class="grid grid-cols-[minmax(min-content,auto)_1fr] gap-x-4 gap-y-1.5"
>
<dl
class="grid grid-cols-subgrid col-span-2"
>
<dt
class="font-medium"
>
Application ID
</dt>
<dd
class="overflow-ellipsis whitespace-normal overflow-hidden"
>
<div
class="flex flex-wrap items-center gap-2"
>
<div
class="flex items-center overflow-hidden"
>
<span
class="truncate"
>
1078
</span>
<button
aria-label="Copy"
class="relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 align-middle ml-1 size-4 hover:text-foreground/60"
>
<svg
class="lucide lucide-copy "
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="14"
rx="2"
ry="2"
width="14"
x="8"
y="8"
/>
<path
d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"
/>
</svg>
</button>
</div>
</div>
</dd>
</dl>
<dl
class="grid grid-cols-subgrid col-span-2"
>
<dt
class="font-medium"
>
Creator
</dt>
<dd
class="overflow-ellipsis whitespace-normal overflow-hidden"
>
<div
class="flex items-center overflow-hidden"
>
<a
class="text-primary underline truncate"
href="/localnet/account/PCBGF5NJY3O52EKA3HJQST73UX7HV5VV6OIOXB3GFDOWNS4SV4CIJ5J2JU"
>
PCBGF5NJY3O52EKA3HJQST73UX7HV5VV6OIOXB3GFDOWNS4SV4CIJ5J2JU
</a>
<button
aria-label="Copy"
class="relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disable
|
src/features/settings/pages/settings-page.test.tsx > settings-page > when viewing > the network table should be visible:
src/tests/assertions/table-assertion.ts#L26
AssertionError: expected '' to be 'LocalNet' // Object.is equality
- Expected
+ Received
- LocalNet
❯ forEach src/tests/assertions/table-assertion.ts:26:64
❯ forEach src/tests/assertions/table-assertion.ts:25:15
❯ Module.tableAssertion src/tests/assertions/table-assertion.ts:23:8
❯ src/features/settings/pages/settings-page.test.tsx:15:11
❯ Module.executeComponentTest src/tests/test-component.tsx:11:3
|
src/features/settings/pages/settings-page.test.tsx > settings-page > when creating a new network > should succeed:
src/tests/assertions/table-assertion.ts#L26
AssertionError: expected '' to be 'LocalNet' // Object.is equality
- Expected
+ Received
- LocalNet
❯ forEach src/tests/assertions/table-assertion.ts:26:64
❯ forEach src/tests/assertions/table-assertion.ts:25:15
❯ Module.tableAssertion src/tests/assertions/table-assertion.ts:23:8
❯ src/features/settings/pages/settings-page.test.tsx:55:11
❯ Module.executeComponentTest src/tests/test-component.tsx:11:3
|
Run PR checks / node-ci
Process completed with exit code 1.
|
Run PR checks / node-ci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|