mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-1923] Form APS E2E (#5540)
* [AAE-1923] Form APS E2E * * minor changes * * fixed e2e
This commit is contained in:
@@ -296,7 +296,6 @@ exports.Files = {
|
||||
checkbox_id: "viewtable",
|
||||
dateTime_input_id: "datetime",
|
||||
row: "label-row-0"
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
@@ -305,6 +304,7 @@ exports.Files = {
|
||||
title: "ALL_WIDGETS",
|
||||
processName: "ALL_WIDGETS",
|
||||
FIELD: {
|
||||
dynamic_table_id: "dynamictable",
|
||||
dynamic_table_age_id: "label2",
|
||||
dynamic_table_date_id: "label",
|
||||
checkbox_id: "viewtable",
|
||||
@@ -343,9 +343,88 @@ exports.Files = {
|
||||
user_id: "adf-people-search-input",
|
||||
checkbox_id: "check"
|
||||
}
|
||||
},
|
||||
|
||||
CUSTOM_VALIDATOR: {
|
||||
formName: "dynamic-table-custom-validation",
|
||||
title: "dynamic-table-custom-validation",
|
||||
processName: "dynamic-table-custom-validation",
|
||||
FIELD: {
|
||||
NAME: "name",
|
||||
ID: "id",
|
||||
NUM: "num",
|
||||
ADDRESS: "address",
|
||||
ROW: "label-row-0"
|
||||
}
|
||||
},
|
||||
|
||||
TYPE_AHEAD_WIDGET: {
|
||||
formName: "Type ahead widget",
|
||||
title: "type-ahead-process",
|
||||
processName: "type-ahead-process",
|
||||
FIELD: {
|
||||
widget_id: "Label"
|
||||
},
|
||||
case1: {
|
||||
searchTerm: 'Customer',
|
||||
result: [
|
||||
'123456789 - Customer Number One',
|
||||
'987654321 - Customer Number Two',
|
||||
'919191919191 - Customer Number Three',
|
||||
'91919191 - Customer Number X'
|
||||
]
|
||||
},
|
||||
case2: {
|
||||
searchTerm: 'One',
|
||||
result: [ '123456789 - Customer Number One' ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
MORE_WIDGETS: {
|
||||
file_location: "/resources/apps/More Widgets.zip",
|
||||
title: "More Widgets",
|
||||
group: { name: "Users", subgroup: [ { name: "Heros" }, { name: "Villains" }] },
|
||||
subGroupUser: { firstName: "Hero", lastName: "User" } ,
|
||||
groupUser: [
|
||||
{ firstName: "Hero", lastName: "Audience" },
|
||||
{ firstName: "Villain", lastName: "Audience" },
|
||||
],
|
||||
|
||||
ADD_PEOPLE_AND_GROUP_RESTRICTION: {
|
||||
formName: 'People widget - group restriction',
|
||||
FIELD: {
|
||||
widget_id: 'Finally',
|
||||
checkbox_id: 'check'
|
||||
},
|
||||
searchTerm: 'Audience'
|
||||
},
|
||||
|
||||
ADD_GROUP_VISIBILITY: {
|
||||
formName: "Group widget - visibility",
|
||||
FIELD: {
|
||||
widget_id: 'Dreamteam',
|
||||
checkbox_id: 'check'
|
||||
},
|
||||
searchTerm: 'e'
|
||||
},
|
||||
|
||||
ADD_GROUP_AND_SUBGROUP_RESTRICTION: {
|
||||
formName: "Group widget - subgroup restriction",
|
||||
FIELD: {
|
||||
widget_id: 'Dreamteam',
|
||||
checkbox_id: 'check'
|
||||
},
|
||||
searchTerm: 's'
|
||||
}
|
||||
},
|
||||
|
||||
STENCIL_PROCESS: {
|
||||
file_location: "/resources/apps/Stencil_app.zip",
|
||||
processName: 'stencil_process',
|
||||
taskName: 'stencil task'
|
||||
},
|
||||
|
||||
DYNAMIC_TABLE_APP: {
|
||||
file_location: "/resources/apps/Dynamic Table App.zip",
|
||||
title: "Dynamic Table App",
|
||||
|
Reference in New Issue
Block a user