Commit Graph

54 Commits

Author SHA1 Message Date
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 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 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 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 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 04e5bd21e2 cli: rename spec 2017-09-04 01:48:30 -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
Brian Mann 98724366fd cli: move package version check to utility function 2017-09-02 23:33:45 -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
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
Brian Mann 2a80a7e0c7 cli: fix flaky test by calling done when process.exit is invoked 2017-08-29 15:40:04 -04:00
Chris Breiding bfd34e20fe use cypress eslint plugin 2017-08-22 15:10:02 -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
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 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 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 82e8fe395c cli: run Cypress app in attached mode, close #147 2017-06-20 11:33:39 -04:00
Brian Mann c00ae640bd Merge pull request #171 from cypress-io/issue-167
cli: make version mismatch when verifying a warning, close #167
2017-06-20 10:16:50 -04:00
Chris Breiding e27c5883a3 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-20 10:05:44 -04:00
Gleb Bahmutov ca073d59ce cli: make version mismatch when verifying a warning, close #167 2017-06-20 09:21:36 -04:00
Gleb Bahmutov 996bf560fa cli: report relative path from inside the node_modules 2017-06-19 18:20:06 -04:00
Chris Breiding a4ae7a8f75 Merge branch 'master' into 0.20.0-desktop-gui-changes 2017-06-19 14:18:19 -04:00
Gleb Bahmutov b331cb54f0 Issue 156 cli node 0.12 (#158)
* cli: set engines node > 0.12

* cli: trying to transpile using babel-register on the fly

* downgrading fs-extras to 1.0.0 to let it work on Node 0.12

* lint and enforce single quote on strings

* remove individual plugins

* cli: include dist folder in the npm package

* cli: add build step on prepublish, add readme

* cli: use default options, because code is transpiled

* cli: output into es5

* cli: see published size, a few missing requires

* cli: replace const with var in node 0.12

* cli: cache node_modules on CircleCI

* cli: back to use const that is not changed to let by eslint

* cli: build separate package for npm publishing

* remove postinstall step

* cli: remove npm vs dev install check
2017-06-19 12:14:06 -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
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