simplify studioToggleableTextfield some #20628
frontend-unit-tests.yml
on: push
CodeQL
4m 15s
Typechecking and linting
1m 0s
Testing
11m 17s
Annotations
14 errors and 3 warnings
Typechecking and linting:
frontend/testing/playwright/pages/ProcessEditorPage/ProcessEditorPage.ts#L89
Argument of type '"process_editor.configuration_panel_change_task_id"' is not assignable to parameter of type 'TextKey'.
|
Typechecking and linting:
frontend/testing/playwright/pages/ProcessEditorPage/ProcessEditorPage.ts#L97
Argument of type '"process_editor.configuration_panel_change_task_id"' is not assignable to parameter of type 'TextKey'.
|
Typechecking and linting:
frontend/testing/playwright/pages/ProcessEditorPage/ProcessEditorPage.ts#L105
Argument of type '"process_editor.configuration_panel_change_task_id"' is not assignable to parameter of type 'TextKey'.
|
Typechecking and linting:
frontend/testing/playwright/pages/ProcessEditorPage/ProcessEditorPage.ts#L112
Argument of type '"process_editor.configuration_panel_change_task_id"' is not assignable to parameter of type 'TextKey'.
|
Typechecking and linting:
frontend/testing/playwright/pages/ProcessEditorPage/ProcessEditorPage.ts#L120
Argument of type '"process_editor.configuration_panel_change_task_id"' is not assignable to parameter of type 'TextKey'.
|
Typechecking and linting
Process completed with exit code 2.
|
CustomReceipt › calls "mutateLayoutSetId" when the layoutSet id is changed:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L54
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model, {"dataModelName":"dataTypeId1"})]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model, {\"dataModelName\":\"dataTypeId1\"})]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton withValue studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_label)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
img:
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="im
|
CustomReceipt › does not call "mutateLayoutSetId" when the layoutSet id is changed to the original id:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L79
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model, {"dataModelName":"dataTypeId1"})]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model, {\"dataModelName\":\"dataTypeId1\"})]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton withValue studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_label)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
img:
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="im
|
CustomReceipt › shows correct errormessage when layoutSetId is Receipt/:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L132
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model_link)]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M19.638 4.417a3.25 3.25 0 0 0-4.608-.008l-9.378 9.379a.75.75 0 0 0-.191.324l-1.414 4.95a.75.75 0 0 0 .925.927l4.94-1.398a.75.75 0 0 0 .327-.191l9.39-9.391a3.25 3.25 0 0 0 .01-4.592M16.091 5.47a1.752 1.752 0 1 1 2.478 2.478l-.23.23-2.477-2.479zM14.8 6.76 6.85 14.71l-.991 3.47 3.457-.979 7.96
|
CustomReceipt › shows correct errormessage when layoutSetId is:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L132
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model_link)]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M19.638 4.417a3.25 3.25 0 0 0-4.608-.008l-9.378 9.379a.75.75 0 0 0-.191.324l-1.414 4.95a.75.75 0 0 0 .925.927l4.94-1.398a.75.75 0 0 0 .327-.191l9.39-9.391a3.25 3.25 0 0 0 .01-4.592M16.091 5.47a1.752 1.752 0 1 1 2.478 2.478l-.23.23-2.477-2.479zM14.8 6.76 6.85 14.71l-.991 3.47 3.457-.979 7.96
|
CustomReceipt › shows correct errormessage when layoutSetId is layoutSetName1:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L132
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model_link)]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M19.638 4.417a3.25 3.25 0 0 0-4.608-.008l-9.378 9.379a.75.75 0 0 0-.191.324l-1.414 4.95a.75.75 0 0 0 .925.927l4.94-1.398a.75.75 0 0 0 .327-.191l9.39-9.391a3.25 3.25 0 0 0 .01-4.592M16.091 5.47a1.752 1.752 0 1 1 2.478 2.478l-.23.23-2.477-2.479zM14.8 6.76 6.85 14.71l-.991 3.47 3.457-.979 7.96
|
CustomReceipt › shows correct errormessage when layoutSetId is testId:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceipt/CustomReceipt.test.tsx#L132
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model_link)]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_link)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M19.638 4.417a3.25 3.25 0 0 0-4.608-.008l-9.378 9.379a.75.75 0 0 0-.191.324l-1.414 4.95a.75.75 0 0 0 .925.927l4.94-1.398a.75.75 0 0 0 .327-.191l9.39-9.391a3.25 3.25 0 0 0 .01-4.592M16.091 5.47a1.752 1.752 0 1 1 2.478 2.478l-.23.23-2.477-2.479zM14.8 6.76 6.85 14.71l-.991 3.47 3.457-.979 7.96
|
CustomReceiptContent › shows the custom receipt when there is an existing custom receipt layout set id:
frontend/packages/process-editor/src/components/ConfigPanel/ConfigEndEvent/CustomReceiptContent/CustomReceiptContent.test.tsx#L100
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]"
Here are the accessible roles:
button:
Name "testId":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
/>
Name "[mockedText(process_editor.configuration_panel_set_data_model, {"dataModelName":"dataTypeId1"})]":
<button
aria-label="[mockedText(process_editor.configuration_panel_set_data_model, {\"dataModelName\":\"dataTypeId1\"})]"
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first fds-btn--full-width propertyButton withValue studioButton"
title="[mockedText(process_editor.configuration_panel_set_data_model_label)]"
type="button"
/>
Name "[mockedText(process_editor.configuration_panel_custom_receipt_delete_button)]":
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger studioButton"
type="button"
/>
--------------------------------------------------
img:
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
Name "":
<svg
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
/>
--------------------------------------------------
paragraph:
Name "":
<p
class="fds-label fds-label--sm fds-label--medium-weight"
/>
--------------------------------------------------
link:
Name "[mockedText(process_editor.configuration_panel_custom_receipt_navigate_to_design_button)]":
<a
class="fds-btn fds-focus fds-btn--sm fds-btn--primary fds-btn--second link studioButton"
href="/editor/testOrg/testApp/ui-editor"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="wrapper"
>
<div
class="inputFields"
>
<button
class="fds-btn fds-focus fds-btn--sm fds-btn--tertiary fds-btn--first button studioButton"
type="button"
value="testId"
>
<span
class="viewModeIconsContainer"
>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="img"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
d="M7.227 7.014c0 1.818.992 3.443 2.583 4.255v8.866c0 .21.09.412.245.554l.949.865a.75.75 0 0 0 1.064-.054l2.972-3.32a.75.75 0 0 0-.042-1.043l-.68-.648 1.203-1.971a.75.75 0 0 0-.103-.914l-1.675-1.721v-.44c1.886-.909 3.031-2.486 3.031-4.429a4.76 4.76 0 0 0-4.77-4.764 4.757 4.757 0 0 0-4.777 4.764m3.6 3.068c-1.28-.487-2.1-1.686-2.1-3.068a3.257 3.257 0 0 1 3.276-3.264 3.26 3.26 0 0 1 3.271 3.264c0 1.353-.83 2.554-2.559 3.242a.75.75 0 0 0-.472.697v1.235a.75.75 0 0 0 .212.523l1.482 1.522-1.215 1.991a.75.75 0 0 0 .123.934l.592.564-1.982 2.214-.145-.132v-9.021a.75.75 0 0 0-.483-.701m-.327-3.13a1.501 1.501 0 1 0 2.998.003A1.501 1.501 0 0 0 10.5 6.95"
fill="currentColor"
fill-rule="evenodd"
/>
</svg>
<span
class="textContainer"
>
<span
aria-hidden="true"
class="label"
>
[mockedText(process_editor.configuration_panel_custom_receipt_textfield_label)]
</span>
<span
class="ellipsis"
>
testId
</span>
</span>
</span>
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="im
|
Testing
Process completed with exit code 1.
|
Typechecking and linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
CodeQL
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|