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

Truncate httpprops in error message to show more chars #5150

Merged
merged 5 commits into from
Sep 29, 2019
Merged

Conversation

jennifer-shehane
Copy link
Member

@cypress
Copy link

cypress bot commented Sep 16, 2019



Test summary

3364 0 47 0


Run details

Project cypress
Status Passed
Commit 6865e0a
Started Sep 29, 2019 2:29 AM
Ended Sep 29, 2019 2:32 AM
Duration 03:44 💡
OS Linux Debian - 9.8
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@@ -0,0 +1,4 @@
describe "when status code isnt 2xx or 3xx", ->
it "fails", ->
cy.request("http://localhost:2294/myreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallylong
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brian-mann
Copy link
Member

@jennifer-shehane are you fixing these conflicts?

# Conflicts:
#	packages/server/__snapshots__/4_request_spec.coffee.js
@brian-mann brian-mann merged commit 05a254a into develop Sep 29, 2019
grabartley pushed a commit to grabartley/cypress that referenced this pull request Oct 6, 2019
* bump up truncation of formatting http props to 2000 chars instead of 100

let’s see what snapshots look like 🤞

* Add a test for something with a long prop (url) to have snapshot to not truncate.

* remove unnecessary module


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should not truncate full url during cy.request() in stdout
2 participants