Skip to content

Commit b21e086

Browse files
authored
Merge pull request cypress-io#3764 from Laffini/master
Fix minor grammatical mistake in requirement
2 parents 04ae69e + 6ea57b8 commit b21e086

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/api/commands/request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ The intention of `cy.request()` is to be used for checking endpoints on an actua
329329

330330
### Requirements [<Icon name="question-circle"/>](/guides/core-concepts/introduction-to-cypress#Chains-of-Commands)
331331

332-
<List><li>`cy.request()` requires being chained off of `cy`.</li><li>`cy.request()` requires that the server send a response.</li><li>`cy.request()` requires that the response status code be `2xx` or `3xx` or `failOnStatusCode` is `true`.</li></List>
332+
<List><li>`cy.request()` requires being chained off of `cy`.</li><li>`cy.request()` requires that the server sends a response.</li><li>`cy.request()` requires that the response status code be `2xx` or `3xx` or `failOnStatusCode` is `true`.</li></List>
333333

334334
### Assertions [<Icon name="question-circle"/>](/guides/core-concepts/introduction-to-cypress#Assertions)
335335

scripts/requirements.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const createReadFileListItems = (cmd) => {return [
9595

9696
const createRequestListItems = (cmd) => {return [
9797
createParentCommandListItem(cmd),
98-
`${codify(cmd)} requires that the server send a response.`,
98+
`${codify(cmd)} requires that the server sends a response.`,
9999
`${codify(cmd)} requires that the response status code be ${codify(
100100
'2xx'
101101
)} or ${codify('3xx')} or ${codify('failOnStatusCode')} is ${codify(

0 commit comments

Comments
 (0)