Unify and slightly reword account deletion #7056
ci.yml
on: pull_request
Install deps
14s
Build Self Hosted Image
/
Build Self Hosted App
4m 17s
Codecov Startup
/
Codecov Startup
17s
Generate runner indexes Vitest
4s
Run Lint
1m 14s
Run Type Checker
45s
Run Prettier Check
31s
Upload Bundle Stats - Production
1m 49s
Upload Bundle Stats - Staging
1m 47s
Run storybook
1m 40s
Run Fossa
11s
Build Self Hosted Image
/
Push Self Hosted Image
0s
Build Self Hosted Image
/
Push Self Hosted Release Image
0s
Matrix: test-vitest
Build App
0s
Push Self Hosted Image
/
Push Self Hosted Image
Push Self Hosted Image
/
Push Self Hosted Release Image
Annotations
19 errors
src/pages/AccountSettings/tabs/Admin/Admin.test.jsx > AdminTab > when rendered for user > renders the DeletionCard:
src/pages/AccountSettings/tabs/Admin/Admin.test.jsx#L127
TestingLibraryElementError: Unable to find an element with the text: /DeletionCard/. 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>
<div
class="flex flex-col gap-8 lg:w-3/4"
>
DetailsSection
StudentSection
<hr />
GithubIntegrationSection
<hr />
<div
class="flex flex-col gap-4"
>
<h2
class="text-lg font-semibold"
>
Delete account
</h2>
<article
class="border border-ds-gray-secondary rounded p-6"
>
<p>
Erase my personal account and all my repositories.
<a
class="
font-sans cursor-pointer
hover:underline
focus:ring-2
text-ds-blue-default inline-flex items-center gap-1"
data-cy="support"
data-marketing="support"
href="https://codecovpro.zendesk.com/hc/en-us"
target="_blank"
>
Contact support
<span
class="text-ds-gray-quinary"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</a>
</p>
</article>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col gap-8 lg:w-3/4"
>
DetailsSection
StudentSection
<hr />
GithubIntegrationSection
<hr />
<div
class="flex flex-col gap-4"
>
<h2
class="text-lg font-semibold"
>
Delete account
</h2>
<article
class="border border-ds-gray-secondary rounded p-6"
>
<p>
Erase my personal account and all my repositories.
<a
class="
font-sans cursor-pointer
hover:underline
focus:ring-2
text-ds-blue-default inline-flex items-center gap-1"
data-cy="support"
data-marketing="support"
href="https://codecovpro.zendesk.com/hc/en-us"
target="_blank"
>
Contact support
<span
class="text-ds-gray-quinary"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</a>
</p>
</article>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/pages/AccountSettings/tabs/Admin/Admin.test.jsx:127:33
|
src/pages/AccountSettings/tabs/Admin/Admin.test.jsx > AdminTab > when rendered for organization > renders the DeletionCard:
src/pages/AccountSettings/tabs/Admin/Admin.test.jsx#L154
TestingLibraryElementError: Unable to find an element with the text: /DeletionCard/. 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>
<div
class="flex flex-col gap-8 lg:w-3/4"
>
DetailsSection
StudentSection
<hr />
GithubIntegrationSection
<hr />
<div
class="flex flex-col gap-4"
>
<h2
class="text-lg font-semibold"
>
Delete account
</h2>
<article
class="border border-ds-gray-secondary rounded p-6"
>
<p>
Erase my personal account and all my repositories.
<a
class="
font-sans cursor-pointer
hover:underline
focus:ring-2
text-ds-blue-default inline-flex items-center gap-1"
data-cy="support"
data-marketing="support"
href="https://codecovpro.zendesk.com/hc/en-us"
target="_blank"
>
Contact support
<span
class="text-ds-gray-quinary"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</a>
</p>
</article>
</div>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div
class="flex flex-col gap-8 lg:w-3/4"
>
DetailsSection
StudentSection
<hr />
GithubIntegrationSection
<hr />
<div
class="flex flex-col gap-4"
>
<h2
class="text-lg font-semibold"
>
Delete account
</h2>
<article
class="border border-ds-gray-secondary rounded p-6"
>
<p>
Erase my personal account and all my repositories.
<a
class="
font-sans cursor-pointer
hover:underline
focus:ring-2
text-ds-blue-default inline-flex items-center gap-1"
data-cy="support"
data-marketing="support"
href="https://codecovpro.zendesk.com/hc/en-us"
target="_blank"
>
Contact support
<span
class="text-ds-gray-quinary"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
/>
</svg>
</span>
</a>
</p>
</article>
</div>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/pages/AccountSettings/tabs/Admin/Admin.test.jsx:154:33
|
Test Runner #0 - Vitest
Process completed with exit code 1.
|
Test Runner #3 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #3 - Vitest
The operation was canceled.
|
Test Runner #5 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #5 - Vitest
The operation was canceled.
|
Test Runner #7 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #7 - Vitest
The operation was canceled.
|
Test Runner #6 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #6 - Vitest
The operation was canceled.
|
Test Runner #8 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #8 - Vitest
The operation was canceled.
|
Test Runner #4 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #4 - Vitest
The operation was canceled.
|
Test Runner #2 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #2 - Vitest
The operation was canceled.
|
Test Runner #1 - Vitest
The job was canceled because "_0" failed.
|
Test Runner #1 - Vitest
The operation was canceled.
|