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+ ]
0 commit comments