Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Update driver error messages to allow objects #3752

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update stack traces in snapshots
  • Loading branch information
lilaconlee committed Mar 20, 2019
commit ad06557bed8d6ec4b3e9d75e7bc1051d85fd6f66
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Because this error occurred during a 'before each' hook we are skipping the rema
at stack trace line
at stack trace line
at stack trace line
at stack trace line

2) s3a "before all" hook for "t8a":
Error: s3a before hook failed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ We dynamically generated a new test to display this failure.
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
1 change: 1 addition & 0 deletions packages/server/__snapshots__/2_config_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ exports['e2e config fails 1'] = `
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
1 change: 1 addition & 0 deletions packages/server/__snapshots__/3_issue_173_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ exports['e2e issue 173 failing 1'] = `
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
2 changes: 2 additions & 0 deletions packages/server/__snapshots__/4_request_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ RequestError: Error: connect ECONNREFUSED 127.0.0.1:16795
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down Expand Up @@ -279,6 +280,7 @@ Body: Service Unavailable
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ https://on.cypress.io/returning-value-and-commands-in-custom-command
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ exports['e2e spec_isolation failing 1'] = {
],
"state": "failed",
"body": "function () {\n return cy.wrap(true, {\n timeout: 100\n }).should(\"be.false\");\n }",
"stack": "CypressError: Timed out retrying: expected true to be false\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line",
"stack": "CypressError: Timed out retrying: expected true to be false\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line\n at stack trace line",
"error": "Timed out retrying: expected true to be false",
"timings": {
"lifecycle": 100,
Expand Down
2 changes: 2 additions & 0 deletions packages/server/__snapshots__/5_stdout_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Because this error occurred during a 'before each' hook we are skipping the rema
at stack trace line
at stack trace line
at stack trace line
at stack trace line

3) stdout_failing_spec passing hook is failing:
CypressError: cy.visit() failed trying to load:
Expand Down Expand Up @@ -91,6 +92,7 @@ The internal Cypress web server responded with:
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ https://on.cypress.io/api/task
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
2 changes: 2 additions & 0 deletions packages/server/__snapshots__/6_task_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ https://on.cypress.io/api/task
at stack trace line
at stack trace line
at stack trace line
at stack trace line

2) includes stack trace in error:
CypressError: cy.task('errors') failed with the following error:
Expand Down Expand Up @@ -145,6 +146,7 @@ https://on.cypress.io/api/task
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
4 changes: 4 additions & 0 deletions packages/server/__snapshots__/6_visit_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Error: connect ECONNREFUSED 127.0.0.1:16795
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down Expand Up @@ -238,6 +239,7 @@ If you do not want status codes to cause failures pass the option: 'failOnStatus
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down Expand Up @@ -335,6 +337,7 @@ The internal Cypress web server responded with:
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down Expand Up @@ -434,6 +437,7 @@ cy.request() will automatically get and set cookies and enable you to parse resp
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down
3 changes: 3 additions & 0 deletions packages/server/__snapshots__/6_web_security_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ https://on.cypress.io/cross-origin-violation
at stack trace line
at stack trace line
at stack trace line
at stack trace line

2) web security fails when submitted a form and being redirected to another origin:
CypressError: Cypress detected a cross origin error happened on page load:
Expand Down Expand Up @@ -89,6 +90,7 @@ https://on.cypress.io/cross-origin-violation
at stack trace line
at stack trace line
at stack trace line
at stack trace line

3) web security fails when using a javascript redirect to another origin:
CypressError: Cypress detected a cross origin error happened on page load:
Expand Down Expand Up @@ -121,6 +123,7 @@ https://on.cypress.io/cross-origin-violation
at stack trace line
at stack trace line
at stack trace line
at stack trace line



Expand Down