Skip to content

[4000] Add support for styled labels in view model for trees #113

[4000] Add support for styled labels in view model for trees

[4000] Add support for styled labels in view model for trees #113

Status Failure
Total duration 1m 47s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
src/views/__tests__/GraphqlTreeEventSubscription.test.ts > looks like the graphql subscription loaded from graphql test subscription file: packages/trees/frontend/sirius-components-trees/src/views/__tests__/GraphqlTreeEventSubscription.test.ts#L73
AssertionError: expected 'subscription explorerEvent($input: Ex…' to be 'subscription explorerEvent($input: Ex…' // Object.is equality - Expected + Received - subscription explorerEvent($input: ExplorerEventInput!) { explorerEvent(input: $input) { __typename ... on TreeRefreshedEventPayload { id tree { id children { ...treeItemFields children { ...treeItemFields children { ...treeItemFields } } } } } } } fragment treeItemFields on TreeItem { id hasChildren expanded label { styledStringFragments { text styledStringFragmentStyle { isStruckOut underlineStyle borderStyle font backgroundColor foregroundColor strikeoutColor underlineColor borderColor } } } editable deletable selectable kind iconURL } + subscription explorerEvent($input: ExplorerEventInput!) { explorerEvent(input: $input) { __typename ... on TreeRefreshedEventPayload { id tree { id children { ...treeItemFields children { ...treeItemFields children { ...treeItemFields } } } } } } } fragment treeItemFields on TreeItem { id hasChildren expanded label { styledStringFragments { text styledStringFragmentStyle { isStruckOut underlineStyle borderStyle font backgroundColor foregroundColor strikeoutColor underlineColor borderColor isBold isItalic } } } editable deletable selectable kind iconURL } ❯ src/views/__tests__/GraphqlTreeEventSubscription.test.ts:73:20
Build
@eclipse-sirius/sirius-components-trees#coverage: command (/home/runner/work/sirius-web/sirius-web/packages/trees/frontend/sirius-components-trees) /opt/hostedtoolcache/node/18.7.0/x64/bin/npm run coverage exited (1)
Build
Process completed with exit code 1.
Build
No files were found with the provided path: packages/trees/frontend/sirius-components-trees/coverage. No artifacts will be uploaded.
Build
No files were found with the provided path: coverage.tar. No artifacts will be uploaded.
Build
No files were found with the provided path: packages/formdescriptioneditors/frontend/sirius-components-formdescriptioneditors/coverage. No artifacts will be uploaded.
Build
No files were found with the provided path: packages/forms/frontend/sirius-components-forms/coverage. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
core Expired
155 KB