@@ -56,7 +56,7 @@ When /^set the display name of user "([^"]*)" to "([^"]*)"$/
5656When /^set the email of user "([^"]*)" to "([^"]*)"$/
5757When sending :verb to ocs :url
5858When the response should have a status code :code
59- When fetch field :path from prevous JSON response
59+ When fetch field :path from previous JSON response
6060When the response should contain the initial state :name with the following values:
6161When the response should contain the initial state :name json that match with:
6262When the following :appId app config is set
@@ -83,7 +83,7 @@ When sending "post" to ocs "/apps/libresign/api/v1/request-signature"
8383 | file | {"base64":""} |
8484` ` `
8585
86- # ## Step: `fetch field :path from prevous JSON response`
86+ # ## Step: `fetch field :path from previous JSON response`
8787
8888If the json response is an array, you can fetch specific values using this step. The fetched values is stored to be used by other steps.
8989
@@ -112,7 +112,7 @@ The alias `price` could be used in a path or body of a request:
112112 }
113113 """
114114 And sending "POST" to "/"
115- And fetch field "(foo)data.0.foo" from prevous JSON response
115+ And fetch field "(foo)data.0.foo" from previous JSON response
116116 # After fetch the field, you can use the value of field like this:
117117 And sending "POST" to "/?foo=<foo>"
118118 | field | <data.0.foo> |
@@ -123,7 +123,7 @@ The alias `price` could be used in a path or body of a request:
123123You can assign the return of a jq to your field using a jq like as the follow pattern :
124124
125125` ` ` gherkin
126- And fetch field "(foo)(jq).value" from prevous JSON response
126+ And fetch field "(foo)(jq).value" from previous JSON response
127127` ` `
128128
129129This will retrieve a specific value from json response and assign this to your desided field.
@@ -160,7 +160,7 @@ If you need to:
160160
161161Implement a method `parseText` like the follow code and remember to call parent method.
162162
163- This methods can works together with `fetch field :path from prevous JSON response`
163+ This methods can works together with `fetch field :path from previous JSON response`
164164` ` ` php
165165protected function parseText(string $text): string {
166166 $patterns = [
0 commit comments