Commit Graph

162 Commits

Author SHA1 Message Date
Brian Mann
2532c65be0 cli: tests for os conditional stdio 2017-10-10 08:09:26 -04:00
Brian Mann
39c621a1c3 notes [skip ci] 2017-10-10 07:56:58 -04:00
Brian Mann
c37c7d498a conditionally change stdio based on OS due to windows 2017-10-10 07:48:20 -04:00
Brian Mann
32f18547fe fixes #578 use platform instead of os conversion 2017-10-06 14:29:09 -04:00
Gleb Bahmutov
72d9fae4e0 Pass arch when downloading 559 (#562)
* pass arch= when downloading desktop binary, close #559

* unit test url function
2017-10-05 13:38:47 +00:00
Gleb Bahmutov
a897e3690d pipe streams and ignore stderr, close #557 (#560) 2017-10-04 20:39:25 +00:00
Gleb Bahmutov
d22eb13e92 Verify command 545 (#550)
* find single line with ping value, close #545

* linting
2017-10-03 20:50:11 +00:00
Gleb Bahmutov
c244b4dca7 Merge branch 'win-binary-495' into develop 2017-10-02 21:14:40 -04:00
Gleb Bahmutov
4672b569f1 Upload tar and zip (#536)
* run linter an all

* add NPM package CI job

* more steps for NPM package

* start upload NPM package

* more work on NPM package upload

* testing upload

* move purge cache to utils

* add unique binary build and upload from CI

* pass saved urls to test-binary job

* allow CYPRESS_BINARY_VERSION to be an url right away

* put uploaded urls into /tmp folder

* use explicit json filenames

* paths instead of path

* testing cypress npm and binary

* use NPM folder beta to store temp binary and package

* refactor utils

* set env vars and trigger other test projects

* only test NPM and binary on develop branch

* enable all jobs again
2017-10-01 17:01:19 -04:00
Gleb Bahmutov
3d9b664e16 Merge pull request #524 from cypress-io/develop
bring latest commits from develop to windows branch
2017-09-28 12:40:20 -04:00
Gleb Bahmutov
94b1d11856 Bring back commits (#522)
* add run serially console message

* linting

* root: add npm run all prune command (#513)

* build and install binary and NPM package locally on Circle

* pass env variable differently

* remove console.log from launcher

* listr delay

* longer listr delay in tests
2017-09-28 11:59:44 -04:00
Gleb Bahmutov
907254b2ac cli: fix unit test for windows 2017-09-27 15:01:01 -04:00
Gleb Bahmutov
2a093afdf8 win: zip and unzip 2017-09-27 11:08:07 -07:00
Gleb Bahmutov
25e871d4d9 latest develop -> win-binary-495 (#512)
* server: WIP snapshots

* server: add snapshots for e2e tests

* runner: fix lint task

* eslint fixes

* use cypress eslint plugin

* add eslintrc for scripts

* launcher: add eslintrc

* docs: add eslintrc

* exclude bower_components from linting

* docs: rework callback function example for should() and and() command

* docs: updated roadmap, added many new issues

* docs: reference new issues in roadmap

* docs: added 0.20.0 summary, issues that need to be opened

* docs: clarify on CLI changes, all misc other improvements

* docs: bump hexo [skip ci]

* docs: fix typo #616

* bump hexo dep

* docs: fixed some incorrect links.

* docs: deployed to production [skip ci]

* docs: get hexo to escape html properly

* docs: use sync render [skip ci]

* scripts: use path separator for label, close #501 (#502)

* desktop-gui: guard against record keys being set to null

* desktop-gui: add test for record keys being null

* launcher: detect chrome on windows (#504)

close #504 

* launcher: detect chrome on windows

checks if file exists, then determines version using `wmic`

close #503

* launcher: detect canary and chromium

plus update types to latest

* add launcher as a CI job

* run launcher on Windows CI

* forgot to restore monorepo

* go back on Win CI

* Merge from master (#508)

* server: WIP snapshots

* server: add snapshots for e2e tests

* runner: fix lint task

* eslint fixes

* use cypress eslint plugin

* add eslintrc for scripts

* launcher: add eslintrc

* docs: add eslintrc

* exclude bower_components from linting

* docs: rework callback function example for should() and and() command

* docs: updated roadmap, added many new issues

* docs: reference new issues in roadmap

* docs: added 0.20.0 summary, issues that need to be opened

* docs: clarify on CLI changes, all misc other improvements

* docs: bump hexo [skip ci]

* docs: fix typo #616

* bump hexo dep

* docs: fixed some incorrect links.

* docs: deployed to production [skip ci]

* docs: get hexo to escape html properly

* docs: use sync render [skip ci]

* Use npm@5 to install on Windows (#509)

* cli: extend test delay to avoid listr animation

* run linter an all

* update contributing docs (#511)

* update contributing docs

* add notes on linting, branching and testing

* two CI branches, one for develop one for master
2017-09-26 16:09:26 -04:00
Gleb Bahmutov
7d46fcde06 cli: extend test delay to avoid listr animation 2017-09-26 15:19:30 -04:00
Gleb Bahmutov
a0c08bbdf3 Windows support (#484)
* try installing on Windows

* Handle windows setup

- no browser detection on windows yet, just placeholder code
- symlink types

* add appveyor file

* add appveyor windows build

* use execa to run server unit tests

* run server unit tests on appveyor

* ignore root install errors

* upgrade rebuild-node-sass

and work on Json unit test that fails on Windows

* print npm version

before installing, commented out caching node modules in the root

* a few small tweaks for windows support

* fix bin-up in launcher project

use bin-up@1.1.0 for windows support, close #491

* cli: build script on Windows, close #492

* cli: build errors are fatal

* use cross-env in extension

Fixes environment variables on Windows in #490

* extension: fix 3 tests on Windows

1 more broken test remaining

* extension: use EOL before comparing text

* example: update test for Windows

* example: replace build.sh with build.js

Close #488

* remove trailing whitespace

* cli: build script again

* server: work on unit tests for windows

* binary: add windows as build platform

* windows: try building binary

started work on building on CI for windows
2017-09-25 10:17:28 -04:00
Brian Mann
fa8551793b fixes #661, accept --project for cypress open 2017-09-19 11:52:44 -04:00
Brian Mann
f2591f81b3 fixes #657, accept --headed option, remove undocumented --show-headless-gui 2017-09-17 14:56:50 -04:00
Brian Mann
2b415cab4c cli: verify against installed version not package version when displaying first time opening message 2017-09-16 19:21:00 -04:00
Gleb Bahmutov
dca50ee6ef Pass project option (#467)
* cli: pass --project path when starting

* cli: resolve --project path automatically
2017-09-13 23:49:43 -04:00
Gleb Bahmutov
901d62b887 cli: handle help, -h and --help, close #463 (#464) 2017-09-13 14:11:36 -04:00
Gleb Bahmutov
70a7fa0572 cli: exit with error code 1 on invalid command (#461) 2017-09-13 12:37:15 -04:00
Gleb Bahmutov
69b9bde074 module api: convert config object to string, close #457 (#459) 2017-09-12 20:37:50 -04:00
Gleb Bahmutov
2f496fcfc8 cli: upgrade snap-shot-it to avoid text on first line of snapshot (#443) 2017-09-11 16:59:48 -04:00
Brian Mann
bf42af168c cli: bump internal releaser dep [skip ci] 2017-09-10 21:45:54 -04:00
Gleb Bahmutov
aa17d06e05 module api: normalize env option, close 437 (#441) 2017-09-09 09:19:52 -04:00
Gleb Bahmutov
1f8fec210d eslint ignore snapshots folder should be in the root, close #442 (#444) 2017-09-08 15:16:15 -04:00
Brian Mann
8255d37168 cli: add some delay to give listr some padding to update stdout 2017-09-06 16:39:01 -04:00
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
Gleb Bahmutov
8f928e5d91 cli: remove build/readme from git repo, close #420 (#433) 2017-09-05 14:52:25 -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
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