Commit Graph

10683 Commits

Author SHA1 Message Date
Gleb Bahmutov 907254b2ac cli: fix unit test for windows 2017-09-27 15:01:01 -04:00
Gleb Bahmutov c3d77d097c Merge branch 'win-binary-495' of github.com:cypress-io/cypress-monorepo into win-binary-495 2017-09-27 14:45:08 -04:00
Gleb Bahmutov 279ec60aa7 windows: test new binary 2017-09-27 11:41:33 -07:00
Gleb Bahmutov 2a093afdf8 win: zip and unzip 2017-09-27 11:08:07 -07:00
Gleb Bahmutov 6fc9c529d9 upgrade env-or-json to handle windows back slashes 2017-09-27 08:46:40 -07:00
Gleb Bahmutov 3ee71a095d add zip and upload steps to AppVeyor script 2017-09-27 08:31:19 -07:00
Gleb Bahmutov 9442a75f9d add windows binary-zip
Using 7-Zip
2017-09-27 08:18:44 -07:00
Gleb Bahmutov a9569f9de5 Merge branch 'master' of github.com:cypress-io/cypress-monorepo into win-binary-495 2017-09-27 10:36:19 -04:00
Gleb Bahmutov 98a77c07d7 skip project tests on windows 2017-09-27 10:34:53 -04:00
Gleb Bahmutov 0ee34be5f2 Merge pull request #517 from cypress-io/develop
develop -> win
2017-09-27 10:29:34 -04:00
Gleb Bahmutov f851a3c68f Fix snapshots (#515)
closes #514 

* add 1 stack trace line to snapshots in visits test

* add stack trace line to two more tests

* add stack trace to two more tests

* fix another snapshot

* update one more test snapshot

* fix more snapshots
2017-09-27 09:15:28 -04:00
Gleb Bahmutov 7ca2c2e5ab root: add npm run all prune command (#513) 2017-09-26 16:41:19 -04: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 d8ddaed65c Merge branch 'win-binary-495' into develop 2017-09-26 16:09:12 -04:00
Gleb Bahmutov 3b0f8e49f0 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:07:15 -04:00
Gleb Bahmutov e549269844 run linter an all 2017-09-26 15:24:05 -04:00
Gleb Bahmutov 14496ab2e7 run linter an all 2017-09-26 15:23:05 -04:00
Gleb Bahmutov 7d46fcde06 cli: extend test delay to avoid listr animation 2017-09-26 15:19:30 -04:00
Gleb Bahmutov 4545508f93 Use npm@5 to install on Windows (#509) 2017-09-26 13:43:00 -04:00
Gleb Bahmutov 44078267a1 Merge branch 'master' into develop 2017-09-26 13:29:16 -04:00
Gleb Bahmutov 55567e38af 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]
2017-09-26 13:24:13 -04:00
Gleb Bahmutov a2fecfc338 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
2017-09-26 12:55:06 -04:00
Chris Breiding 0c1e35d9a7 Merge pull request #506 from cypress-io/issue-505-length-of-null-error
Desktop: Guard against record keys being set to null
2017-09-26 11:29:41 -04:00
Chris Breiding e72d9df672 desktop-gui: add test for record keys being null 2017-09-26 10:51:02 -04:00
Chris Breiding b388fb7b9b desktop-gui: guard against record keys being set to null 2017-09-26 10:35:58 -04:00
Gleb Bahmutov 6282de2c2f scripts: use path separator for label, close #501 (#502) 2017-09-25 17:44:00 -04:00
Gleb Bahmutov 52120be0f9 win: use npm@5 on Windows 2017-09-25 14:29:40 -07:00
Gleb Bahmutov c58f297ea5 Merge branch 'win-binary-495' of https://github.com/cypress-io/cypress-monorepo into win-binary-495 2017-09-25 14:10:15 -07:00
Gleb Bahmutov 6f0339593e electron: use version 1.7.8 2017-09-25 14:09:56 -07:00
Gleb Bahmutov c2f4caa0bb more debugging output 2017-09-25 13:22:57 -07:00
Gleb Bahmutov 13ad1baaf6 launcher: add deps-ok check to catch outdated packages 2017-09-25 15:48:04 -04:00
Gleb Bahmutov a772e4f5bb binary: print smoke test run project command 2017-09-25 11:42:17 -07:00
Gleb Bahmutov ac902fb440 build: building all the way on Windows
- disabled video recording in smoke project on win32
- smoke test still crashes at the very end
2017-09-25 09:41:05 -07:00
Gleb Bahmutov 573b357595 launcher: clean script
make launcher clean command cross-platform script
2017-09-25 07:30:51 -07: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
Gleb Bahmutov 7700927231 Check binary zip close #482 (#483)
* print zip size for #482

* check zip file against max

* stop binary build if size is > 120MB, close #482
2017-09-19 14:58:01 -04:00
Brian Mann 27a6ccdce3 Merge pull request #481 from cypress-io/issue-661
fixes #661, accept --project for cypress open
2017-09-19 12:12:45 -04:00
Brian Mann fa8551793b fixes #661, accept --project for cypress open 2017-09-19 11:52:44 -04:00
Gleb Bahmutov 23c33b2eee readme: add links and cypress-test-example-repos (#479)
* readme: add links and cypress-test-example-repos

* use later version that shows key
2017-09-19 11:31:49 -04:00
Chris Breiding 75abb0b0db desktop-gui: fix failing tests 2017-09-18 14:18:39 -04:00
Chris Breiding 752964d719 example: eslint auto-fixes 2017-09-18 12:50:00 -04:00
Brian Mann a124bab167 release 0.20.1 [skip ci] v0.20.1 2017-09-18 11:03:54 -04:00
Brian Mann 9d6183e334 root: compress as much as possible on linux zip [skip ci] 2017-09-18 00:08:03 -04:00
Brian Mann ea451d48cd server: exit when running headed, add better warning when running electron headed not recording video 2017-09-17 21:38:53 -04:00
Brian Mann 4b9b36a4bb root: remove dead deploy code, refactor to do smoke test, project test, and failing project test 2017-09-17 20:51:03 -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 5a78ef65fa driver: cleanup specs, code, fix some flaky tests 2017-09-17 14:20:42 -04:00
Brian Mann f96ad33031 driver: remove dead spec code 2017-09-17 13:20:38 -04:00
Brian Mann 4335a5cd28 driver: fix for 652, hashchange events not firing 2017-09-17 13:20:29 -04:00
Brian Mann 0868ce5038 driver: should have fixed busted scroll spec 2017-09-16 23:19:31 -04:00