Skip to content

Commit b3d82bb

Browse files
author
vikasrohit
authored
Merge pull request #1919 from appirio-tech/feature/Adding_sfdc_accelerator
Feature/adding sfdc accelerator
2 parents b123b72 + 034f5c6 commit b3d82bb

File tree

6 files changed

+267
-1
lines changed

6 files changed

+267
-1
lines changed
Lines changed: 19 additions & 0 deletions
Loading
Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,233 @@
1+
import React from 'react' // eslint-disable-line no-unused-vars
2+
import { findTitle, isFileRequired, findFilesSectionTitle } from '../projectWizard'
3+
4+
const sections = [
5+
{
6+
id: 'appDefinition',
7+
title: findTitle,
8+
required: true,
9+
description: 'Please answer a few basic questions about your project and, as an option,\
10+
add links to supporting documents in the “Notes” section.\
11+
\
12+
*AssureNXT - Rapid Test Design Module is a Component of AssureNXT which is a Test Management Platform.\
13+
It helps in Automated Test Case and Test Data Model generation through business process diagrams.\
14+
RTD establishes direct relationship between business requirements, process flows and test coverage.\
15+
Accelerated Test Case generation for changed business process.\
16+
\
17+
*Tosca - Tricentis Tosca is a testing tool that is used to automate end-to-end testing for software applications.\
18+
Tricentis Tosca combines multiple aspects of software testing (test case design, test automation, test data design \
19+
and generation, and analytics) to test GUIs and APIs from a business perspective',
20+
subSections: [
21+
{
22+
id: 'projectName',
23+
required: true,
24+
validationError: 'Please provide a name to your project',
25+
fieldName: 'name',
26+
description: '',
27+
title: 'Project Name',
28+
type: 'project-name'
29+
},
30+
{
31+
id: 'questions',
32+
required: true,
33+
hideTitle: true,
34+
title: 'Questions',
35+
description: '',
36+
type: 'questions',
37+
questions: [
38+
{
39+
id: 'projectInfo',
40+
// required is not needed if we specifiy validations
41+
// required: true,
42+
validations: 'isRequired,minLength:160',
43+
validationErrors: {
44+
isRequired : 'Please provide a description',
45+
minLength : 'Please enter at least 160 characters'
46+
},
47+
fieldName: 'description',
48+
description: 'Brief description of your project, Salesforce.com implementation testing objectives',
49+
title: 'Description',
50+
type: 'textbox'
51+
},
52+
{
53+
icon: 'question',
54+
required: true,
55+
validationError: 'Please provide the required options',
56+
title: 'The Salesforce.com accelerator pack comprises of pre-built test assets and tools/licenses support to enable customization services.\
57+
Would you like to purchase all the components of the accelerator pack or only a subset of it? (choose all that apply)',
58+
description: 'Full solution will have all the above components, while Partial solution - \
59+
can have just either the sfdc assets mentioned in option 1 OR SFDC assets + customized service without the license',
60+
fieldName: 'details.appDefinition.components',
61+
type: 'checkbox-group',
62+
options: [
63+
{value: 'pack_one', label: 'Manual Test packs + Business Models + Automation scripts'},
64+
{value: 'pack_two', label: 'License for AssureNXT and Tosca for 2 months'},
65+
{value: 'pack_three', label: 'Customization services to fit the pre-built assets to your specific use cases'}
66+
]
67+
},
68+
{
69+
icon: 'question',
70+
title: 'Select the functionalities which are applicable for your Salesforce.com Implementation ( 1 or multiple from the 10 listed below)',
71+
description: '',
72+
type: 'checkbox-group',
73+
fieldName: 'details.appDefinition.functionalities',
74+
options: [
75+
{value: 'sales_cloud_campaign', label: 'Sales Cloud - Campaign'},
76+
{value: 'lead', label: 'Lead'},
77+
{value: 'account', label: 'Account'},
78+
{value: 'contact', label: 'Contact'},
79+
{value: 'opportunity', label: 'Opportunity'},
80+
{value: 'quote', label: 'Quote'},
81+
{value: 'contract_and_order', label: 'Contract & Order Management'},
82+
{value: 'product_price', label: 'Product & Price Book and End to End Processes & Misc Functions (Activites Chatter Reports & Dashboards)'},
83+
{value: 'service_cloud_case_management', label: 'Service Cloud – Case Management'}
84+
]
85+
},
86+
{
87+
icon: 'question',
88+
required: true,
89+
title: 'Are you using the Lightning Experience?',
90+
description: '',
91+
fieldName: 'details.appDefinition.lightningExperience.value',
92+
type: 'radio-group',
93+
options: [
94+
{value: 'Yes', label: 'Yes'},
95+
{value: 'No', label: 'No'},
96+
{value: 'Neither', label: 'I Don\'t Know'}
97+
]
98+
}
99+
]
100+
},
101+
{
102+
id: 'notes',
103+
fieldName: 'details.appDefinition.notes',
104+
title: 'Notes',
105+
description: 'Please enter any additional information such as any existing test automation tool used,\
106+
known constraints for automation, % of customizations in your Salesforce.com implementation, etc.',
107+
type: 'notes'
108+
},
109+
{
110+
id: 'files',
111+
required: isFileRequired,
112+
title: findFilesSectionTitle,
113+
description: '',
114+
type: 'files',
115+
fieldName: 'attachments'
116+
}
117+
]
118+
}
119+
]
120+
121+
export default sections
122+
123+
// This is where the project creation form lives
124+
125+
export const basicSections = [
126+
{
127+
id: 'appDefinition',
128+
title: '',
129+
required: true,
130+
description: 'Please answer a few basic questions about your project and, as an option,\
131+
add links to supporting documents in the “Notes” section. If you have any \
132+
files to upload, you’ll be able to do so later.\
133+
\
134+
*AssureNXT - Rapid Test Design Module is a Component of AssureNXT which is a Test Management Platform.\
135+
It helps in Automated Test Case and Test Data Model generation through business process diagrams.\
136+
RTD establishes direct relationship between business requirements, process flows and test coverage.\
137+
Accelerated Test Case generation for changed business process.\
138+
\
139+
*Tosca - Tricentis Tosca is a testing tool that is used to automate end-to-end testing for software applications.\
140+
Tricentis Tosca combines multiple aspects of software testing (test case design, test automation, test data design \
141+
and generation, and analytics) to test GUIs and APIs from a business perspective',
142+
subSections: [
143+
{
144+
id: 'projectName',
145+
required: true,
146+
validationError: 'Please provide a name to your project',
147+
fieldName: 'name',
148+
description: '',
149+
title: 'Project Name',
150+
type: 'project-name'
151+
},
152+
{
153+
id: 'questions',
154+
required: true,
155+
hideTitle: true,
156+
title: 'Questions',
157+
description: '',
158+
type: 'questions',
159+
questions: [
160+
{
161+
id: 'projectInfo',
162+
// required is not needed if we specifiy validations
163+
// required: true,
164+
validations: 'isRequired,minLength:160',
165+
validationErrors: {
166+
isRequired : 'Please provide a description',
167+
minLength : 'Please enter at least 160 characters'
168+
},
169+
fieldName: 'description',
170+
description: 'Brief description of your project, Salesforce.com implementation testing objectives',
171+
title: 'Description',
172+
type: 'textbox'
173+
},
174+
{
175+
icon: 'question',
176+
required: true,
177+
validationError: 'Please provide the required options',
178+
title: 'The Salesforce.com accelerator pack comprises of pre-built test assets and tools/licenses support to enable customization services.\
179+
Would you like to purchase all the components of the accelerator pack or only a subset of it? (choose all that apply)',
180+
description: 'Full solution will have all the above components, while Partial solution - \
181+
can have just either the sfdc assets mentioned in option 1 OR SFDC assets + customized service without the license',
182+
fieldName: 'details.appDefinition.components',
183+
type: 'checkbox-group',
184+
options: [
185+
{value: 'pack_one', label: 'Manual Test packs + Business Models + Automation scripts'},
186+
{value: 'pack_two', label: 'License for AssureNXT and Tosca for 2 months'},
187+
{value: 'pack_three', label: 'Customization services to fit the pre-built assets to your specific use cases'}
188+
]
189+
},
190+
{
191+
icon: 'question',
192+
title: 'Select the functionalities which are applicable for your Salesforce.com Implementation ( 1 or multiple from the 10 listed below)',
193+
description: '',
194+
type: 'checkbox-group',
195+
fieldName: 'details.appDefinition.functionalities',
196+
options: [
197+
{value: 'sales_cloud_campaign', label: 'Sales Cloud - Campaign'},
198+
{value: 'lead', label: 'Lead'},
199+
{value: 'account', label: 'Account'},
200+
{value: 'contact', label: 'Contact'},
201+
{value: 'opportunity', label: 'Opportunity'},
202+
{value: 'quote', label: 'Quote'},
203+
{value: 'contract_and_order', label: 'Contract & Order Management'},
204+
{value: 'product_price', label: 'Product & Price Book and End to End Processes & Misc Functions (Activites Chatter Reports & Dashboards)'},
205+
{value: 'service_cloud_case_management', label: 'Service Cloud – Case Management'}
206+
]
207+
},
208+
{
209+
icon: 'question',
210+
required: true,
211+
title: 'Are you using the Lightning Experience?',
212+
description: '',
213+
fieldName: 'details.appDefinition.lightningExperience.value',
214+
type: 'radio-group',
215+
options: [
216+
{value: 'Yes', label: 'Yes'},
217+
{value: 'No', label: 'No'},
218+
{value: 'Neither', label: 'I Don\'t Know'}
219+
]
220+
}
221+
]
222+
},
223+
{
224+
id: 'notes',
225+
fieldName: 'details.appDefinition.notes',
226+
title: 'Notes',
227+
description: 'Please enter any additional information such as any existing test automation tool used,\
228+
known constraints for automation, % of customizations in your Salesforce.com implementation, etc.',
229+
type: 'notes'
230+
}
231+
]
232+
}
233+
]

src/config/projectSpecification/typeToSpecification.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
"data_exploration": "data_exploration.v1.0",
2222
"api_dev": "app_dev.v1.0",
2323
"health_check": "health_check.v1.0",
24-
"frontend_dev" : "app_dev.v1.0"
24+
"frontend_dev" : "app_dev.v1.0",
25+
"sfdc_testing" : "sfdc_accelerator.v1.0"
2526
}

src/config/projectWizard/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ const products = {
291291
id: 'consulting_adivisory',
292292
aliases: ['consulting-adivisory', 'consulting_adivisory'],
293293
disabled: true
294+
},
295+
'Salesforce Accelerator': {
296+
brief: 'TBD',
297+
details: 'SalesForce Testing, Cross browser-device Testing',
298+
icon: 'product-qa-sfdc-accelerator',
299+
id: 'sfdc_testing',
300+
aliases: ['sfdc_testing', 'sfdc-testing']
294301
}
295302
}
296303
}

src/projects/create/components/SelectProduct.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import IconQaHelthCheck from '../../../assets/icons/product-qa-health-check.svg'
3434
import IconQaMobilityTesting from '../../../assets/icons/product-qa-mobility-testing.svg'
3535
import IconQaOsAutomation from '../../../assets/icons/product-qa-os-automation.svg'
3636
import IconQaWebsitePrerfomance from '../../../assets/icons/product-qa-website-performance.svg'
37+
import IconQaSFDCAccelerator from '../../../assets/icons/product-qa-sfdc-accelerator.svg'
3738
import IconWebsiteWebsite from '../../../assets/icons/product-website-website.svg'
3839
import IconOutlineWorkProject from '../../../assets/icons/tech-32px-outline-work-project.svg'
3940

@@ -102,6 +103,8 @@ const ProjectTypeIcons = ({ type }) => {
102103
return <IconQaOsAutomation className="icon-qa-os-automation" />
103104
case 'product-qa-website-performance':
104105
return <IconQaWebsitePrerfomance className="icon-qa-website-performance" />
106+
case 'product-qa-sfdc-accelerator':
107+
return <IconQaSFDCAccelerator className="icon-qa-sfdc-accelerator" />
105108
case 'product-website-website':
106109
return <IconWebsiteWebsite className="icon-website-website" />
107110
case 'tech-32px-outline-work-project':

src/projects/list/components/Projects/ProjectCardHeader.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import IconQaHelthCheck from '../../../../assets/icons/product-qa-health-check.s
3535
import IconQaMobilityTesting from '../../../../assets/icons/product-qa-mobility-testing.svg'
3636
import IconQaOsAutomation from '../../../../assets/icons/product-qa-os-automation.svg'
3737
import IconQaWebsitePrerfomance from '../../../../assets/icons/product-qa-website-performance.svg'
38+
import IconQaSFDCAccelerator from '../../../../assets/icons/product-qa-sfdc-accelerator.svg'
3839
import IconWebsiteWebsite from '../../../../assets/icons/product-website-website.svg'
3940
import IconOutlineWorkProject from '../../../../assets/icons/tech-32px-outline-work-project.svg'
4041

@@ -103,6 +104,8 @@ const ProjectTypeIcons = ({ type }) => {
103104
return <IconQaOsAutomation className="icon-qa-os-automation"/>
104105
case 'product-qa-website-performance':
105106
return <IconQaWebsitePrerfomance className="icon-qa-website-performance"/>
107+
case 'product-qa-sfdc-accelerator':
108+
return <IconQaSFDCAccelerator className="icon-qa-sfdc-accelerator" />
106109
case 'product-website-website':
107110
return <IconWebsiteWebsite className="icon-website-website"/>
108111
case 'tech-32px-outline-work-project':

0 commit comments

Comments
 (0)