Configurations Flashcards

1
Q

baseUrl

A

URL used as prefix for cy.visit() or cy.request() command’s URL. Default is Null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

env

A

Any values to be set as environment variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

numTestsKeptInMemory

A

The number of tests for which snapshots and command data are kept in memory. Reduce this number if you are experiencing high memory consumption in your browser during a test run. Default is 50.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

port

A

Port used to host Cypress. Normally this is a randomly generated port. Default is Null.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

reporter

A

The reporter used during cypress run. Default is ‘spec’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

reporterOptions

A

The reporter options used. Supported options depend on the reporter. Default is Null.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

watchForFileChanges

A

Whether Cypress will watch and restart tests on test file changes. Default is TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

defaultCommandTimeout

A

Timeout Setting: Time, in milliseconds, to wait until most DOM based commands are considered timed out. Default is 4000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

execTimeout

A

Time, in milliseconds, to wait for a system command to finish executing during a cy.exec() command. Default is 60000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

tasksTimeout

A

Time, in milliseconds, to wait for a task to finish executing during a cy.task() command. Default is 60000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

pageLoadTimeout

A

Time, in milliseconds, to wait for page transition events or cy.visit(), cy.go(), cy.reload() commands to fire their page load events. Network requests are limited by the underlying operating system, and may still time out if this value is increased. Default is 60000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

requestTimeout

A

Time, in milliseconds, to wait for an XHR request to go out in a cy.wait() command. Default is 5000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

responseTimeout

A

Time, in milliseconds, to wait until a response in a cy.request(), cy.wait(), cy.fixture(), cy.getCookie(), cy.getCookies(), cy.setCookie(), cy.clearCookie(), cy.clearCookies(), and cy.screenshot() commands. Default is 30000.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly