Commit Graph

42 Commits

Author SHA1 Message Date
Gleb Bahmutov 901d62b887 cli: handle help, -h and --help, close #463 (#464) 2017-09-13 14:11:36 -04:00
Gleb Bahmutov 70a7fa0572 cli: exit with error code 1 on invalid command (#461) 2017-09-13 12:37:15 -04:00
Gleb Bahmutov 69b9bde074 module api: convert config object to string, close #457 (#459) 2017-09-12 20:37:50 -04:00
Gleb Bahmutov 2f496fcfc8 cli: upgrade snap-shot-it to avoid text on first line of snapshot (#443) 2017-09-11 16:59:48 -04:00
Gleb Bahmutov aa17d06e05 module api: normalize env option, close 437 (#441) 2017-09-09 09:19:52 -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
Gleb Bahmutov fb06f1ba93 cli: show error on unknown command, close #414 2017-09-05 12:58:23 -04:00
Gleb Bahmutov a1a8038528 update the docs for version command 2017-09-05 12:23:49 -04:00
Gleb Bahmutov 844dc1fe30 cli: add version command to the CLI, close #413 2017-09-05 12:18:36 -04:00
Brian Mann c1db121dd6 cli: disable welcome message when manually verifying, otherwise display 2017-09-05 01:26:37 -04:00
Brian Mann 8e9183fa2d cli: continually normalize snapshots to get passing in CI 2017-09-04 20:31:04 -04:00
Brian Mann 46dcca7fd0 cli: add 'Opening Cypress...' message on first verification 2017-09-04 18:39:39 -04:00
Brian Mann 8e1addfab8 cli: clearer messaging when download fails 2017-09-04 16:40:41 -04:00
Brian Mann 335553f94b cli: when running in CI, use a different renderer to prevent ugly stream of stdout updates 2017-09-04 16:24:41 -04:00
Brian Mann 51c8da3afe cli: hopefully stripped the bad line by now 2017-09-04 15:10:41 -04:00
Brian Mann 84950fe3aa cli: try stripping ansi codes, who knows 2017-09-04 14:39:52 -04:00
Brian Mann ddb2a43f2b cli: dealing with stupid whitespace snapshot issue 2017-09-04 14:05:46 -04:00
Brian Mann 1178c67a29 cli: better stdout normalization 2017-09-04 13:52:38 -04:00
Brian Mann 2f142d1f4e cli: removed unused snapshot 2017-09-04 13:34:36 -04:00
Brian Mann 567395257d cli: update snapshots to unique name 2017-09-04 13:33:42 -04:00
Brian Mann 303db4d07f cli: update snapshots to unique name 2017-09-04 13:31:05 -04:00
Brian Mann 2be65b47b4 cli: prune existing unused snapshots 2017-09-04 13:26:55 -04:00
Brian Mann b47536f896 cli: i don't know, snapshots aren't passing in CI but work locally. updating all existing snapshots 2017-09-04 13:23:43 -04:00
Brian Mann 257357762d cli: normalize snapshot by removing lines that won't show up in CI 2017-09-04 13:15:35 -04:00
Brian Mann 48dd8983ae cli: finished implementing all tests, all green 2017-09-04 12:46:44 -04:00
Brian Mann 1001c0e1ef cli: added and updated unzip specs 2017-09-04 12:16:02 -04:00
Brian Mann 9244b164af cli: updated download specs 2017-09-04 12:15:52 -04:00
Brian Mann bbe2db065d cli: snapshot tests around verify 2017-09-04 11:25:11 -04:00
Brian Mann 7d41987b7b cli: WIP iterating on verify snapshots 2017-09-04 02:55:51 -04:00
Brian Mann 9a38bca34c cli: tests around install including snapshots, woo! 2017-09-04 01:47:21 -04:00
Brian Mann 0dbda32419 cli: update errors tests + error snapshots 2017-09-04 01:01:44 -04:00
Brian Mann 77ea4fc5c2 WIP: rename all the specs, move them around, get it going! 2017-09-04 00:16:59 -04:00
Chris Breiding 1fac6d58d9 snapshot various log states (wip) 2017-09-01 17:26:08 -04:00
Brian Mann 62e4c585bb cli: ignore snapshots from eslint, they were rewriting them per the rules 2017-09-01 12:22:20 -04:00
Brian Mann 3607a08efb cli: remove passing in --cli-version to binary 2017-09-01 00:55:27 -04:00
Brian Mann 579608ce95 cli: fixes #405 replace old snapshot with snap-shot-it 2017-09-01 00:50:07 -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 61c61cd76e cli: use same path to report error in spawn, close #151 2017-06-20 10:23:22 -04:00
Gleb Bahmutov 5767175dae cli: fix typo in download not found code path, close #166 2017-06-19 17:37:40 -04: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
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