Skip to content
69 changes: 20 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions source/api/commands/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cy.exec('npm run build')

**{% fa fa-angle-right %} command** ***(String)***

The system command to be executed from the project root (the directory that contains `cypress.json`).
The system command to be executed from the project root (the directory that contains the default `cypress.json` configuration file).

**{% fa fa-angle-right %} options** ***(Object)***

Expand Down Expand Up @@ -157,7 +157,7 @@ A command must exit within the `execTimeout` or Cypress will kill the command's

# Command Log

***List the contents of cypress.json***
***List the contents of default `cypress.json` configuration file***

```javascript
if (Cypress.platform === 'win32') {
Expand Down
4 changes: 2 additions & 2 deletions source/api/commands/readfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cy.readFile('menu.json')

**{% fa fa-angle-right %} filePath** ***(String)***

A path to a file within the project root (the directory that contains `cypress.json`).
A path to a file within the project root (the directory that contains the default `cypress.json` configuration file).

**{% fa fa-angle-right %} encoding** ***(String)***

Expand Down Expand Up @@ -189,7 +189,7 @@ cy.readFile('some/nested/path/story.txt').should('eq', 'Once upon a time...')

# Command Log

***List the contents of cypress.json***
***List the contents of default `cypress.json` configuration file***

```javascript
cy.readFile('cypress.json')
Expand Down
3 changes: 1 addition & 2 deletions source/api/commands/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ cy.visit('http://localhost:8080/app')
cy.request('users/1.json') // url is http://localhost:8080/users/1.json
```

2. If you make a `cy.request()` prior to visiting a page, Cypress uses the host configured as the `baseUrl` property inside of `cypress.json`.
2. If you make a `cy.request()` prior to visiting a page, Cypress uses the host configured as the `baseUrl` property inside of of your {% url "configuration file" configuration %}.

```json
// cypress.json

{
"baseUrl": "http://localhost:1234"
}
Expand Down
2 changes: 1 addition & 1 deletion source/api/commands/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ If multiple task objects use the same key, the later registration will overwrite

# Command Log

### List the contents of `cypress.json`
### List the contents of the default `cypress.json` configuration file

```javascript
cy.task('readJson', 'cypress.json')
Expand Down
Loading