mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-14 03:00:21 -06:00
Review feedback, standardizing all docs about slowTestThreshold to use same verbage
This commit is contained in:
@@ -46,8 +46,8 @@
|
||||
},
|
||||
"slowTestThreshold": {
|
||||
"type": "number",
|
||||
"default": 5000,
|
||||
"description": "Slow test slowTestThreshold passed to mocha. See https://on.cypress.io/configuration#Global"
|
||||
"default": 10000,
|
||||
"description": "Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold. See https://on.cypress.io/configuration#Global"
|
||||
},
|
||||
"testFiles": {
|
||||
"type": [
|
||||
@@ -84,7 +84,7 @@
|
||||
},
|
||||
"requestTimeout": {
|
||||
"type": "number",
|
||||
"default": 10000,
|
||||
"default": 5000,
|
||||
"description": "Time, in milliseconds, to wait for an XHR request to go out in a cy.wait() command"
|
||||
},
|
||||
"responseTimeout": {
|
||||
|
||||
2
cli/types/cypress-npm-api.d.ts
vendored
2
cli/types/cypress-npm-api.d.ts
vendored
@@ -92,7 +92,7 @@ declare namespace CypressCommandLine {
|
||||
*/
|
||||
reporterOptions: any
|
||||
/**
|
||||
* Specify a slow test threshold in milliseconds
|
||||
* Specify a slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold.
|
||||
*/
|
||||
slowTestThreshold: number
|
||||
/**
|
||||
|
||||
2
cli/types/cypress.d.ts
vendored
2
cli/types/cypress.d.ts
vendored
@@ -2573,7 +2573,7 @@ declare namespace Cypress {
|
||||
*/
|
||||
reporterOptions: { [key: string]: any }
|
||||
/**
|
||||
* A slow test threshold in milliseconds
|
||||
* Slow test threshold in milliseconds. Only affects the visual output of some reporters. For example, the spec reporter will display the test time in red if over the threshold and in yellow if over half the threshold.
|
||||
* @default 10000
|
||||
*/
|
||||
slowTestThreshold: number | null
|
||||
|
||||
Reference in New Issue
Block a user