/
errors_spec.js
99 lines (69 loc) · 2.44 KB
/
errors_spec.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
exports['errors .errors.formErrorText calls solution if a function 1'] = `
description
a solution
----------
Platform: test platform-x64 (Foo-OsVersion)
Cypress Version: 1.2.3
`
exports['errors .errors.formErrorText returns fully formed text message 1'] = `
Your system is missing the dependency: Xvfb
Install Xvfb and run Cypress again.
Read our documentation on dependencies for more information:
[34mhttps://on.cypress.io/required-dependencies[39m
If you are using Docker, we provide containers with all required dependencies installed.
----------
Platform: test platform-x64 (Foo-OsVersion)
Cypress Version: 1.2.3
`
exports['errors individual has the following errors 1'] = [
"CYPRESS_RUN_BINARY",
"binaryNotExecutable",
"childProcessKilled",
"failedDownload",
"failedUnzip",
"failedUnzipWindowsMaxPathLength",
"incompatibleHeadlessFlags",
"invalidCacheDirectory",
"invalidCypressEnv",
"invalidOS",
"invalidRunProjectPath",
"invalidSmokeTestDisplayError",
"invalidTestingType",
"missingApp",
"missingDependency",
"missingXvfb",
"nonZeroExitCodeXvfb",
"notInstalledCI",
"smokeTestFailure",
"unexpected",
"unknownError",
"versionMismatch"
]
exports['invalid display error'] = `
Cypress verification failed.
Cypress failed to start after spawning a new Xvfb server.
The error logs we received were:
----------
current message
----------
This may be due to a missing library or dependency. [34mhttps://on.cypress.io/required-dependencies[39m
Please refer to the error above for more detail.
----------
Platform: test platform-x64 (Foo-OsVersion)
Cypress Version: 1.2.3
`
exports['child kill error object'] = {
"description": "The Test Runner unexpectedly exited via a [36mexit[39m event with signal [36mSIGKILL[39m",
"solution": "Please search Cypress documentation for possible solutions:\n\n [34mhttps://on.cypress.io[39m\n\nCheck if there is a GitHub issue describing this crash:\n\n [34mhttps://github.com/cypress-io/cypress/issues[39m\n\nConsider opening a new issue."
}
exports['Error message'] = `
The Test Runner unexpectedly exited via a [36mexit[39m event with signal [36mSIGKILL[39m
Please search Cypress documentation for possible solutions:
[34mhttps://on.cypress.io[39m
Check if there is a GitHub issue describing this crash:
[34mhttps://github.com/cypress-io/cypress/issues[39m
Consider opening a new issue.
----------
Platform: test platform-x64 (Foo-OsVersion)
Cypress Version: 1.2.3
`