Skip to content

Commit

Permalink
chore: add : to "Please select from one of the below mentioned servic…
Browse files Browse the repository at this point in the history
…es" (#2588)
  • Loading branch information
ericclemmons authored and Josue Ruiz committed Oct 17, 2019
1 parent 49d7d4f commit 9400db9
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/enable_api.exp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/expect
spawn ./.circleci/api.sh
expect "Please select from one of the below mentioned services\r"
expect "Please select from one of the below mentioned services:\r"
send -- "\033\[B\r"
expect "Provide a friendly name for your resource to be used as a label for this category in the project:"
send -- "myAPI\r"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function serviceQuestionWalkthrough(context, supportedServices, category) {
const question = [
{
name: 'service',
message: 'Please select from one of the below mentioned services',
message: 'Please select from one of the below mentioned services:',
type: 'list',
choices: options,
},
Expand Down
4 changes: 2 additions & 2 deletions packages/amplify-e2e-tests/src/categories/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function addApiWithSchema(cwd: string, schemaFile: string, verbose: boole
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'api'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.sendline('\r')
.wait('Provide API name:')
.sendline('\r')
Expand Down Expand Up @@ -66,7 +66,7 @@ export function updateApiWithMultiAuth(cwd: string, settings: any, verbose: bool
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['update', 'api'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.sendline('')
.wait(/.*Choose the default authorization type for the API.*/)
.sendline('')
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-e2e-tests/src/categories/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function addAuthViaAPIWithTrigger(cwd: string, settings: any, verbose: bo
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'api'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.send('\r')
.wait('Provide API name')
.send('\r')
Expand Down
8 changes: 4 additions & 4 deletions packages/amplify-e2e-tests/src/categories/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function addSimpleDDB(cwd: string, settings: any, verbose: boolean = !isC
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'storage'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
// j = down arrow
.sendline('j')
.sendline('\r')
Expand Down Expand Up @@ -54,7 +54,7 @@ export function addDDBWithTrigger(cwd: string, settings: any, verbose: boolean =
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'storage'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
// j = down arrow
.sendline('j')
.sendline('\r')
Expand Down Expand Up @@ -104,7 +104,7 @@ export function updateDDBWithTrigger(cwd: string, settings: any, verbose: boolea
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['update', 'storage'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
// j = down arrow
.sendline('j')
.sendline('\r')
Expand Down Expand Up @@ -142,7 +142,7 @@ export function addS3WithTrigger(cwd: string, settings: any, verbose: boolean =
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'storage'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.sendline('\r')
.wait('Please provide a friendly name')
.sendline('\r')
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-ui-tests/src/categories/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function addApiWithSimpleModel(cwd: string, settings: any = {}, verbose:
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'api'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.sendline('\r')
.wait('Provide API name:')
.sendline(settings.apiName)
Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-ui-tests/src/categories/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function addStorageWithDefault(cwd: string, settings: any = {}, verbose:
return new Promise((resolve, reject) => {
nexpect
.spawn(getCLIPath(), ['add', 'storage'], { cwd, stripColors: true, verbose })
.wait('Please select from one of the below mentioned services')
.wait('Please select from one of the below mentioned services:')
.sendline('\r')
.wait('Please provide a friendly name for your resource that will be used to label')
.sendline('\r')
Expand Down

0 comments on commit 9400db9

Please sign in to comment.