* WIP: post install message on commit
* linting
* finish message contents
* linting
* fix npm and binary, circleci name
* comment on CI build on AppVeyor
* remove extra build branches
* add chrome policy check that is logged to stdout/displayed in GUI
* improve warning message
* add desktop-gui warning when launching browser
* update tests
* clean up adding warnings to browsers in the gui
* support multiple warnings in gui
* update on-link
* don't show warning in open mode
* add test for warning getting attached, add hyperlink to warning tooltip
* render tooltip warnings with markdown
* pass NO_CHECK_DEPS=1 to skip dep check
* @cypress/react-tooltip@0.5.0 - adds clickability to tooltips
* add link to issue
* dont need to update reporter and runner
* use synchronous console.log, not async errors.log for displaying yellow warnings
* use trigger, do not build up events manually
/cc @flotwig
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* Collect env vars for concourse and goCD CI providers
Combines work done from #3235 and #4446
Co-Authored-By: Michael Sterpka <michaelsterpka@gmail.com>
Co-Authored-By: Juliardi عبدالله <sog01@users.noreply.github.com>
* alphabets are hard
* add comment for where env vars are for concourse and goCD
- //# -> //
- place goCD extraction method alphabetically
* faster iteration to determine whether we're in concourse env
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* decaffeinate: Rename mouse.coffee from .coffee to .js
* decaffeinate: Convert mouse.coffee to JS
* decaffeinate: Rename click_spec.coffee from .coffee to .js
* decaffeinate: Convert click_spec.coffee to JS
* decaffeinate: Run post-processing cleanups on mouse.coffee
* decaffeinate: Run post-processing cleanups on click_spec.coffee
* eslint rules for decaf
* cleanup decaf
* revert eslint
* [temp only] eslint rules for decaf
* decaffeinate: Rename click.coffee from .coffee to .js
* decaffeinate: Convert click.coffee to JS
* decaffeinate: Run post-processing cleanups on click.coffee
* cleanup decaf
* decaffeinate: Rename keyboard.coffee from .coffee to .js
* decaffeinate: Convert keyboard.coffee to JS
* decaffeinate: Run post-processing cleanups on keyboard.coffee
* cleanup decaf
* Revert "[temp only] eslint rules for decaf"
This reverts commit 326d9c2ac7.
* fix(deps): update fs-extra to 8.0.1 🌟
* but fs-extra in cli package back to 5.0.0 (Needs Node 4 support)
* fix(deps): update fs-extra to 8.1.0 🌟
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* remove string-to-stream dep (getStream isn't called anywhere)
I don’t see ‘getStream’ being called anywhere in the code, this is the
only method that uses string-to-stream
* trigger status check
* fix(deps): update request-progress to 3.0.0 🌟
* Added method to utils to convert percent value to percentage
- Wrote unit tests for both calculateETA and the percent to percentage
conversion
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore(deps): Update @cypress/bumpercar to 2.0.9 🌟
* remove react-tooltip upgrade from this PR
* Have tooltip have default empty string to avoid 'title requirement' warning in console
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Warn on createRun if warning code is unknown
* add response validation in 7_record_spec
* add unknown warning fallback test
* update existing tests to match schemas
* fix(deps): update fs-extra to 8.0.1 🌟
* but fs-extra in cli package back to 5.0.0 (Needs Node 4 support)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* fix(deps): update fs-extra to 6.0.1 🌟
* Downgrade cli fs-extra back down to 5.0.0 - 6.0.0 drops Node 4 support
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Do not log 'counts' for aliases that are non-routes
- Update styling of alias counts to be more centered
- Write tests for non-route aliases to display in runner
* Replace enzyme alias tests with Cypress tests
* Remove unnecessary instructions for desktop gui testing
* Add timezone env var to ensure desktop-gui testing passes
* Add parallelization disabled warning tooltip
- Update the few to match new logic written from Dashboard.
* fix failing specs
* add unit tests for stripSharedDirs method
* allow perf tests to fail CI
* use percentiles to make proxy-perf less flaky, reenable https tests, clean up table output
* newline
* retry performance test, lower timeout
* fix(deps): update winston to 1.1.2 🌟
* remove instances where winston is required but not used.
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* fix(deps): Update electron-positioner to 4.1.0 🌟
* remove electron-positioner dep - this is not used anywhere...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Allow users to disable exception reporting with CYPRESS_EXCEPTION_REPORTING=0
* rename to CYPRESS_CRASH_REPORTS, do not merge into env
* rename createRaygunException -> createCrashReport
* add projectId to default config keys so it shows up resolved project settings
-
* only suppress CYPRESS_ENV from showing up as an env var, allow CYPRESS_CRASH_REPORTS to be displayed
* make config keys a clear constant, formatting, cleanup
* truncate special env vars and debug logs
* only set authToken if truthy
* removed unused require
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* only send auth headers to the original protection space
* cleanup
* test now fails w/o fix
* note about moving this into lib/util/uri.js
* refactor, cleanup, and provide more context
* add lots of tests around cors.urlMatchesOriginProtectionSpace
- fix some edge cases and yes… bugs due to behavior of url.format(…)
- if host is set, port value is ignored, so we must clear it out
- protocol contains a ‘:’ character, fixed the protocol + port constants
- synchronize method signatures to always return a safely cloned
url.parse(…) object
- add url notes
* have buffers use url utility
* fixes failing tests
* remove unused require
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* Add failing test case for visible element within overflow hidden then position absolute element.
Addresses #4395
* Write failing test case for when parent is flex and overflow hidden with el outside bounds
Addresses #4161
* Wrote failing test for visibility outside of clip-path
Addresses #1178
* Add failing tests for transform scale
Addresses https://github.com/cypress-io/cypress/issues/723
* Add failing test for backfact-visibility hidden example
* cs -> js fixes
* Add more specific error when el is not element
* Always return as visible when checking html or body
* Add comments + rename methods to be more exact
* Add case for isHidden when visibility is collapse
* Add failing test cases for visibility issues
* Add comment about how ensureVisibility works under the hood
* Add checks and tests for opacity: 0 to be hidden
* Simplify if/case statements to be more readable
* Expand check for offset parents to also check children of ancestor for positioning attributes
close#4395close#755
* Fix issue where els with parents with absolute position inside overflow hidden would be calculated as not visible
* comment out opacity checks for patch release
* Add more tests around new visibility assertions
- Add case to make sure display none is not on the option or optgroup
itself
* Fix failing assertion - where el was undefined when looking for visibiliyt
* remove commented out code involving opacity 😬
* use is-html as a fallback to check if response is HTML
* end response with passthru stream
* clean up network_failures
* add test that visit passes with undef content-type
* handle empty responses too
* try to fix dtslint: bump package version 2
02-00000876
* fix failing tests via develop merge
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
* release 3.2.0 [skip ci]
* add failing test for 304
* always end response on 1xx, 204, or 304
* add http req spec
* add test that 1xx, 204, 304 always pass thru immediately
* cleanup
* skip stubborn test
* cleanup, tests
* fix stopping debugproxy where it hasn't been started
fix stopping debugproxy where it hasn't been started
* Never proxy websocket port
* e2e test now works
* unnecesary this
* e2e works in ci
Co-authored-by: Brian Mann <brian.mann86@gmail.com>