altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Mock dataType in preview if missing from current layoutset

Open standeren opened this issue 9 months ago • 1 comments

Description

Mock that current layout set/task that is edited in ux-editor has a connected datatype for preview not to crash. Then the app-developer is not presented with the generic "Ukjent feil" in preview when adding a data task from process editor and not adding a datatype immediately.

Related Issue(s)

  • #{issue number}

Verification

  • [x] Your code builds clean without any errors or warnings
  • [x] Manual testing done (required)
  • [x] Relevant automated test added (if you find this hard, leave it and we'll help out)

standeren avatar May 03 '24 12:05 standeren

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.19%. Comparing base (d28b65e) to head (fd8ed7a). Report is 11 commits behind head on main.

:exclamation: Current head fd8ed7a differs from pull request most recent head 304b022. Consider uploading reports for the commit 304b022 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12751   +/-   ##
=======================================
  Coverage   90.19%   90.19%           
=======================================
  Files        1308     1308           
  Lines       18759    18759           
  Branches     2280     2280           
=======================================
  Hits        16920    16920           
  Misses       1579     1579           
  Partials      260      260           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 07 '24 08:05 codecov[bot]