feat(dedicated): delete vrack from billing autorenew page #38400
Annotations
5 errors and 1 warning
Run tests Turbo:
packages/manager/apps/vrack-services/src/components/ErrorPage.component.tsx#L89
TypeError: Expected container to be an Element, a Document or a DocumentFragment but got null.
Ignored nodes: comments, script, style
<html>
<head />
<body
style=""
>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'headers')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'headers')
at ErrorPage (/home/runner/work/manager/manager/packages/manager/apps/vrack-services/src/components/ErrorPage.component.tsx:89:21)
at renderWithHooks (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performSyncWorkOnRoot (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26096:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>
❯ ErrorPage src/components/ErrorPage.component.tsx:89:21
❯ renderWithHooks ../../../../node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../../../node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../../../node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../../../node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../../../node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../../../node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync ../../../../node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError ../../../../node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ checkContainerType ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:219:11
❯ queryAllByText ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1446:3
❯ ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1197:17
❯ ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1178:17
❯ ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1221:19
❯ ../../core/test-utils/src/utils/ui-test-helpers-ods17.ts:33:55
❯ runWithExpensiveErrorDiagnosticsDisabled ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:342:12
❯ checkCallback ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1090:24
❯ Timeout.checkRealTimersCallback ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1084:16
|
Run tests Turbo:
packages/manager/apps/vrack-services/src/components/ErrorPage.component.tsx#L89
Error: expect(received).not.toHaveAttribute()
received value must be an HTMLElement or an SVGElement.
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'headers')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'headers')
at ErrorPage (/home/runner/work/manager/manager/packages/manager/apps/vrack-services/src/components/ErrorPage.component.tsx:89:21)
at renderWithHooks (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performSyncWorkOnRoot (/home/runner/work/manager/manager/node_modules/react-dom/cjs/react-dom.development.js:26096:20)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
</html>...
❯ ErrorPage src/components/ErrorPage.component.tsx:89:21
❯ renderWithHooks ../../../../node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent ../../../../node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork ../../../../node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 ../../../../node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork ../../../../node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync ../../../../node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync ../../../../node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError ../../../../node_modules/react-dom/cjs/react-dom.development.js:25850:20
❯ src/test-utils/uiTestHelpers.ts:99:28
❯ runWithExpensiveErrorDiagnosticsDisabled ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:342:12
❯ checkCallback ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1090:24
❯ Timeout.checkRealTimersCallback ../../../../node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js:1084:16
|
Run tests Turbo:
node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js#L332
TestingLibraryElementError: Unable to find an element with the text: Plage d'adresses du sous-réseau (CIDR). 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>
<section
class="px-5 py-4"
>
<osds-breadcrumb
class="mb-4"
role="navigation"
/>
<div
class="py-4"
>
<osds-text
class="block mb-5"
color="text"
hue="500"
level="heading"
size="600"
style="--osds-text-color-specific-hue: var(--ods-color-text-500);"
>
vRack Services
</osds-text>
<osds-text
class="block mb-8"
color="default"
hue="500"
level="body"
size="400"
style="--osds-text-color-specific-hue: var(--ods-color-default-500);"
>
Le produit vRack Services vous permet de bénéficier de services réseau sur le vRack. En créant un Service Endpoint, vous pouvez exposer, avec une adresse IP privée, un service managé par OVHcloud sur votre vRack.
</osds-text>
</div>
<osds-tabs
panel="subnets"
size="md"
>
<osds-tab-bar
role="tablist"
size="md"
slot="top"
>
<a
aria-current="page"
class="no-underline active pending"
href="/vrs-ar7-72w-poh-3qe"
>
<osds-tab-bar-item
panel="overview"
role="tab"
tabindex="0"
>
Général
</osds-tab-bar-item>
</a>
<a
aria-current="page"
class="no-underline active pending"
href="/vrs-ar7-72w-poh-3qe/subnets"
>
<osds-tab-bar-item
active=""
panel="subnets"
role="tab"
tabindex="0"
>
Sous-réseau
</osds-tab-bar-item>
</a>
<a
class="no-underline"
href="/vrs-ar7-72w-poh-3qe/endpoints"
>
<osds-tab-bar-item
panel="endpoints"
role="tab"
tabindex="0"
>
Service Endpoints
</osds-tab-bar-item>
</a>
</osds-tab-bar>
</osds-tabs>
<section
class="px-5 py-4"
>
<osds-message
class="mt-4"
color="info"
tabindex="-1"
type="info"
>
<osds-text
color="text"
hue="500"
level="body"
size="400"
style="--osds-text-color-specific-hue: var(--ods-color-text-500);"
>
Vous ne pouvez créer qu'un sous-réseau par vRack Services pour le moment.
</osds-text>
</osds-message>
<osds-button
class="my-4"
color="primary"
disabled=""
inline=""
size="sm"
tabindex="-1"
text-align="center"
type="button"
variant="stroked"
>
Créer un sous-réseau
<span
slot="start"
>
<osds-icon
alt=""
aria-hidden=""
aria-name=""
class="ods-icon"
color="primary"
name="add"
size="xs"
style="--icon-mask-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23000000' fill-rule='evenodd' d='M12 3a1 1 0 011 1v7h7a1 1 0 010 2h-7v7a1 1 0 01-2 0v-7H4a1 1 0 010-2h7V4a1 1 0 011-1z'/%3E%3C/svg%3E\");"
/>
</span>
</osds-button>
<section>
<div>
<div
class="contents px-[1px] pb-[200px] -mx-6"
>
<osds-table
class="overflow-x-visi
|
Run tests Turbo
@ovh-ux/manager-vrack-services-app#test: command (/home/runner/work/manager/manager/packages/manager/apps/vrack-services) /tmp/yarn--1737103875797-0.2516496216079078/yarn run test exited (1)
|
Run tests Turbo
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