Gleb Bahmutov
dd70563809
cli: detect installing from postinstall hook ( #5407 )
...
* cli: detect installing from postinstall hook
* add unit tests
2019-10-22 11:56:52 -04:00
Gleb Bahmutov
128d4392ae
parse ~ in CYPRESS_CACHE_FOLDER env variable ( #5393 )
...
* parse ~ in CYPRESS_CACHE_FOLDER env variable
* linting
2019-10-17 11:47:29 -04:00
Ben Kucera
fbd523615e
[internal] Lint typescript, json, new eslint rules ( #4449 )
...
* temp 07/01/19 [skip ci] main lint files
* use lint-staged scripts
* fix all auto-fixable eslint errors
* manually fix lint issues in files
* temp 07/01/19 [skip ci]
* bump eslint plugin versions, update circle.yml
* [lint fix] remaining js files
* update vscode/settings.json
* add back stop-only
* use stop-only for linting .onlys
* fix verify_spec, build_spec
* update json plugin
* relint & apply corrections
* fix appveyor.yml not cleansing env vars (very bad)
* dont echo commit message in appveyor script
* retry build &
* re-add & upgrade lint-staged
* update contributing docs
* only let stop-only catch staged changes
2019-07-12 13:59:44 -04:00
Ben Kucera
5f771936e3
Fix flaky cli unit test ( #3988 )
...
* fix cli unit tests with mockfs
* mockfs fix flaky verify_spec
2019-04-17 19:10:48 -04:00
Gleb Bahmutov
1a7f631032
Reject promise stub with an error instance ( #3751 )
...
* reject promise stub with Error instance
* pass linter
2019-03-20 09:47:13 -04:00
Ben Kucera
db4a4a6d22
Improve Error logging around Cypress verify ( #1986 )
...
close #1984 improve error logging for `cypress verify`
close #1985 remove "skipping install" message to local users, keep in CI
2018-06-19 21:52:25 -04:00
Ben Kucera
5a4b2a4a0a
allow relative paths in CYPRESS_* env vars ( #1989 )
2018-06-19 17:34:51 -04:00
Ben Kucera
08d75f552f
fix cli --version ( #1803 )
2018-05-29 15:39:18 -04:00
Brian Mann
1d0b35bd47
Cli env var changes ( #1734 )
...
* wip [skip ci] update
* wip [skip ci] update test
* [skip ci] fix env var
* bump sinon, create helper utility to always throw when a stub is called without being given stubbed behavior
* update failing specs
* fix some error messages
* update snapshot
* warning -> note, add snapshot tests
* change snapshot os.release, test env vars
2018-05-19 15:37:52 -04:00
Ben Kucera
8a55864ae9
CLI caching ( #1699 )
...
* WIP [skip ci] tests passing -1
* WIP [skip ci] tests passing -1
* [WIP] [skip ci] more passing tests
* add run,open,verify cli tests
* fix package.json
* fix install_spec
* rename info_spec -> state_spec
* refactor cli options
* more useful logging
* change binary location, change folder name
* fix --binary-path arg
* update error message for cache
* lib/tasks/install.js changes
* add progress for direct unzip, prefer cache with override version with url/zip
* update cli logs
* prettier logs, remove arg
* fix failing test- stub os.release
* fix cli_spec snapshot, remove group and groupid args
2018-05-16 04:34:12 -04:00