Skip to content

Commit 18637c6

Browse files
author
vikasrohit
authored
Merge pull request #1130 from wdprice/feature/qaas-and-chatbot
Removed hours and configurations to ease the intake process. QAAS inp…
2 parents 4a3a0df + fbdcdac commit 18637c6

File tree

1 file changed

+50
-56
lines changed

1 file changed

+50
-56
lines changed

src/config/projectQuestions/crowd_testing.v1.0.js

Lines changed: 50 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Icons } from 'appirio-tech-react-components'
33
import NumberText from '../../components/NumberText/NumberText'
44
import { findProduct} from '../projectWizard'
55

6+
67
const isFileRequired = (project, subSections) => {
78
const subSection = _.find(subSections, (s) => s.type === 'questions')
89
const fields = _.filter(subSection.questions, q => q.type.indexOf('see-attached') > -1)
@@ -62,48 +63,38 @@ const sections = [
6263
{
6364
icon: 'question',
6465
required: true,
65-
validationError: 'Please let us know the expected hours',
66-
title: 'Approximately how many hours of crowd testing are you \
67-
looking for your app?',
68-
description: 'If you know roughly the amount of time you want spent \
69-
testing the application please list it here. If you do \
70-
not know how many hours you require your copilot can \
71-
assist you.',
66+
validationError: 'Please let us know if you have test cases.',
67+
title: 'Do you have test cases written?',
68+
description: 'Do you have test cases you would like executed? These are essential when running structured testing and optional for unstructured testing. If you are planning a structured test cycle and do not have test cases do not worry, we can help!',
7269
fieldName: 'details.appDefinition.expectedHours',
73-
type: 'tiled-radio-group',
70+
type: 'radio-group',
7471
options: [
75-
{value: 'upto100', title: 'hours', icon: NumberText, iconOptions: { number: '100' }, desc: 'or fewer'},
76-
{value: 'upTo250', title: 'hours', icon: NumberText, iconOptions: { number: '250' }, desc: 'or fewer'},
77-
{value: 'upTo500', title: 'hours', icon: NumberText, iconOptions: { number: '500' }, desc: 'or fewer'},
78-
{value: 'dontKnow', title: 'Do not know', icon: 'icon-dont-know', iconOptions: { fill: '#00000'}, desc: 'or not applicable'}
72+
{value: 'true', label: 'Yes I have test cases.'},
73+
{value: 'false', label: 'No I do not have test cases.'}
7974
]
8075
},
8176
{
8277
icon: 'question',
83-
title: 'In which geographies would you like to test?',
84-
description: '',
85-
type: 'checkbox-group',
86-
options: [
87-
{value: 'africa', label: 'Africa'},
88-
{value: 'asia', label: 'Asia'},
89-
{value: 'australia', label: 'Australia'},
90-
{value: 'europe', label: 'Europe'},
91-
{value: 'northAmerica', label: 'North America'},
92-
{value: 'southAmerica', label: 'South America'}
93-
],
94-
fieldName: 'details.appDefinition.geographies'
78+
title: 'Please tell us about your users.',
79+
description: 'Please share information about your end users. Where are they from? What is their goal? This information can help you find the best testers for your application.',
80+
type: 'textbox',
81+
fieldName: 'details.appDefinition.userInfo'
9582
},
9683
{
9784
icon: 'question',
98-
title: 'Approximately how many platform/device - browser configurations to be tested?',
99-
description: '',
100-
fieldName: 'details.appDefinition.browserConfigurations',
85+
title: 'Which is your primary device target?',
86+
description: 'Select only the device that you need to develop for. \
87+
In most cases limiting the scope of your project would result \
88+
in better final result. Topcoder recommends to always start \
89+
with the mobile phone view and expand to other devices as your \
90+
app matures.',
91+
fieldName: 'details.appDefinition.primaryTarget',
10192
type: 'tiled-radio-group',
10293
options: [
103-
{value: 'upto5', title: 'configurations', icon: NumberText, iconOptions: { number: '5' }, desc: 'or fewer'},
104-
{value: 'upTo10', title: 'configurations', icon: NumberText, iconOptions: { number: '10' }, desc: 'or fewer'},
105-
{value: 'upTo20', title: 'configurations', icon: NumberText, iconOptions: { number: '20' }, desc: 'or fewer'},
106-
{value: 'dontKnow', title: 'Do not know', icon: Icons.IconTechOutlineWatchApple, iconOptions: { fill: '#00000'}, desc: 'We will find the best fit for you.'}
94+
{value: 'phone', title: 'Phone', icon: Icons.IconTechOutlineMobile, iconOptions: { fill: '#00000'}, desc: 'iOS, Android, Hybrid'},
95+
{value: 'tablet', title: 'Tablet', icon: Icons.IconTechOutlineTablet, iconOptions: { fill: '#00000'}, desc: 'iOS, Android, Hybrid'},
96+
{value: 'desktop', title: 'Desktop', icon: Icons.IconTechOutlineDesktop, iconOptions: { fill: '#00000'}, desc: 'all OS'},
97+
{value: 'wearable', title: 'Wearable', icon: Icons.IconTechOutlineWatchApple, iconOptions: { fill: '#00000'}, desc: 'Watch OS, Android Wear'}
10798
]
10899
}
109100
]
@@ -290,38 +281,41 @@ export const basicSections = [
290281
{
291282
icon: 'question',
292283
required: true,
293-
validationError: 'Please let us know the expected hours',
294-
title: 'Approximately how many hours of crowd testing are you \
295-
looking for your app?',
296-
description: 'If you know roughly the amount of time you want spent \
297-
testing the application please list it here. If you do \
298-
not know how many hours you require your copilot can \
299-
assist you.',
284+
validationError: 'Please let us know if you have test cases.',
285+
title: 'Do you have test cases written?',
286+
description: 'Do you have test cases you would like executed? These are essential when running structured testing and optional for unstructured testing. If you are planning a structured test cycle and do not have test cases do not worry, we can help!',
300287
fieldName: 'details.appDefinition.expectedHours',
301-
type: 'tiled-radio-group',
288+
type: 'radio-group',
302289
options: [
303-
{value: 'upto100', title: 'hours', icon: NumberText, iconOptions: { number: '100' }, desc: 'or fewer'},
304-
{value: 'upTo250', title: 'hours', icon: NumberText, iconOptions: { number: '250' }, desc: 'or fewer'},
305-
{value: 'upTo500', title: 'hours', icon: NumberText, iconOptions: { number: '500' }, desc: 'or fewer'},
306-
{value: 'dontKnow', title: 'Do not know', icon: 'icon-dont-know', iconOptions: { fill: '#00000'}, desc: 'or not applicable'}
290+
{value: 'true', label: 'Yes I have test cases.'},
291+
{value: 'false', label: 'No I do not have test cases.'}
307292
]
308293
},
309294
{
310295
icon: 'question',
311-
title: 'In which geographies would you like to test?',
312-
description: '',
313-
type: 'checkbox-group',
314-
options: [
315-
{value: 'africa', label: 'Africa'},
316-
{value: 'asia', label: 'Asia'},
317-
{value: 'australia', label: 'Australia'},
318-
{value: 'europe', label: 'Europe'},
319-
{value: 'northAmerica', label: 'North America'},
320-
{value: 'southAmerica', label: 'South America'}
321-
],
322-
fieldName: 'details.appDefinition.geographies'
296+
title: 'Please tell us about your users.',
297+
description: 'Please share information about your end users. Where are they from? What is their goal? This information can help you find the best testers for your application.',
298+
type: 'textbox',
299+
fieldName: 'details.appDefinition.userInfo'
323300
},
324301
{
302+
icon: 'question',
303+
title: 'Which is your primary device target?',
304+
description: 'Select only the device that you need to develop for. \
305+
In most cases limiting the scope of your project would result \
306+
in better final result. Topcoder recommends to always start \
307+
with the mobile phone view and expand to other devices as your \
308+
app matures.',
309+
fieldName: 'details.appDefinition.primaryTarget',
310+
type: 'tiled-radio-group',
311+
options: [
312+
{value: 'phone', title: 'Phone', icon: Icons.IconTechOutlineMobile, iconOptions: { fill: '#00000'}, desc: 'iOS, Android, Hybrid'},
313+
{value: 'tablet', title: 'Tablet', icon: Icons.IconTechOutlineTablet, iconOptions: { fill: '#00000'}, desc: 'iOS, Android, Hybrid'},
314+
{value: 'desktop', title: 'Desktop', icon: Icons.IconTechOutlineDesktop, iconOptions: { fill: '#00000'}, desc: 'all OS'},
315+
{value: 'wearable', title: 'Wearable', icon: Icons.IconTechOutlineWatchApple, iconOptions: { fill: '#00000'}, desc: 'Watch OS, Android Wear'}
316+
]
317+
}
318+
/*{
325319
icon: 'question',
326320
title: 'Approximately how many platform/device - browser configurations to be tested?',
327321
description: '',
@@ -334,7 +328,7 @@ export const basicSections = [
334328
{value: 'dontKnow', title: 'Do not know', icon: Icons.IconTechOutlineWatchApple, iconOptions: { fill: '#00000'}, desc: 'We will find the best fit for you.'}
335329
]
336330
}
337-
/*{
331+
{
338332
id: 'projectInfo',
339333
required: true,
340334
validationError: 'Please provide any user accounts \

0 commit comments

Comments
 (0)