Commit Graph

10475 Commits

Author SHA1 Message Date
Brian Mann 4fcb1685c8 cli: test-debug command ftw 2017-09-06 02:54:14 -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 8a2f78f0dc Merge branch 'develop' into cli-version-command-413
# Conflicts:
#	docs/source/guides/guides/command-line.md
2017-09-06 01:37:04 -04:00
Brian Mann a74429536a docs: remove docs from monorepo -> move to cypress-documentation 2017-09-06 01:25:14 -04:00
Brian Mann 99250de71d docs: remove docs CI tasks from circle 2017-09-06 01:22:58 -04:00
Brian Mann c7cb0ae0dd Merge pull request #429 from cypress-io/issue-410
issue #410
2017-09-05 17:32:22 -04:00
Brian Mann e8ba8713d7 server: update snapshots due to removal of 'Added this project' 2017-09-05 17:14:50 -04:00
Gleb Bahmutov 8f928e5d91 cli: remove build/readme from git repo, close #420 (#433) 2017-09-05 14:52:25 -04:00
Gleb Bahmutov 7d65854fd4 docs: environment and better id message (#432)
* docs: environment and better id message

* docs: try avoiding <h1> tag in markdown

* cli: only print a warning on invalid id
2017-09-05 14:15:45 -04:00
Chris Breiding 491bdeba87 Merge pull request #431 from cypress-io/issue-430-project-state
Fix per-project state.json
2017-09-05 14:15:37 -04:00
Chris Breiding cbbbee1c03 server: fix per-project state.json. Fixes #430 2017-09-05 13:38:49 -04:00
Gleb Bahmutov fb06f1ba93 cli: show error on unknown command, close #414 2017-09-05 12:58:23 -04:00
Brian Mann 35e703ce57 server: fixes #410 don't add projects to cache when running from the CLI 2017-09-05 12:56:28 -04:00
Brian Mann a5d8834bf5 server: remove unused circle.yml [skip ci] 2017-09-05 12:49:53 -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 7964561b93 Merge pull request #418 from cypress-io/cli-log-snapshots
take snapshots, improve errors
2017-09-05 01:35:53 -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 51c8da3afe cli: hopefully stripped the bad line by now 2017-09-04 15:10:41 -04:00
Brian Mann 1ed6f36e92 cli: try adding a delay for listr 2017-09-04 14:40:57 -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 ff4d739517 cli: spec formatting [skip ci] 2017-09-04 12:48:41 -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 2bec027b6d cli: test that we cleaned up the old zip 2017-09-04 12:15:13 -04:00
Brian Mann d9a28bf278 cli: todo line seperations 2017-09-04 11:30:05 -04:00
Brian Mann d2434311f5 cli: cc @bahmutov why is eslint continually changing things? this is really annoying
- can we please have snapshots ignored from eslint
- we already an .eslintignore file in the root of cli
- we really want to ignore all __snapshots__ folders
2017-09-04 11:29:34 -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 f740506f05 cli: deps bump sinon for bug fixes 2017-09-04 02:55:31 -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