Display docunit summary in category importer #15636
pipeline.yml
on: push
audit-licenses-frontend
26s
prep-playwright-tests
11s
backend-checks
/
scan-backend-changes
3s
frontend-checks
/
scan-frontend-changes
4s
backend-build-image-and-scan
3m 5s
frontend-build-image-and-scan
1m 46s
generate-backend-code-documentation
1m 17s
generate-entity-relationship-diagram
0s
backend-checks
/
backend-unit-tests
0s
backend-checks
/
backend-integration-tests
0s
backend-checks
/
analyze-backend
0s
frontend-checks
/
frontend-tests
1m 29s
frontend-checks
/
frontend-style
2m 27s
frontend-checks
/
analyze-frontend
1m 59s
Matrix: e2e-tests / e2e-matrix
Waiting for pending jobs
query-performance-tests
/
playwright-test
push-reports
0s
deploy-uat
0s
Annotations
7 errors and 14 warnings
test/components/category-import/categoryImport.spec.ts > CategoryImport > displays core data when document unit found:
frontend/test/components/category-import/categoryImport.spec.ts#L113
TestingLibraryElementError: Unable to find an element with the text: AG Aachen. 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
data-testid="category-import"
>
<span
class="ds-label-01-bold"
>
Rubriken importieren
</span>
<div
class="mt-16 flex flex-row items-end gap-8"
>
<div
class="flex-start flex w-full gap-4 flex-col"
>
<div
class="flex flex-row items-center"
data-testid="label-wrapper"
>
<label
class="grid items-center ds-label-02-reg"
for="categoryImporterDocumentNumber"
>
<span>
Dokumentnummer
</span>
</label>
</div>
<div
class="flex flex-row items-center"
>
<input
aria-label="Dokumentnummer Eingabefeld"
class="ds-input ds-input-medium"
data-testid=""
id="categoryImporterDocumentNumber"
tabindex="0"
type="text"
/>
</div>
</div>
<div
class="w-max"
data-testid=""
data-v-1ee8e33a=""
>
<button
aria-label="Dokumentationseinheit laden"
class="ds-button ds-button-medium ds-button-primary ds-button-with-icon ds-button-with-icon-only"
data-v-1ee8e33a=""
href="about:blank"
>
<svg
class="ds-button-icon"
height="1.34em"
viewBox="0 0 24 24"
width="1.34em"
>
<path
d="M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14"
fill="currentColor"
/>
</svg>
</button>
</div>
</div>
<div
class="ds-label-01-reg mt-24 flex flex-col gap-16 bg-blue-100 p-16"
>
<span>
AG Aachen, 01.02.2022, file-123
<div
class="ds-label-02-reg w-[fit-content] rounded-full px-4 py-2 bg-blue-300 ml-4 inline-block"
>
<span
class="mx-2 align-middle"
>
Unveröffentlicht
</span>
</div>
<span
class="ds-label-01-reg ml-8 mr-8"
>
|
</span>
<a
class="nowrap ds-link-01-bold border-b-2 border-blue-800 leading-24 no-underline focus:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800"
href="/caselaw/documentUnit/XXRE123456789/preview"
tabindex="-1"
target="_blank"
>
XXRE123456789
<svg
class="mb-4 inline w-24"
height="1.34em"
viewBox="0 0 24 24"
width="1.34em"
>
<path
d="M6 6v2h8.59L5 17.59L6.41 19L16 9.41V18h2V6z"
fill="currentColor"
/>
</svg>
</a>
</span>
<div
class="flex flex-row items-center gap-16"
>
<div
class="w-max"
data-testid=""
data-v-1ee8e33a=""
>
<button
aria-label="Schlagwörter übernehmen"
class="ds-button ds-button-medium ds-button-primary ds-button-with-icon ds-button-with-icon-only"
data-v-1ee8e33a=""
disabled=""
href="about:blank"
>
<svg
class="ds-button-icon"
|
test/components/category-import/categoryImport.spec.ts > CategoryImport > displays core data when document unit found:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
hi { publicationStatus: 'UNPUBLISHED' }
at Console.captureMessage [as log] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at Proxy.get renderDecision (/home/runner/work/ris-backend-service/ris-backend-service/frontend/src/domain/documentUnit.ts:251:13)
at Reflect.get (<anonymous>)
at MutableReactiveHandler.get (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:949:25)
at Proxy._sfc_render (/home/runner/work/ris-backend-service/ris-backend-service/frontend/src/components/category-import/CategoryImport.vue:79:33)
at renderComponentRoot (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6445:16)
at ReactiveEffect.componentUpdateFn [as fn] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5340:26)
at ReactiveEffect.run (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:229:19)
at ReactiveEffect.runIfDirty (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:267:12)
at callWithErrorHandling (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:33)
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
frontend-checks / frontend-tests
Process completed with exit code 1.
|
test/components/category-import/categoryImport.spec.ts > CategoryImport > displays core data when document unit found:
frontend/test/components/category-import/categoryImport.spec.ts#L113
TestingLibraryElementError: Unable to find an element with the text: AG Aachen. 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
data-testid="category-import"
>
<span
class="ds-label-01-bold"
>
Rubriken importieren
</span>
<div
class="mt-16 flex flex-row items-end gap-8"
>
<div
class="flex-start flex w-full gap-4 flex-col"
>
<div
class="flex flex-row items-center"
data-testid="label-wrapper"
>
<label
class="grid items-center ds-label-02-reg"
for="categoryImporterDocumentNumber"
>
<span>
Dokumentnummer
</span>
</label>
</div>
<div
class="flex flex-row items-center"
>
<input
aria-label="Dokumentnummer Eingabefeld"
class="ds-input ds-input-medium"
data-testid=""
id="categoryImporterDocumentNumber"
tabindex="0"
type="text"
/>
</div>
</div>
<div
class="w-max"
data-testid=""
data-v-1ee8e33a=""
>
<button
aria-label="Dokumentationseinheit laden"
class="ds-button ds-button-medium ds-button-primary ds-button-with-icon ds-button-with-icon-only"
data-v-1ee8e33a=""
href="about:blank"
>
<svg
class="ds-button-icon"
height="1.34em"
viewBox="0 0 24 24"
width="1.34em"
>
<path
d="M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5A6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5S14 7.01 14 9.5S11.99 14 9.5 14"
fill="currentColor"
/>
</svg>
</button>
</div>
</div>
<div
class="ds-label-01-reg mt-24 flex flex-col gap-16 bg-blue-100 p-16"
>
<span>
AG Aachen, 01.02.2022, file-123
<div
class="ds-label-02-reg w-[fit-content] rounded-full px-4 py-2 bg-blue-300 ml-4 inline-block"
>
<span
class="mx-2 align-middle"
>
Unveröffentlicht
</span>
</div>
<span
class="ds-label-01-reg ml-8 mr-8"
>
|
</span>
<a
class="nowrap ds-link-01-bold border-b-2 border-blue-800 leading-24 no-underline focus:outline-none focus-visible:outline-4 focus-visible:outline-offset-4 focus-visible:outline-blue-800"
href="/caselaw/documentUnit/XXRE123456789/preview"
tabindex="-1"
target="_blank"
>
XXRE123456789
<svg
class="mb-4 inline w-24"
height="1.34em"
viewBox="0 0 24 24"
width="1.34em"
>
<path
d="M6 6v2h8.59L5 17.59L6.41 19L16 9.41V18h2V6z"
fill="currentColor"
/>
</svg>
</a>
</span>
<div
class="flex flex-row items-center gap-16"
>
<div
class="w-max"
data-testid=""
data-v-1ee8e33a=""
>
<button
aria-label="Schlagwörter übernehmen"
class="ds-button ds-button-medium ds-button-primary ds-button-with-icon ds-button-with-icon-only"
data-v-1ee8e33a=""
disabled=""
href="about:blank"
>
<svg
class="ds-button-icon"
|
test/components/category-import/categoryImport.spec.ts > CategoryImport > displays core data when document unit found:
frontend/node_modules/jest-fail-on-console/index.js#L48
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
hi { publicationStatus: 'UNPUBLISHED' }
at Console.captureMessage [as log] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/jest-fail-on-console/index.js:83:25)
at Proxy.get renderDecision (/home/runner/work/ris-backend-service/ris-backend-service/frontend/src/domain/documentUnit.ts:251:13)
at Reflect.get (<anonymous>)
at MutableReactiveHandler.get (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:949:25)
at Proxy._sfc_render (/home/runner/work/ris-backend-service/ris-backend-service/frontend/src/components/category-import/CategoryImport.vue:79:33)
at renderComponentRoot (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6445:16)
at ReactiveEffect.componentUpdateFn [as fn] (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5340:26)
at ReactiveEffect.run (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:229:19)
at ReactiveEffect.runIfDirty (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js:267:12)
at callWithErrorHandling (/home/runner/work/ris-backend-service/ris-backend-service/frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:33)
❯ flushUnexpectedConsoleCalls node_modules/jest-fail-on-console/index.js:48:13
❯ node_modules/jest-fail-on-console/index.js:145:7
|
frontend-checks / analyze-frontend
Process completed with exit code 1.
|
generate-test-reports
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/ris-backend-service/ris-backend-service/./frontend/all-blob-reports'. No such file or directory
|
backend-checks / scan-backend-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / scan-frontend-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prep-playwright-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
audit-licenses-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
audit-licenses-backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
generate-backend-code-documentation
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / frontend-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-build-image-and-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / analyze-frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
frontend-checks / frontend-style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
backend-build-image-and-scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
push-backend-image-to-registry
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
generate-test-reports
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
backend-code-documentation
Expired
|
1.92 MB |
|
licence-reports-backend
Expired
|
5.03 KB |
|
licence-reports-frontend
Expired
|
2.3 KB |
|
performance-report
|
2.34 KB |
|
trivy-results-backend.sarif
|
2.5 KB |
|
vuln-backend.json
|
23.5 KB |
|
vuln-frontend.json
|
4.36 KB |
|