Skip to content

Commit 5821a0a

Browse files
committed
[NAE-2051] Implement configurable view in menu items
- update test for default-tab-view.component
1 parent 0fa3690 commit 5821a0a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

projects/netgrif-components/src/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.spec.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,33 @@ describe('DefaultTabViewComponent', () => {
4545
useValue: [
4646
{
4747
fields: [
48+
new EnumerationField(
49+
"view_configuration_type",
50+
'',"tabbed_case_view",[],{visible: true}
51+
),
4852
new I18nField(
4953
GroupNavigationConstants.NAVIGATION_ENTRY_TITLE_FIELD_ID_SUFFIX,
5054
'',
5155
{defaultValue: 'Default translation', translations: {en: 'English translation'}},
5256
{visible: true}
5357
),
58+
]
59+
},
60+
{
61+
fields: []
62+
},
63+
{
64+
fields: []
65+
},
66+
{
67+
fields: []
68+
},
69+
{
70+
fields: [
71+
new TaskRefField(
72+
"view_configuration_form",
73+
'',["thisistaskid"],{visible: true}
74+
),
5475
new BooleanField(
5576
GroupNavigationConstants.NAVIGATION_ENTRY_ICON_ENABLED_FIELD_ID_SUFFIX,
5677
'',false,{visible: true}

0 commit comments

Comments
 (0)