* renames
* Refactor proxy into own package, implement middleware pattern
don't need these mocha opts anymore
fix test
no more zunder
READMEs
fix test
* pass request by reference
* fix cors path
* Move replace_stream to proxy, concat-stream util in network
* Pin dependency versions
* Revert addDefaultPort behavior
* Add READMEs for proxy, network
* Update README.md
* eslint --fix
* set to null not undefined
* use delete and bump node types
* import cors from package now
* parse-domain@2.3.4
* proxy package needs common-tags
* move pumpify dep
* load through where it's needed, remove unused passthru_stream
* remove unneeded getbuffer call
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
* WIP: catch child process killed with a signal
* unit test getError
* we don't need custom exit code
* Update cli/lib/exec/spawn.js
Co-Authored-By: Zach Bloomquist <github@chary.us>
* Update cli/lib/errors.js
Co-Authored-By: Zach Bloomquist <github@chary.us>
* update snapshots with wording
* Added unit test script wrapper.
* Removed bin-up to make lint-coffee fail.
* Made mocha tests return non-zero value on failure for reporter and runner
* Added empty space to test ci failure.
* remove extra whitespace
* use Promise.delay instead of hand-rolled sleep function
* include root-level tests
* exit with number of failures
* Fixed null JSON file error.
* Added new fixture page to fix the failure.
* [] -> ''.
* Fixed test message.
* Asserts returned json value on the client side.
* simplify test a little, remove waits
* fixture json format
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
* do not pass mocha again if we are on windows
* seems that we have to run the runner before the execution of the e2e tests
* adjust README according to review
* clean up cookies_spec in preparation for more assertions
* add test for setting 2 cookies at each redirect
* clean up tests somewhat
* add failing test
* make buffers a singleton
* do not resolve visit on superdomain change with cached buffer
* Update request_spec that expects 1 GET per visit
* update server_specs that expect 1 request/visit
* improve variable names + logging in request.coffee
* always reset buffers before test run + on visit
* Correct domainMatch usage in request.coffee
* Correct domainMatch usage in cdp_automation.ts
* improve variable names + logging in request.coffee
* truncate screenshot data in verbose cri logs
* add some headers to maybeRetryOnStatusCodeFailure
* try: i believe the cdp_automation ordering was correct
* add add'l cookie verbose logging
* add e2e tests for this cookies bug
Co-authored-by: Zach Bloomquist <github@chary.us>
* filter out duplicate modifiers from cy.type
* add comments
* undo reversing modifier keys, keep FIFO order of release
* fix test
* feedback: use lodash chain
* fix(deps): update parse-domain to 2.3.4 🌟
* update details now that s3.amazonaws.com is a public suffix
* bump max size
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
* move github templates into .github folder
* move code of conduct
* add pull request review comments
* fix a few missed links to newly moved github resources
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Preserve number strings.
* Fixed warning caused by exception.
* Fixed excessive quotation marks. And added related tests to show this.
* Show keys properly.
* Minor fixes: arrowify, use backtick.
* Added tests.
* Fixed confusing asterisks.
* write failing test for login modal not closing during project setup
* add closeLogin, openLogin to authStore
* update test to click Continue before setup can proceed
* add event listeners to fix this strange modal flow
* Add a bunch of extra tests in 2_cookies_spec
* Try not doing weird things to cookies
* if cypress.env.debug is set, log command execution thru server
* improve elctron logging - we missed this when doing cri-client logging
* make video_capture frames part of verbose
* cleanup
* use the data from getCookie to run deleteCookies
* fix screenshots
* still resolve with cleared cookie
* cy.getcookie now gets ALL cookies from ALL domains
* return Promise for followRedirect, not req.init wrap
* allow passing domain: null to cy.getCookies to get all
* update request_spec to be clearer
* still need to call followRedirect option during sendStream
* beautify the e2e tests
* correct e2e test + snapshot
* always discard default ports when get/set buffer - fixes#5367
* make cy.clearCookies({ domain: null }) clear ALL cookies
* update spec
* use string url as key
* rebalance some e2e tests to make time for new cookies e2e tests
* always add default port to buffer url
* jk, remove default port
* set hostOnly: true when appropriate when setting cookies back on visit
* update tests
* Revert "if cypress.env.debug is set, log command execution thru server"
This reverts commit 623ed443d4.
* try to clean diff, cookies_no_baseurl didnt change
* WIP move the expected cookies array out of snapshot and expect inline
* finish updating tests
* add missing snapshot
* remove useless onstdout
Co-authored-by: Brian Mann <brian.mann86@gmail.com>