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
90a0198e94
cli: move normalize function out of core lib, and into test support
2017-09-05 01:13:00 -04:00
Brian Mann
8e9183fa2d
cli: continually normalize snapshots to get passing in CI
2017-09-04 20:31:04 -04:00
Brian Mann
90a3408f1f
let cypress open inherit stdio for debugging purposes
2017-09-04 18:57:35 -04:00
Brian Mann
46dcca7fd0
cli: add 'Opening Cypress...' message on first verification
2017-09-04 18:39:39 -04:00
Brian Mann
3f9c3256de
cli: forked verbose renderer to prevent double error output in CI
2017-09-04 17:57:42 -04:00
Brian Mann
8e1addfab8
cli: clearer messaging when download fails
2017-09-04 16:40:41 -04:00
Brian Mann
181115a7f6
cli: whoops don't update title on progress notifications :D
2017-09-04 16:32:17 -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
76bb95d5fa
cli: use own package.json, not the root
2017-09-04 15:39:22 -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
d9a28bf278
cli: todo line seperations
2017-09-04 11:30:05 -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
27e388fc31
cli: more comprehensive tests around cli + util, exits, rejected promises, etc
2017-09-04 02:15:43 -04:00
Brian Mann
ff55669874
cli: extract verify tests out of info, get tests passing
2017-09-04 01:55:08 -04:00
Brian Mann
9a38bca34c
cli: tests around install including snapshots, woo!
2017-09-04 01:47:21 -04:00
Brian Mann
4842c9d6a4
cli: install finish green to pair nicely with verification
2017-09-04 00:01:11 -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
fe20323b06
cli: add logger.warn function
2017-09-03 23:41:12 -04:00
Brian Mann
a6a925057f
cli: remove unused progress bar
2017-09-03 23:41:01 -04:00
Brian Mann
143640c828
cli: refactor verify, better error handling, use listr for messaging, clearer errors
2017-09-03 23:40:52 -04:00
Brian Mann
89632bbbaf
cli: move titleize to be reusable
2017-09-03 23:40:12 -04:00
Brian Mann
42ca775755
cli: WIP, move to listr for user notifications, extract and begin refactoring into multiple tasks and files
...
- cleaned up lots of redundant error handling
- do not ever forcibly exit early
- add user messaging for global installations
- add user messaging for opening cypress
- enable CYPRESS_BINARY_VERSION to be set, with warning
2017-09-03 21:28:59 -04:00
Brian Mann
c1eb1a9663
cli: WIP rename utils -> info
2017-09-02 23:59:56 -04:00
Brian Mann
983b34d740
cli: WIP extracted concerns into multiple files
2017-09-02 23:58:16 -04:00
Brian Mann
61bcefab91
cli: WIP rename download -> tasks, begin extracting out concerns
2017-09-02 23:53:33 -04:00
Brian Mann
a8af8add25
cli: remove unnecessary sample project
2017-09-02 23:36:00 -04:00
Brian Mann
f29b3b9b1f
cli: code cleanup, formatting, content improvements
2017-09-02 23:34:05 -04:00
Brian Mann
98724366fd
cli: move package version check to utility function
2017-09-02 23:33:45 -04:00
Brian Mann
1e1a58330d
cli: rename exitGracefully to exit1, DRY up usage
2017-09-02 23:33:23 -04:00
Brian Mann
c0bb28d20f
cli: consolidate usage of fs-extra
2017-09-02 23:31:50 -04:00
Brian Mann
2151c18f84
Merge branch 'develop' into cli-log-snapshots
2017-09-02 22:33:33 -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
Chris Breiding
1fac6d58d9
snapshot various log states (wip)
2017-09-01 17:26:08 -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
d5e0ae3c96
cli: don’t log that we’re verifying unless we’re verifying
2017-08-31 17:08:08 -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
df737cc2fc
cli: remove -r alias to --record option, close #360 ( #361 )
2017-08-23 12:18:33 -04:00
Chris Breiding
4f927c7a2f
eslint fixes
2017-08-22 15:08:27 -04:00
Gleb Bahmutov
b1501e9410
Show path to Cypress executable during verify command ( #288 )
...
* cli: show path to Cypress executable on verify
* add test for displayed cypress executable path
* cli: some UI color improvement to messages
2017-07-10 10:25:00 -04:00