Skip to content

Legger til støtte for nye læringssti steg. #13673

Legger til støtte for nye læringssti steg.

Legger til støtte for nye læringssti steg. #13673

Triggered via pull request January 30, 2025 11:48
Status Failure
Total duration 3m 59s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/iframe/__tests__/IframeArticlePage-test.tsx > IframeArticlePage with article renderers correctly: src/iframe/__tests__/IframeArticlePage-test.tsx#L224
Error: Snapshot `IframeArticlePage with article renderers correctly 1` mismatched - Expected + Received @@ -35,44 +35,11 @@ Politiske skillelinjer, eller konfliktlinjer, er varige og grunnleggende motsetninger i samfunnet og blant velgerne. Du synes kanskje det er vanskelig å se forskjell på de politiske partiene – det er du i så fall ikke alene om! </p> </div> <div class="d_flex gap_small flex-wrap_wrap ai_center" - > - <button - aria-expanded="false" - aria-haspopup="dialog" - class="d_inline-flex ai_center jc_center gap_xxsmall cursor_pointer td_none fw_bold trs-prop_all trs-dur_fast trs-tmf_default ta_center bdr_xsmall ring_none bx-sh-c_stroke.default disabled:cursor_not-allowed disabled:c_text.onAction disabled:bg_surface.disabled disabled:bx-sh-c_surface.disabled disabled:[&_svg]:c_text.onAction disabled:hover:c_text.onAction disabled:hover:bg_surface.disabled focusVisible:bx-sh_inset_0_0_0_var(--shadow-width,_3px)_var(--shadow-color) motionReduce:trs_none motionReduce:trs-dur_0s c_text.strong bg_surface.default bx-sh_inset_0_0_0_1px_var(--shadow-color) hover:bg_surface.actionSubtle.hover active:bg_surface.actionSubtle.hover.strong on:bg_surface.actionSubtle.active textStyle_label.small min-h_large px_xsmall py_4xsmall [&_svg]:mx_0 [&_svg]:my_0 [&_svg]:w_small [&_svg]:h_small" - data-part="trigger" - data-scope="dialog" - data-state="closed" - dir="ltr" - id="dialog::r0::trigger" - type="button" - > - Tilgjengelighet - <svg - aria-hidden="true" - class="d_inline-block fill_currentcolor va_middle lh_1em flex-sh_0 w_medium h_medium" - data-icon="" - data-license="Apache License 2.0" - data-source="NDLA" - fill="currentColor" - preserveAspectRatio="xMidYMid meet" - viewBox="0 0 20 20" - > - <path - d="M10 20a10 10 0 1 1 0-20 10 10 0 0 1 0 20m0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16" - /> - <path - clip-rule="evenodd" - d="M10 4a1.6 1.6 0 0 0 0 3.22c.88 0 1.6-.72 1.6-1.61A1.6 1.6 0 0 0 10 4m4.5 4.06c0-.66-.59-1.25-1.3-1.11l-.98.21a8.6 8.6 0 0 1-2.21.32h-.02a8.6 8.6 0 0 1-2.21-.32c-.3-.07-.63-.15-.98-.21-.71-.14-1.3.45-1.3 1.11 0 .51.36.98.88 1.09.62.17 1.25.33 1.87.48a15 15 0 0 1-.17 2.01 11.8 11.8 0 0 1-.62 1.94l-.34.92c-.22.62.15 1.37.86 1.49a1.1 1.1 0 0 0 1.2-.74l.82-2.43.82 2.43c.17.49.66.82 1.2.74.7-.12 1.08-.87.86-1.5-.1-.3-.22-.61-.34-.9-.25-.66-.49-1.29-.62-1.95a15 15 0 0 1-.17-2 81.8 81.8 0 0 0 1.87-.5c.52-.1.87-.57.88-1.08" - fill-rule="evenodd" - /> - </svg> - </button> - </div> + /> </header> <section class="ndla-article" > <section> @@ -105,36 +72,36 @@ class="d_flex flex-d_column gap_3xsmall pbs_xxlarge" data-orientation="vertical" data-part="root" data-scope="accordion" dir="ltr" - id="accordion::r1:" + id="accordion::r0:" > <div class="w_100%" data-orientation="vertical" data-part="item" data-scope="accordion" data-state="closed" dir="ltr" - id="collapsible:accordion::r1::item:rulesForUse" + id="collapsible:accordion::r0::item:rulesForUse" > <h2 class="textStyle_label.medium fw_bold" > <button - aria-controls="accordion::r1::content:rulesForUse" + aria-controls="accordion::r0::content
Unit tests
Process completed with exit code 1.