Commit Graph

137 Commits

Author SHA1 Message Date
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 4ddb54dd57 cli: update to use tasks path 2017-09-03 00:02:51 -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 13f73701c2 WIP cleanup npm cli readme 2017-09-02 22:51:07 -04:00
Brian Mann baf20d48a5 set node engines for the CLI 2017-09-02 22:48:38 -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
Brian Mann 0e36be10bf cli: bump xvfb dep to fix bugs 2017-09-02 15:53:20 -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
Brian Mann 22042cecd9 cli: bump chalk dep back up 2017-09-01 00:41:31 -04:00
Brian Mann b4f5816acd cli: use @packages/root instead of hardcoded path 2017-08-31 22:27:49 -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 3fcb691bd1 Merge branch 'develop' of github.com:cypress-io/cypress-monorepo into develop 2017-08-31 17:05:09 -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 36f02124ef cli: downgrade chalk for Node 0.12 clients, close #402 2017-08-31 16:46:35 -04:00
Brian Mann 2a80a7e0c7 cli: fix flaky test by calling done when process.exit is invoked 2017-08-29 15:40:04 -04:00
Brian Mann 5ebca5d839 cli: remove duplicate multi reporter config json 2017-08-29 14:46:12 -04:00
Brian Mann a95e5f1a45 root: move common .eslint to root, remove duplicates 2017-08-29 14:45:55 -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 bfd34e20fe use cypress eslint plugin 2017-08-22 15:10:02 -04:00
Chris Breiding 4f927c7a2f eslint fixes 2017-08-22 15:08:27 -04:00
Gleb Bahmutov ab4fb80c9e Ingest test artifacts from CircleCI 339 (#342)
* capture test results from CLI unit tests for #339

* add test results to packages/extension

* move mocha to root

* mocha test reporter for packages/launcher

* update socket reporter

* collect server unit test results

* store test results from server integration and e2e runs

* exclude projects from .only check
2017-08-14 15:25:49 -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
Jennifer Shehane 17777514cc Updated chalk deps to version 2.0.1 2017-07-07 16:32:07 -04:00
Gleb Bahmutov fcf5b014c0 cli: increase test timeout to 10 seconds 2017-07-07 12:15:57 -04:00
Gleb Bahmutov 99c9ce012c cli: verify uses smoke test without opening a project, close #248 (#250)
* cli: verify uses smoke test without opening a project, close #248

* cli: updated tests

* cli: remove duplicate text from test
2017-06-30 17:24:10 -04:00
Brian Mann 0a43ad40a3 cli: use fs async methods 2017-06-29 13:32:46 -04:00
Gleb Bahmutov 3cbe9a0356 test zip install 2017-06-28 17:33:03 -04:00
Gleb Bahmutov 188708275c cli: allow installing local binary zip file, close #233 2017-06-28 17:11:34 -04:00
Gleb Bahmutov d9fc7f68a5 working on binary zip and unzip (#222)
* working on binary zip and unzip

* ignore support folder
2017-06-27 09:40:10 -04:00
Gleb Bahmutov 7eb03cfaad Issue 200 (#213)
* cli: use @cypress/sinon-chai, close #200

* server: use @cypress/sinon-chai

* driver: use @cypress/sinon-chai instead of git reference
2017-06-26 10:09:48 -04:00
Gleb Bahmutov 91ec7a0dd8 Move deploy scripts (#205)
* root: move deploy scripts from server to top level scripts

* remove postinstall download stop variable

* deploy: list all dev dependencies

* working on deploy run

* WIP comment out obsolete run-sequence

* add cypress-io/cypress-example-recipes

* root: enable run all to skip package or packages by name

* deploy: move coffee lint to root

* deploy: make bump async

* deploy: WIP update deploy + build processes for monorepo

* Add cypress-io/cypress-example-module-api project build to bump

* remove commas

* Add project cypress-io/cypress-test-ci-environments to list of projects to test

* deploy: WIP refactor classes -> functional

* deploy: don't copy node_modules or prune -> just npm install

* cli: consolidate important fields into monorepo root, pull out and build

* all: cleanup package.json, remove versions, license, repo information

-move some deps to devDeps

* all: convert es5 -> es6 + fix linting

* deploy: specify files to include when copying packages for dist

* deploy: convert coffee script in place + remove coffee files
2017-06-23 10:41:37 -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 90db59ab0a root, docs, cli: quickly check missing dependencies on prebuild 2017-06-21 12:18:53 -04:00