* handle colors and platform piping
- pipe stderr to ignore high sierra fixes#1745,
- always pipe windows for utf8 encoding fixes#1143 and #1550
- force color in CI by default #1747
- support NO_COLOR argument #1748
* reset TTY for stdin and stdout not just stderr
* fix for failing tests in ci
* fix failing environment unit tests due to sinon env change
* fix failing integration request specs
* fix failing tests, cleanup cache before each test, not after
* fix failing integration server tests
* wip [skip ci] update
* wip [skip ci] update test
* [skip ci] fix env var
* bump sinon, create helper utility to always throw when a stub is called without being given stubbed behavior
* update failing specs
* fix some error messages
* update snapshot
* warning -> note, add snapshot tests
* change snapshot os.release, test env vars
* server: pass --cwd from CLI to use when resolving relative paths for various options
- remove unnecessary cwd manipulation in scripts/start
* server: fixes#1159, specs are normalized into an array resolved against cwd
- projectPath is now normalized against cwd as well
* server: move hosts out of CLI args, keep as config only
* server: convert spec array to string on module API
* cli: must ref root package directly
* server: fixes busted specs due to cherry pick
* server: temporary fix for specs being normalized into an array
* server: move around spec flattening earlier
* server: pass absolute path for specs
* server: revert flattening hosts into config temporarily
* server: add correct relative + absolute path to spec
* driver: normalize spec path against project
* driver: skip flaky test for now [skip ci]
* Fixed typos in errors.js
* Revert "Fixed typos in errors.js"
This reverts commit 99085af24c.
* Fixed typos in errors.js
* Fixed typo in errors spec snapshot
Hopefully tests should be passing now
* Fixed typo in verify spec snapshot
* cli: fixes#838 start cypress in dev by routing through the CLI
- matches how we run in production better to keep parity and consistency
* cli: add coerceFalse for clarity
* cli: add global flag, update to work with windows
* server: bring into parity with root scripts
* cli: just execute start script directly to work with windows
* cli: if colors are supported then force them via env vars
- this fixes windows not displaying colors from electron because by
default isTTY is false (due to electron)
* cli: fixes#921 don't ignore stderr, inherit stdio on everything except when linux + xvfb
- filter out stderr messages coming from Xlib or libudev (from xvfb)
* cli, server: force stderr tty so that normalize tty behavior when piping
* server: drop in supports color so debug outputs more colors!
* server: remove empty line
* root: refer to cypress not monorepo
* cli: make util.supportsColor return boolean
* cl: add tests around spawn behavior with forcing colors, tty, and stdio configuration
* cli: handle xvfb onStderrData callback to output debug information
* cli: handle non zero exit code error from xvfb with special message
* cli: fixes#838 start cypress in dev by routing through the CLI
- matches how we run in production better to keep parity and consistency
* cli: add coerceFalse for clarity
* cli: add global flag, update to work with windows
* server: bring into parity with root scripts
* cli: just execute start script directly to work with windows
* cli, server: fixes failing tests
* runner: display css selector helper and highlight on hover
* runner: use unique-selector lib
* runner: eslint auto-fixes
* upgrade zunder to 5.5.1 and update configs
* reporter: add babel deps
* runner/reporter: lock react to 15.6.2
* runner: add highlight w/ tooltip and copy-to-clipboard
* runner/reporter: upgrade react-tooltip to 0.3.1
* server: upgrade browserify-preprocessor to 1.0.2
* cli: eslint auto-fixes
* upgrade zunder to 5.5.2
* runner: add defensive style resets to selector helper highlight
* runner: ensure iframe contents exist before acting on them
* runner: hide selector helper button when tests are loading or running
* runner: use shadow dom for selector helper highlight
* runner: reset state when selector helper is disabled
* runner: rebind selector helper when snapshot changes
* runner: don’t show tooltip when hovering over selector
* runner: integrate playground input into selector helper
* runner: fix mouseover/mouseout for selector
* runner: fix selector clearing
* runner: allow selector area to scroll
* runner: enable switching between get and contains
* runner: refactor method
* runner: add tooltip to selector helper toggle
* runner: focus selector helper input when method changes
* runner: remove references to cypressEnv
* runner: keep selector even if snapshot changes
* runner: persist selector helper state instead of clearing it when things change
* runner: hide method picker when clicking outside of it
* runner: pass model into selector helper
* CSS style changes to selector helper
- merge in changes + fix conflicts
* update close icon to not be so bold
* runner: keep selector helper styles out of main runner styles
* runner: rename playgroundInfo to info
* runner: simplify selector helper model
* driver: restrict more nodes from contains selector
* runner: cleanup
* runner: move selector helper to top
* more style updates for selector-helper
* move arrow to left of cy.
* Added a 'print to console' button
* runner: use fork of unique-selector and accept attribute selectors
* runner: implement print to console
* runner: close selector helper when re-running tests
* runner: improve header responsive design
* reporter: shorten console print message and lengthen duration shown
* more styling for css selector panel.
* style changes off of conversation
* updated main dropdown button
* update colors of input on invalid / no elements to be red
* disable copy to clipboard & print to console buttons if invalid / no elements
* style disabled clipboard & print buttons
* update tooltip on click of 'print to console' to say 'printed!'
* runner: refactor header to use mobx state
* add link to docs help to selector playground
* runner: add tests for header
* runner: use the right button
* runner: add tests for selector helper
* runner: remove unused variable
* runner: focus and select input when selector helper enabled or method changed
* runner: hide tooltip when selector helper is open
* runner: keep highlight from playground unless hovering over aut
* runner: always show selector helper info
* runner: show highlight when hovering over info
* Update SelectorHelper name from old Footer
* move 'selector highlight' behavior into 'highlight button'
* Added tooltip to 'highlight' button.
* runner: some style changes to selector-helper
* runner: do not focus and select input when 'turning off inspect mode'
* runner: fix issue w/ 'close' button on helper not working.
* runner: use Cypress methods for printing elements to console. bring console messages into parity with driver
* driver: revert experimental change to contains
* reporter: fix failing tests
* runner: fix failing tests
* added CYPRESS_SKIP_BINARY_INSTALL env var check before installing
* cli: provide reason binary installation is being skipped
- more linting, why not
* cli: prettify snapshots by removing whitespace at end of line
* cli: pass group and groupId flags, close#455
* upgrade commander to latest
* latest command moved options in help below command
* update tests, make sure -v, --version and version work
* run test one more time
for #701
* working on installing from local binary file
* fix missing return
* enabled skipped zip file test
* test zip file and up in two folders
* test direct zip file install on CircleCI
* Remove artificial delays
* run linter an all
* add NPM package CI job
* more steps for NPM package
* start upload NPM package
* more work on NPM package upload
* testing upload
* move purge cache to utils
* add unique binary build and upload from CI
* pass saved urls to test-binary job
* allow CYPRESS_BINARY_VERSION to be an url right away
* put uploaded urls into /tmp folder
* use explicit json filenames
* paths instead of path
* testing cypress npm and binary
* use NPM folder beta to store temp binary and package
* refactor utils
* set env vars and trigger other test projects
* only test NPM and binary on develop branch
* enable all jobs again