mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Checkpoint - wip - selenium tests, pom project
This commit is contained in:
3
src/test/resources/fixtures/data/city/count.json
Normal file
3
src/test/resources/fixtures/data/city/count.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"count": 101406
|
||||
}
|
3
src/test/resources/fixtures/data/person/count.json
Normal file
3
src/test/resources/fixtures/data/person/count.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"count": 101406
|
||||
}
|
64
src/test/resources/fixtures/data/person/index.json
Normal file
64
src/test/resources/fixtures/data/person/index.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"records": [
|
||||
{
|
||||
"tableName": "person",
|
||||
"values": {
|
||||
"id": 1,
|
||||
"createDate": "2022-07-23T00:17:00",
|
||||
"modifyDate": "2022-07-22T19:17:06",
|
||||
"firstName": "Jonny",
|
||||
"lastName": "Doe",
|
||||
"birthDate": "1980-05-31",
|
||||
"email": "jdoe@kingsrook.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tableName": "person",
|
||||
"values": {
|
||||
"id": 2,
|
||||
"createDate": "2022-07-23T00:17:00",
|
||||
"modifyDate": "2022-07-23T00:17:00",
|
||||
"firstName": "James",
|
||||
"lastName": "Maes",
|
||||
"birthDate": "1980-05-15",
|
||||
"email": "jmaes@mmltholdings.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tableName": "person",
|
||||
"values": {
|
||||
"id": 3,
|
||||
"createDate": "2022-07-23T00:17:00",
|
||||
"modifyDate": "2022-07-23T00:17:00",
|
||||
"firstName": "Tim",
|
||||
"lastName": "Chamberlain",
|
||||
"birthDate": "1976-05-28",
|
||||
"email": "tchamberlain@mmltholdings.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tableName": "person",
|
||||
"values": {
|
||||
"id": 4,
|
||||
"createDate": "2022-07-23T00:17:00",
|
||||
"modifyDate": "2022-07-23T00:17:00",
|
||||
"firstName": "Tyler",
|
||||
"lastName": "Samples",
|
||||
"birthDate": "1986-05-28",
|
||||
"email": "tsamples@mmltholdings.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tableName": "person",
|
||||
"values": {
|
||||
"id": 5,
|
||||
"createDate": "2022-07-23T00:17:00",
|
||||
"modifyDate": "2022-07-23T00:17:00",
|
||||
"firstName": "Garret",
|
||||
"lastName": "Richardson",
|
||||
"birthDate": "1981-01-01",
|
||||
"email": "grichardson@mmltholdings.com"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
4
src/test/resources/fixtures/metaData/authentication.json
Normal file
4
src/test/resources/fixtures/metaData/authentication.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "mock",
|
||||
"type": "MOCK"
|
||||
}
|
565
src/test/resources/fixtures/metaData/index.json
Normal file
565
src/test/resources/fixtures/metaData/index.json
Normal file
@ -0,0 +1,565 @@
|
||||
{
|
||||
"tables": {
|
||||
"carrier": {
|
||||
"name": "carrier",
|
||||
"label": "Carrier",
|
||||
"isHidden": false,
|
||||
"iconName": "local_shipping",
|
||||
"deletePermission": true,
|
||||
"editPermission": true,
|
||||
"insertPermission": true,
|
||||
"readPermission": true,
|
||||
"capabilities": [
|
||||
"TABLE_COUNT",
|
||||
"TABLE_GET",
|
||||
"TABLE_QUERY",
|
||||
"TABLE_UPDATE",
|
||||
"TABLE_INSERT",
|
||||
"TABLE_DELETE"
|
||||
]
|
||||
},
|
||||
"person": {
|
||||
"name": "person",
|
||||
"label": "Person",
|
||||
"isHidden": false,
|
||||
"iconName": "person",
|
||||
"deletePermission": true,
|
||||
"editPermission": true,
|
||||
"insertPermission": true,
|
||||
"readPermission": true,
|
||||
"capabilities": [
|
||||
"TABLE_COUNT",
|
||||
"TABLE_GET",
|
||||
"TABLE_QUERY",
|
||||
"TABLE_UPDATE",
|
||||
"TABLE_INSERT",
|
||||
"TABLE_DELETE"
|
||||
]
|
||||
},
|
||||
"city": {
|
||||
"name": "city",
|
||||
"label": "Cities",
|
||||
"isHidden": true,
|
||||
"iconName": "location_city",
|
||||
"deletePermission": true,
|
||||
"editPermission": true,
|
||||
"insertPermission": true,
|
||||
"readPermission": true,
|
||||
"capabilities": [
|
||||
"TABLE_COUNT",
|
||||
"TABLE_GET",
|
||||
"TABLE_QUERY",
|
||||
"TABLE_UPDATE",
|
||||
"TABLE_INSERT",
|
||||
"TABLE_DELETE"
|
||||
]
|
||||
}
|
||||
},
|
||||
"processes": {
|
||||
"greet": {
|
||||
"name": "greet",
|
||||
"label": "Greet People",
|
||||
"tableName": "person",
|
||||
"isHidden": true,
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
"greetInteractive": {
|
||||
"name": "greetInteractive",
|
||||
"label": "Greet Interactive",
|
||||
"tableName": "person",
|
||||
"isHidden": false,
|
||||
"iconName": "waving_hand"
|
||||
},
|
||||
"clonePeople": {
|
||||
"name": "clonePeople",
|
||||
"label": "Clone People",
|
||||
"tableName": "person",
|
||||
"isHidden": false,
|
||||
"iconName": "content_copy"
|
||||
},
|
||||
"simpleSleep": {
|
||||
"name": "simpleSleep",
|
||||
"label": "Simple Sleep",
|
||||
"isHidden": true
|
||||
},
|
||||
"sleepInteractive": {
|
||||
"name": "sleepInteractive",
|
||||
"label": "Sleep Interactive",
|
||||
"isHidden": false
|
||||
},
|
||||
"simpleThrow": {
|
||||
"name": "simpleThrow",
|
||||
"label": "Simple Throw",
|
||||
"isHidden": false
|
||||
},
|
||||
"carrier.bulkInsert": {
|
||||
"name": "carrier.bulkInsert",
|
||||
"label": "Carrier Bulk Insert",
|
||||
"tableName": "carrier",
|
||||
"isHidden": true
|
||||
},
|
||||
"carrier.bulkEdit": {
|
||||
"name": "carrier.bulkEdit",
|
||||
"label": "Carrier Bulk Edit",
|
||||
"tableName": "carrier",
|
||||
"isHidden": true
|
||||
},
|
||||
"carrier.bulkDelete": {
|
||||
"name": "carrier.bulkDelete",
|
||||
"label": "Carrier Bulk Delete",
|
||||
"tableName": "carrier",
|
||||
"isHidden": true
|
||||
},
|
||||
"person.bulkInsert": {
|
||||
"name": "person.bulkInsert",
|
||||
"label": "Person Bulk Insert",
|
||||
"tableName": "person",
|
||||
"isHidden": true
|
||||
},
|
||||
"person.bulkEdit": {
|
||||
"name": "person.bulkEdit",
|
||||
"label": "Person Bulk Edit",
|
||||
"tableName": "person",
|
||||
"isHidden": true
|
||||
},
|
||||
"person.bulkDelete": {
|
||||
"name": "person.bulkDelete",
|
||||
"label": "Person Bulk Delete",
|
||||
"tableName": "person",
|
||||
"isHidden": true
|
||||
},
|
||||
"city.bulkInsert": {
|
||||
"name": "city.bulkInsert",
|
||||
"label": "Cities Bulk Insert",
|
||||
"tableName": "city",
|
||||
"isHidden": true
|
||||
},
|
||||
"city.bulkEdit": {
|
||||
"name": "city.bulkEdit",
|
||||
"label": "Cities Bulk Edit",
|
||||
"tableName": "city",
|
||||
"isHidden": true
|
||||
},
|
||||
"city.bulkDelete": {
|
||||
"name": "city.bulkDelete",
|
||||
"label": "Cities Bulk Delete",
|
||||
"tableName": "city",
|
||||
"isHidden": true
|
||||
}
|
||||
},
|
||||
"apps": {
|
||||
"greetingsApp": {
|
||||
"name": "greetingsApp",
|
||||
"label": "Greetings App",
|
||||
"iconName": "emoji_people",
|
||||
"widgets": [
|
||||
"PersonsByCreateDateBarChart",
|
||||
"QuickSightChartRenderer"
|
||||
],
|
||||
"children": [
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "greet",
|
||||
"label": "Greet People",
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "person",
|
||||
"label": "Person",
|
||||
"iconName": "person"
|
||||
},
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "city",
|
||||
"label": "Cities",
|
||||
"iconName": "location_city"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "greetInteractive",
|
||||
"label": "Greet Interactive",
|
||||
"iconName": "waving_hand"
|
||||
}
|
||||
],
|
||||
"childMap": {
|
||||
"greetInteractive": {
|
||||
"type": "PROCESS",
|
||||
"name": "greetInteractive",
|
||||
"label": "Greet Interactive",
|
||||
"iconName": "waving_hand"
|
||||
},
|
||||
"city": {
|
||||
"type": "TABLE",
|
||||
"name": "city",
|
||||
"label": "Cities",
|
||||
"iconName": "location_city"
|
||||
},
|
||||
"person": {
|
||||
"type": "TABLE",
|
||||
"name": "person",
|
||||
"label": "Person",
|
||||
"iconName": "person"
|
||||
},
|
||||
"greet": {
|
||||
"type": "PROCESS",
|
||||
"name": "greet",
|
||||
"label": "Greet People",
|
||||
"iconName": "emoji_people"
|
||||
}
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"name": "greetingsApp",
|
||||
"label": "Greetings App",
|
||||
"icon": {
|
||||
"name": "badge"
|
||||
},
|
||||
"tables": [
|
||||
"person",
|
||||
"city"
|
||||
],
|
||||
"processes": [
|
||||
"greet",
|
||||
"greetInteractive"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"peopleApp": {
|
||||
"name": "peopleApp",
|
||||
"label": "People App",
|
||||
"iconName": "person",
|
||||
"widgets": [],
|
||||
"children": [
|
||||
{
|
||||
"type": "APP",
|
||||
"name": "greetingsApp",
|
||||
"label": "Greetings App",
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "clonePeople",
|
||||
"label": "Clone People",
|
||||
"iconName": "content_copy"
|
||||
}
|
||||
],
|
||||
"childMap": {
|
||||
"greetingsApp": {
|
||||
"type": "APP",
|
||||
"name": "greetingsApp",
|
||||
"label": "Greetings App",
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
"clonePeople": {
|
||||
"type": "PROCESS",
|
||||
"name": "clonePeople",
|
||||
"label": "Clone People",
|
||||
"iconName": "content_copy"
|
||||
}
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"name": "peopleApp",
|
||||
"label": "People App",
|
||||
"icon": {
|
||||
"name": "badge"
|
||||
},
|
||||
"processes": [
|
||||
"clonePeople"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"miscellaneous": {
|
||||
"name": "miscellaneous",
|
||||
"label": "Miscellaneous",
|
||||
"iconName": "stars",
|
||||
"widgets": [],
|
||||
"children": [
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "carrier",
|
||||
"label": "Carrier",
|
||||
"iconName": "local_shipping"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "simpleSleep",
|
||||
"label": "Simple Sleep"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "sleepInteractive",
|
||||
"label": "Sleep Interactive"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "simpleThrow",
|
||||
"label": "Simple Throw"
|
||||
}
|
||||
],
|
||||
"childMap": {
|
||||
"carrier": {
|
||||
"type": "TABLE",
|
||||
"name": "carrier",
|
||||
"label": "Carrier",
|
||||
"iconName": "local_shipping"
|
||||
},
|
||||
"simpleSleep": {
|
||||
"type": "PROCESS",
|
||||
"name": "simpleSleep",
|
||||
"label": "Simple Sleep"
|
||||
},
|
||||
"simpleThrow": {
|
||||
"type": "PROCESS",
|
||||
"name": "simpleThrow",
|
||||
"label": "Simple Throw"
|
||||
},
|
||||
"sleepInteractive": {
|
||||
"type": "PROCESS",
|
||||
"name": "sleepInteractive",
|
||||
"label": "Sleep Interactive"
|
||||
}
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"name": "miscellaneous",
|
||||
"label": "Miscellaneous",
|
||||
"icon": {
|
||||
"name": "badge"
|
||||
},
|
||||
"tables": [
|
||||
"carrier"
|
||||
],
|
||||
"processes": [
|
||||
"simpleSleep",
|
||||
"sleepInteractive",
|
||||
"simpleThrow"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"appTree": [
|
||||
{
|
||||
"type": "APP",
|
||||
"name": "peopleApp",
|
||||
"label": "People App",
|
||||
"children": [
|
||||
{
|
||||
"type": "APP",
|
||||
"name": "greetingsApp",
|
||||
"label": "Greetings App",
|
||||
"children": [
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "greet",
|
||||
"label": "Greet People",
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "person",
|
||||
"label": "Person",
|
||||
"iconName": "person"
|
||||
},
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "city",
|
||||
"label": "Cities",
|
||||
"iconName": "location_city"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "greetInteractive",
|
||||
"label": "Greet Interactive",
|
||||
"iconName": "waving_hand"
|
||||
}
|
||||
],
|
||||
"iconName": "emoji_people"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "clonePeople",
|
||||
"label": "Clone People",
|
||||
"iconName": "content_copy"
|
||||
}
|
||||
],
|
||||
"iconName": "person"
|
||||
},
|
||||
{
|
||||
"type": "APP",
|
||||
"name": "miscellaneous",
|
||||
"label": "Miscellaneous",
|
||||
"children": [
|
||||
{
|
||||
"type": "TABLE",
|
||||
"name": "carrier",
|
||||
"label": "Carrier",
|
||||
"iconName": "local_shipping"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "simpleSleep",
|
||||
"label": "Simple Sleep"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "sleepInteractive",
|
||||
"label": "Sleep Interactive"
|
||||
},
|
||||
{
|
||||
"type": "PROCESS",
|
||||
"name": "simpleThrow",
|
||||
"label": "Simple Throw"
|
||||
}
|
||||
],
|
||||
"iconName": "stars"
|
||||
}
|
||||
],
|
||||
"branding": {
|
||||
"logo": "/kr-logo.png",
|
||||
"icon": "/kr-icon.png"
|
||||
},
|
||||
"widgets": {
|
||||
"parcelTrackingDetails": {
|
||||
"name": "parcelTrackingDetails",
|
||||
"label": "Tracking Details",
|
||||
"type": "childRecordList"
|
||||
},
|
||||
"deposcoSalesOrderLineItems": {
|
||||
"name": "deposcoSalesOrderLineItems",
|
||||
"label": "Line Items",
|
||||
"type": "childRecordList"
|
||||
},
|
||||
"TotalShipmentsByDayBarChart": {
|
||||
"name": "TotalShipmentsByDayBarChart",
|
||||
"label": "Total Shipments By Day",
|
||||
"type": "chart"
|
||||
},
|
||||
"TotalShipmentsByMonthLineChart": {
|
||||
"name": "TotalShipmentsByMonthLineChart",
|
||||
"label": "Total Shipments By Month",
|
||||
"type": "chart"
|
||||
},
|
||||
"YTDShipmentsByCarrierPieChart": {
|
||||
"name": "YTDShipmentsByCarrierPieChart",
|
||||
"label": "Shipments By Carrier Year To Date",
|
||||
"type": "chart"
|
||||
},
|
||||
"TodaysShipmentsStatisticsCard": {
|
||||
"name": "TodaysShipmentsStatisticsCard",
|
||||
"label": "Today's Shipments",
|
||||
"type": "statistics"
|
||||
},
|
||||
"ShipmentsInTransitStatisticsCard": {
|
||||
"name": "ShipmentsInTransitStatisticsCard",
|
||||
"label": "Shipments In Transit",
|
||||
"type": "statistics"
|
||||
},
|
||||
"OpenOrdersStatisticsCard": {
|
||||
"name": "OpenOrdersStatisticsCard",
|
||||
"label": "Open Orders",
|
||||
"type": "statistics"
|
||||
},
|
||||
"ShippingExceptionsStatisticsCard": {
|
||||
"name": "ShippingExceptionsStatisticsCard",
|
||||
"label": "Shipping Exceptions",
|
||||
"type": "statistics"
|
||||
},
|
||||
"WarehouseLocationCards": {
|
||||
"name": "WarehouseLocationCards",
|
||||
"type": "location"
|
||||
},
|
||||
"TotalShipmentsStatisticsCard": {
|
||||
"name": "TotalShipmentsStatisticsCard",
|
||||
"label": "Total Shipments",
|
||||
"type": "statistics"
|
||||
},
|
||||
"SuccessfulDeliveriesStatisticsCard": {
|
||||
"name": "SuccessfulDeliveriesStatisticsCard",
|
||||
"label": "Successful Deliveries",
|
||||
"type": "statistics"
|
||||
},
|
||||
"ServiceFailuresStatisticsCard": {
|
||||
"name": "ServiceFailuresStatisticsCard",
|
||||
"label": "Service Failures",
|
||||
"type": "statistics"
|
||||
},
|
||||
"CarrierVolumeLineChart": {
|
||||
"name": "CarrierVolumeLineChart",
|
||||
"label": "Carrier Volume By Month",
|
||||
"type": "lineChart"
|
||||
},
|
||||
"YTDSpendByCarrierTable": {
|
||||
"name": "YTDSpendByCarrierTable",
|
||||
"label": "Spend By Carrier Year To Date",
|
||||
"type": "table"
|
||||
},
|
||||
"TimeInTransitBarChart": {
|
||||
"name": "TimeInTransitBarChart",
|
||||
"label": "Time In Transit Last 30 Days",
|
||||
"type": "chart"
|
||||
},
|
||||
"OpenBillingWorksheetsTable": {
|
||||
"name": "OpenBillingWorksheetsTable",
|
||||
"label": "Open Billing Worksheets",
|
||||
"type": "table"
|
||||
},
|
||||
"AssociatedParcelInvoicesTable": {
|
||||
"name": "AssociatedParcelInvoicesTable",
|
||||
"label": "Associated Parcel Invoices",
|
||||
"type": "table",
|
||||
"icon": "receipt"
|
||||
},
|
||||
"BillingWorksheetLinesTable": {
|
||||
"name": "BillingWorksheetLinesTable",
|
||||
"label": "Billing Worksheet Lines",
|
||||
"type": "table"
|
||||
},
|
||||
"RatingIssuesWidget": {
|
||||
"name": "RatingIssuesWidget",
|
||||
"label": "Rating Issues",
|
||||
"type": "html",
|
||||
"icon": "warning",
|
||||
"gridColumns": 6
|
||||
},
|
||||
"UnassignedParcelInvoicesTable": {
|
||||
"name": "UnassignedParcelInvoicesTable",
|
||||
"label": "Unassigned Parcel Invoices",
|
||||
"type": "table"
|
||||
},
|
||||
"ParcelInvoiceSummaryWidget": {
|
||||
"name": "ParcelInvoiceSummaryWidget",
|
||||
"label": "Parcel Invoice Summary",
|
||||
"type": "multiStatistics"
|
||||
},
|
||||
"ParcelInvoiceLineExceptionsSummaryWidget": {
|
||||
"name": "ParcelInvoiceLineExceptionsSummaryWidget",
|
||||
"label": "Parcel Invoice Line Exceptions",
|
||||
"type": "multiStatistics"
|
||||
},
|
||||
"BillingWorksheetStatusStepper": {
|
||||
"name": "BillingWorksheetStatusStepper",
|
||||
"label": "Billing Worksheet Progress",
|
||||
"type": "stepper",
|
||||
"icon": "refresh",
|
||||
"gridColumns": 6
|
||||
},
|
||||
"PersonsByCreateDateBarChart": {
|
||||
"name": "PersonsByCreateDateBarChart",
|
||||
"label": "Persons By Create Date",
|
||||
"type": "barChart"
|
||||
},
|
||||
"QuickSightChartRenderer": {
|
||||
"name": "QuickSightChartRenderer",
|
||||
"label": "Quick Sight",
|
||||
"type": "quickSightChart"
|
||||
}
|
||||
},
|
||||
"environmentValues": {
|
||||
"MATERIAL_UI_LICENSE_KEY": "ABCDE"
|
||||
}
|
||||
}
|
@ -0,0 +1,176 @@
|
||||
{
|
||||
"process": {
|
||||
"name": "person.bulkEdit",
|
||||
"label": "Person Bulk Edit",
|
||||
"tableName": "person",
|
||||
"isHidden": true,
|
||||
"frontendSteps": [
|
||||
{
|
||||
"name": "edit",
|
||||
"label": "Edit Values",
|
||||
"stepType": "frontend",
|
||||
"components": [
|
||||
{
|
||||
"type": "HELP_TEXT",
|
||||
"values": {
|
||||
"text": "Flip the switches next to the fields that you want to edit.\nThe values you supply here will be updated in all of the records you are bulk editing.\nYou can clear out the value in a field by flipping the switch on for that field and leaving the input field blank.\nFields whose switches are off will not be updated."
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "BULK_EDIT_FORM"
|
||||
}
|
||||
],
|
||||
"formFields": [
|
||||
{
|
||||
"name": "firstName",
|
||||
"label": "First Name",
|
||||
"backendName": "first_name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "lastName",
|
||||
"label": "Last Name",
|
||||
"backendName": "last_name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "birthDate",
|
||||
"label": "Birth Date",
|
||||
"backendName": "birth_date",
|
||||
"type": "DATE",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "email",
|
||||
"label": "Email",
|
||||
"backendName": "email",
|
||||
"type": "STRING",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "isEmployed",
|
||||
"label": "Is Employed",
|
||||
"backendName": "is_employed",
|
||||
"type": "BOOLEAN",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "annualSalary",
|
||||
"label": "Annual Salary",
|
||||
"backendName": "annual_salary",
|
||||
"type": "DECIMAL",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "$%,.2f"
|
||||
},
|
||||
{
|
||||
"name": "daysWorked",
|
||||
"label": "Days Worked",
|
||||
"backendName": "days_worked",
|
||||
"type": "INTEGER",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%,d"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "review",
|
||||
"label": "Review",
|
||||
"stepType": "frontend",
|
||||
"components": [
|
||||
{
|
||||
"type": "VALIDATION_REVIEW_SCREEN"
|
||||
}
|
||||
],
|
||||
"recordListFields": [
|
||||
{
|
||||
"name": "firstName",
|
||||
"label": "First Name",
|
||||
"backendName": "first_name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "lastName",
|
||||
"label": "Last Name",
|
||||
"backendName": "last_name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "birthDate",
|
||||
"label": "Birth Date",
|
||||
"backendName": "birth_date",
|
||||
"type": "DATE",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "email",
|
||||
"label": "Email",
|
||||
"backendName": "email",
|
||||
"type": "STRING",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "isEmployed",
|
||||
"label": "Is Employed",
|
||||
"backendName": "is_employed",
|
||||
"type": "BOOLEAN",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
{
|
||||
"name": "annualSalary",
|
||||
"label": "Annual Salary",
|
||||
"backendName": "annual_salary",
|
||||
"type": "DECIMAL",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "$%,.2f"
|
||||
},
|
||||
{
|
||||
"name": "daysWorked",
|
||||
"label": "Days Worked",
|
||||
"backendName": "days_worked",
|
||||
"type": "INTEGER",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%,d"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "result",
|
||||
"label": "Result",
|
||||
"stepType": "frontend",
|
||||
"components": [
|
||||
{
|
||||
"type": "PROCESS_SUMMARY_RESULTS"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
159
src/test/resources/fixtures/metaData/table/person.json
Normal file
159
src/test/resources/fixtures/metaData/table/person.json
Normal file
@ -0,0 +1,159 @@
|
||||
{
|
||||
"table": {
|
||||
"name": "person",
|
||||
"label": "Person",
|
||||
"isHidden": false,
|
||||
"primaryKeyField": "id",
|
||||
"iconName": "person",
|
||||
"deletePermission": true,
|
||||
"editPermission": true,
|
||||
"insertPermission": true,
|
||||
"readPermission": true,
|
||||
"fields": {
|
||||
"firstName": {
|
||||
"name": "firstName",
|
||||
"label": "First Name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"lastName": {
|
||||
"name": "lastName",
|
||||
"label": "Last Name",
|
||||
"type": "STRING",
|
||||
"isRequired": true,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"annualSalary": {
|
||||
"name": "annualSalary",
|
||||
"label": "Annual Salary",
|
||||
"type": "DECIMAL",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "$%,.2f"
|
||||
},
|
||||
"modifyDate": {
|
||||
"name": "modifyDate",
|
||||
"label": "Modify Date",
|
||||
"type": "DATE_TIME",
|
||||
"isRequired": false,
|
||||
"isEditable": false,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"daysWorked": {
|
||||
"name": "daysWorked",
|
||||
"label": "Days Worked",
|
||||
"type": "INTEGER",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%,d"
|
||||
},
|
||||
"id": {
|
||||
"name": "id",
|
||||
"label": "Id",
|
||||
"type": "INTEGER",
|
||||
"isRequired": false,
|
||||
"isEditable": false,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"birthDate": {
|
||||
"name": "birthDate",
|
||||
"label": "Birth Date",
|
||||
"type": "DATE",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"isEmployed": {
|
||||
"name": "isEmployed",
|
||||
"label": "Is Employed",
|
||||
"type": "BOOLEAN",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"email": {
|
||||
"name": "email",
|
||||
"label": "Email",
|
||||
"type": "STRING",
|
||||
"isRequired": false,
|
||||
"isEditable": true,
|
||||
"displayFormat": "%s"
|
||||
},
|
||||
"createDate": {
|
||||
"name": "createDate",
|
||||
"label": "Create Date",
|
||||
"type": "DATE_TIME",
|
||||
"isRequired": false,
|
||||
"isEditable": false,
|
||||
"displayFormat": "%s"
|
||||
}
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"name": "identity",
|
||||
"label": "Identity",
|
||||
"tier": "T1",
|
||||
"fieldNames": [
|
||||
"id",
|
||||
"firstName",
|
||||
"lastName"
|
||||
],
|
||||
"icon": {
|
||||
"name": "badge"
|
||||
},
|
||||
"isHidden": false
|
||||
},
|
||||
{
|
||||
"name": "basicInfo",
|
||||
"label": "Basic Info",
|
||||
"tier": "T2",
|
||||
"fieldNames": [
|
||||
"email",
|
||||
"birthDate"
|
||||
],
|
||||
"icon": {
|
||||
"name": "dataset"
|
||||
},
|
||||
"isHidden": false
|
||||
},
|
||||
{
|
||||
"name": "employmentInfo",
|
||||
"label": "Employment Info",
|
||||
"tier": "T2",
|
||||
"fieldNames": [
|
||||
"isEmployed",
|
||||
"annualSalary",
|
||||
"daysWorked"
|
||||
],
|
||||
"icon": {
|
||||
"name": "work"
|
||||
},
|
||||
"isHidden": false
|
||||
},
|
||||
{
|
||||
"name": "dates",
|
||||
"label": "Dates",
|
||||
"tier": "T3",
|
||||
"fieldNames": [
|
||||
"createDate",
|
||||
"modifyDate"
|
||||
],
|
||||
"icon": {
|
||||
"name": "calendar_month"
|
||||
},
|
||||
"isHidden": false
|
||||
}
|
||||
],
|
||||
"capabilities": [
|
||||
"TABLE_COUNT",
|
||||
"TABLE_GET",
|
||||
"TABLE_QUERY",
|
||||
"TABLE_DELETE",
|
||||
"TABLE_INSERT",
|
||||
"TABLE_UPDATE"
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"values": {
|
||||
"recordsParam": "recordIds",
|
||||
"recordIds": "1,2,3,4,5",
|
||||
"queryFilterJSON": "{\"criteria\":[{\"fieldName\":\"id\",\"operator\":\"IN\",\"values\":[\"1\",\"2\",\"3\",\"4\",\"5\"]}]}"
|
||||
},
|
||||
"processUUID": "74a03a7d-2f53-4784-9911-3a21f7646c43",
|
||||
"nextStep": "edit"
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
[
|
||||
{}
|
||||
]
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"values": {
|
||||
"firstName": "Kahhhhn",
|
||||
"valuesBeingUpdated": "First Name will be set to: Kahhhhn",
|
||||
"bulkEditEnabledFields": "firstName",
|
||||
"recordsParam": "recordIds",
|
||||
"recordIds": "1,2,3,4,5",
|
||||
"queryFilterJSON": "{\"criteria\":[{\"fieldName\":\"id\",\"operator\":\"IN\",\"values\":[\"1\",\"2\",\"3\",\"4\",\"5\"]}]}"
|
||||
},
|
||||
"processUUID": "74a03a7d-2f53-4784-9911-3a21f7646c43",
|
||||
"nextStep": "review"
|
||||
}
|
1
src/test/resources/fixtures/widget/empty.json
Normal file
1
src/test/resources/fixtures/widget/empty.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
Reference in New Issue
Block a user