Commit Graph

24 Commits

Author SHA1 Message Date
Gleb Bahmutov
a897e3690d pipe streams and ignore stderr, close #557 (#560) 2017-10-04 20:39:25 +00:00
Brian Mann
fa8551793b fixes #661, accept --project for cypress open 2017-09-19 11:52:44 -04:00
Brian Mann
f2591f81b3 fixes #657, accept --headed option, remove undocumented --show-headless-gui 2017-09-17 14:56:50 -04:00
Brian Mann
a79431cd6c cli: improve version experience
-alias versions to -v and --version
-make exec/versions helper
-capture logs via logger
-simplify tests
2017-09-06 02:54:02 -04:00
Brian Mann
90a3408f1f let cypress open inherit stdio for debugging purposes 2017-09-04 18:57:35 -04:00
Brian Mann
48dd8983ae cli: finished implementing all tests, all green 2017-09-04 12:46:44 -04:00
Brian Mann
173849f4ab cli: normalized all start methods 2017-09-04 00:00:41 -04:00
Brian Mann
8ee29f7864 cli: better error formatting, added cypress version to errors, add footer feature 2017-09-03 23:41:52 -04:00
Brian Mann
0770f06574 cli: properly chain xvfb stop promise so cypress runs correctly in linux
- better debug logs
- use close event, not exit
2017-09-02 15:55:24 -04:00
Brian Mann
3607a08efb cli: remove passing in --cli-version to binary 2017-09-01 00:55:27 -04:00
Chris Breiding
cf9d43f0d4 cli: always set project to cwd for cypress run 2017-08-31 17:20:31 -04:00
Chris Breiding
6535a1e6f0 cli: set cwd as project path if not installed globally 2017-08-31 16:58:50 -04:00
Gleb Bahmutov
4520c2b6dd feat(run): handle failed tests returned by the cypress run (#180)
* feat(run): handle failed tests returned by the cypress run

* cli: rework errors thrown from cypress vs xvfb

* small tweak

* cli: test xvfb start error handling
2017-06-22 12:00:17 -04:00
Gleb Bahmutov
708a57ccd6 cli: use published @cypress/xvfb package, close #168 (#178)
* cli: use published @cypress/xvfb package, close #168

* public xvfb version

* remove pre-git

* cypress/xvfb name 1.0.3

* remove commit wizard script
2017-06-21 14:19:35 -04:00
Gleb Bahmutov
9b28249152 cli: add --detached mode 2017-06-20 11:56:49 -04:00
Gleb Bahmutov
82e8fe395c cli: run Cypress app in attached mode, close #147 2017-06-20 11:33:39 -04:00
Gleb Bahmutov
61c61cd76e cli: use same path to report error in spawn, close #151 2017-06-20 10:23:22 -04:00
Chris Breiding
33aa07a7a1 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-15 10:27:02 -04:00
Chris Breiding
105479c78e cli/server: use run-project instead of run and fix specs 2017-06-14 14:18:19 -04:00
Gleb Bahmutov
0cd395d5df cli: check dependencies before testing, close #156 (#160)
* cli: check dependencies before testing, close #156

* add missing dependency

* cli: move ramda from dev dependencies to prod

* print cli bin

* cli: use the right tool name
2017-06-14 11:43:13 +02:00
Loren Norman
f947e0c55d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	docs/source/guides/getting-started/installing-cypress.md
2017-06-13 15:49:54 -04:00
Chris Breiding
e333e6d82e server: use —run to signal headless instead of —project 2017-06-13 13:52:31 -04:00
Gleb Bahmutov
8e1776c870 Issue 146: uniform CLI error reporting (#149)
* cli: shorter install message without undefined for #146

* cli: show relative path after install

* cli: debug install process

* cli: print message if using CYPRESS_VERSION

* cli: tests for CYPRESS_VERSION install

* cli: needed version message

* cli: verify app after download on install

* cli: do not verify app on install, wait until it runs

* cli: add verify command

* cli: good messags for missing app binary

* cli: xvfb error

* add missing app error

* linting

* cli: errors reported using same function

* print stack in error message for some errors

* show path checked

* use same error mechanism for download errors

* cli: unzip should report error the same way as the rest of CLI

* update some error language

* consolidate urls in error messages

* show terminal info

* terminal check outside of code

* cli: detect CI, do not use progress bar

* cli: test mock bar

* remove context.only
2017-06-09 17:37:48 -04:00
Brian Mann
101aac9c9b cli: move cli into subfolder, refactor cli scripts
-cleanup root monorepo files
-prevent downloading cypress binary when in development
-remove app-module-path
2017-06-05 17:26:51 -04:00