Skip to content

draft ui changes #20557

draft ui changes

draft ui changes #20557

Triggered via push January 8, 2025 13:52
Status Failure
Total duration 11m 33s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Summary2Override › should be able to change override componentId: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L340
TestingLibraryElementError: Unable to find an accessible element with the role "combobox" and name "[mockedText(ux_editor.component_properties.summary.override.component_id)]" Here are the accessible roles: combobox: Name "[mockedText(ux_editor.component_properties.summary.override.choose_component)]": <input aria-autocomplete="list" aria-describedby="combobox-error-:r17:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r17:" role="combobox" value="1" /> -------------------------------------------------- img: Name "arrow down": <svg aria-labelledby="title-r18" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> Name "Informasjon": <svg aria-labelledby="title-r1a" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> -------------------------------------------------- checkbox: Name "[mockedText(ux_editor.component_properties.summary.override.force_show)]": <input class="fds-switch__input" id="switch-:r19:" type="checkbox" value="hidden" /> -------------------------------------------------- button: Name "": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger fds-btn--icon-only studioButton smallWithIconOnly" type="button" /> Name "[mockedText(ux_editor.component_properties.summary.add_override)]": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--first studioButton" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r17:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper fds-combobox--error" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-describedby="combobox-error-:r17:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r17:" role="combobox" value="1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r18" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r18" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r17:" > <div class="fds-error-message fds-error-message--sm fds-error-message--error" > [mockedText(ux_edit
Summary2Override › should be able to change override hidden: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L91
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "[mockedText(ux_editor.component_properties.summary.override.hidden)]" Here are the accessible roles: combobox: Name "[mockedText(ux_editor.component_properties.summary.override.choose_component)]": <input aria-autocomplete="list" aria-describedby="combobox-error-:r1f:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r1f:" role="combobox" value="1" /> -------------------------------------------------- img: Name "arrow down": <svg aria-labelledby="title-r1g" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> Name "Informasjon": <svg aria-labelledby="title-r1i" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> -------------------------------------------------- checkbox: Name "[mockedText(ux_editor.component_properties.summary.override.force_show)]": <input class="fds-switch__input" id="switch-:r1h:" type="checkbox" value="hidden" /> -------------------------------------------------- button: Name "": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger fds-btn--icon-only studioButton smallWithIconOnly" type="button" /> Name "[mockedText(ux_editor.component_properties.summary.add_override)]": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--first studioButton" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r1f:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper fds-combobox--error" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-describedby="combobox-error-:r1f:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r1f:" role="combobox" value="1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r1g" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r1g" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r1f:" > <div class="fds-error-message fds-error-message--sm fds-error-message--error" > [mockedText(ux_editor.com
Summary2Override › should be able to change override forceShow: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L111
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: ArrayContaining [{"componentId": "1", "forceShow": true}] Received: [{"componentId": "1", "hidden": true}] Number of calls: 1 Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r1n:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper fds-combobox--error" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-describedby="combobox-error-:r1n:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r1n:" role="combobox" value="1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r1o" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r1o" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r1n:" > <div class="fds-error-message fds-error-message--sm fds-error-message--error" > [mockedText(ux_editor.component_properties.target_invalid)] </div> </div> </div> <div class="fds-card fds-card--neutral" > <div class="fds-card__content" > <div class="fds-paragraph fds-paragraph--sm fds-switch fds-switch--sm" > <input class="fds-switch__input" id="switch-:r1p:" type="checkbox" value="hidden" /> <label class="fds-label fds-label--sm fds-label--regular-weight fds-switch__label fds-switch__label--right" for="switch-:r1p:" > <span class="fds-switch__track" > <span class="fds-switch__thumb" /> </span> <span> [mockedText(ux_editor.component_properties.summary.override.force_show)] </span> </label> </div> <div class="fds-alert fds-alert--sm fds-alert--info" > <svg aria-labelledby="title-r1q" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3
Summary2Override › should be able to change override hideEmptyFields: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L121
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "[mockedText(ux_editor.component_properties.summary.override.hide_empty_fields)]" Here are the accessible roles: combobox: Name "[mockedText(ux_editor.component_properties.summary.override.choose_component)]": <input aria-autocomplete="list" aria-describedby="combobox-error-:r1v:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r1v:" role="combobox" value="1" /> -------------------------------------------------- img: Name "arrow down": <svg aria-labelledby="title-r20" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> Name "Informasjon": <svg aria-labelledby="title-r22" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> -------------------------------------------------- checkbox: Name "[mockedText(ux_editor.component_properties.summary.override.force_show)]": <input class="fds-switch__input" id="switch-:r21:" type="checkbox" value="hidden" /> -------------------------------------------------- button: Name "": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger fds-btn--icon-only studioButton smallWithIconOnly" type="button" /> Name "[mockedText(ux_editor.component_properties.summary.add_override)]": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--first studioButton" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r1v:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper fds-combobox--error" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-describedby="combobox-error-:r1v:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r1v:" role="combobox" value="1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r20" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r20" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r1v:" > <div class="fds-error-message fds-error-message--sm fds-error-message--error" > [mockedText(ux
Summary2Override › "isCompact" checkbox should not be checked when isCompact is false: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L135
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "[mockedText(ux_editor.component_properties.overrides_is_compact)]" Here are the accessible roles: combobox: Name "[mockedText(ux_editor.component_properties.summary.override.choose_component)]": <input aria-autocomplete="list" aria-expanded="false" autocomplete="off" class="fds-combobox__input" id="combobox-:r27:" role="combobox" value="Container-1" /> -------------------------------------------------- img: Name "arrow down": <svg aria-labelledby="title-r28" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> Name "Informasjon": <svg aria-labelledby="title-r2a" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> -------------------------------------------------- checkbox: Name "[mockedText(ux_editor.component_properties.summary.override.force_show)]": <input class="fds-switch__input" id="switch-:r29:" type="checkbox" value="hidden" /> -------------------------------------------------- button: Name "": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger fds-btn--icon-only studioButton smallWithIconOnly" type="button" /> Name "[mockedText(ux_editor.component_properties.summary.add_override)]": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--first studioButton" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r27:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-expanded="false" autocomplete="off" class="fds-combobox__input" id="combobox-:r27:" role="combobox" value="Container-1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r28" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r28" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r27:" /> </div> <div class="fds-card fds-card--neutral" > <div class="fds-card__content" > <div class="fds-paragraph fds-paragraph--sm fds-switch fds-switch--sm" > <input class="fds-switch__input"
Summary2Override › "isCompact" checkbox Should be checked when isCompact is true: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L151
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox" and name "[mockedText(ux_editor.component_properties.overrides_is_compact)]" Here are the accessible roles: combobox: Name "[mockedText(ux_editor.component_properties.summary.override.choose_component)]": <input aria-autocomplete="list" aria-expanded="false" autocomplete="off" class="fds-combobox__input" id="combobox-:r2f:" role="combobox" value="Container-1" /> -------------------------------------------------- img: Name "arrow down": <svg aria-labelledby="title-r2g" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> Name "Informasjon": <svg aria-labelledby="title-r2i" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" /> -------------------------------------------------- checkbox: Name "[mockedText(ux_editor.component_properties.summary.override.force_show)]": <input class="fds-switch__input" id="switch-:r2h:" type="checkbox" value="hidden" /> -------------------------------------------------- button: Name "": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--danger fds-btn--icon-only studioButton smallWithIconOnly" type="button" /> Name "[mockedText(ux_editor.component_properties.summary.add_override)]": <button class="fds-btn fds-focus fds-btn--sm fds-btn--secondary fds-btn--first studioButton" type="button" /> -------------------------------------------------- Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r2f:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-expanded="false" autocomplete="off" class="fds-combobox__input" id="combobox-:r2f:" role="combobox" value="Container-1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r2g" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r2g" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r2f:" /> </div> <div class="fds-card fds-card--neutral" > <div class="fds-card__content" > <div class="fds-paragraph fds-paragraph--sm fds-switch fds-switch--sm" > <input class="fds-switch__input"
Summary2Override › should be able to change override emptyFieldText: frontend/packages/ux-editor/src/components/config/componentSpecificContent/Summary2/Override/Summary2Override.test.tsx#L319
TestingLibraryElementError: Unable to find a label with the text of: [mockedText(ux_editor.component_properties.summary.override.empty_field_text)] Ignored nodes: comments, script, style <body> <div> <div class="Toastify" /> <div> <div class="fds-box--default-background fds-combobox fds-combobox--sm" > <label class="fds-label fds-label--sm fds-label--medium-weight fds-combobox__label" for="combobox-:r5h:" > [mockedText(ux_editor.component_properties.summary.override.choose_component)] </label> <div aria-disabled="false" class="fds-box--default-background fds-textfield__input fds-combobox__input__wrapper fds-combobox--error" > <div class="fds-combobox__chip-and-input" > <input aria-autocomplete="list" aria-describedby="combobox-error-:r5h:" aria-expanded="false" aria-invalid="true" autocomplete="off" class="fds-combobox__input" id="combobox-:r5h:" role="combobox" value="1" /> </div> <div class="fds-combobox__arrow" > <svg aria-labelledby="title-r5i" fill="none" focusable="false" font-size="1.5em" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r5i" > arrow down </title> <path clip-rule="evenodd" d="M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06Z" fill="currentColor" fill-rule="evenodd" /> </svg> </div> </div> <div aria-live="polite" aria-relevant="additions removals" class="fds-combobox__error-message" id="combobox-error-:r5h:" > <div class="fds-error-message fds-error-message--sm fds-error-message--error" > [mockedText(ux_editor.component_properties.target_invalid)] </div> </div> </div> <div class="fds-card fds-card--neutral" > <div class="fds-card__content" > <div class="fds-paragraph fds-paragraph--sm fds-switch fds-switch--sm" > <input class="fds-switch__input" id="switch-:r5j:" type="checkbox" value="hidden" /> <label class="fds-label fds-label--sm fds-label--regular-weight fds-switch__label fds-switch__label--right" for="switch-:r5j:" > <span class="fds-switch__track" > <span class="fds-switch__thumb" /> </span> <span> [mockedText(ux_editor.component_properties.summary.override.force_show)] </span> </label> </div> <div class="fds-alert fds-alert--sm fds-alert--info" > <svg aria-labelledby="title-r5k" class="fds-alert__icon" fill="none" focusable="false" height="1em" role="img" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg" > <title id="title-r5k" > Informasjon </title> <path clip-rule="evenodd" d="M3.25 4A.75.75 0 0 1 4 3.25h16a.75.75 0 0 1 .75.75v16a.75.75 0 0 1-.75.75H4
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