Commit Graph

10661 Commits

Author SHA1 Message Date
Brian Mann 80914cbd31 root: add bump tasks for circle [skip ci] 2017-09-27 20:01:36 -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 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 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
Brian Mann 52e96d4513 driver: remove only 2017-09-16 23:07:22 -04:00
Brian Mann e90fc15241 driver: WIP still trying to get tests to pass 2017-09-16 23:03:50 -04:00
Brian Mann 77d20123fb driver: WIP trying to fix broken tests in CI 2017-09-16 22:40:02 -04:00
Brian Mann 6eb8e60416 root: store test results 2017-09-16 21:44:15 -04:00
Brian Mann 8db69e9b86 driver: WIP trying to fix flaky CI tests 2017-09-16 21:42:04 -04:00
Brian Mann 9ab2094ad0 driver: fix screenshot spec 2017-09-16 21:32:48 -04:00
Brian Mann 4350523e6e root: reduce parallelization on regular unit tests (they are never flaky) [skip ci] 2017-09-16 21:29:59 -04:00
Brian Mann 96eb6f22a7 root: spread out parallelization more 2017-09-16 21:26:51 -04:00
Brian Mann 34f3e1ecc6 driver: take screenshots whenever we're running from terminal as opposed to interactive
- this gives us more consistent results based on how users use cypress
- is interactive could turn off at any time (such as when running too
many tests)
2017-09-16 21:17:52 -04:00
Brian Mann 394a4911ea server: properly copy circle artifacts to subfolders 2017-09-16 20:59:18 -04:00
Brian Mann 8e56bbd1fb desktop-gui: update specs for 0.20.0, fix failing specs not being properly guarded. skip legit broken tests with FIXME note 2017-09-16 20:46:22 -04:00
Brian Mann 1fa2d9f2a2 root, server: WIP try to copy circle artifacts 2017-09-16 19:44:57 -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
Brian Mann 88b19a91e1 server: whitespace 2017-09-16 19:20:39 -04:00
Brian Mann b1a677d61d root: turn back on copying circle artifacts post build 2017-09-16 19:01:14 -04:00
Brian Mann b2654edf8c root: use our CLI's xvfb lib instead of xvfb-maybe 2017-09-16 18:34:06 -04:00
Brian Mann 9b0508f1bf root: update local docker to match circle [skip ci] 2017-09-16 17:28:02 -04:00
Brian Mann 704320c950 root: tweak xvfb-run args 2017-09-16 17:16:29 -04:00
Brian Mann 957375b034 root: run desktop gui cypress tests across 3 parallel instances 2017-09-16 17:00:59 -04:00
Brian Mann 8d0dd8fb3e server: fixes #658, improve the error when reporter isn't found and enable absolute path to reporters 2017-09-16 16:56:43 -04:00
Brian Mann cf308cc66c server: remove the special 'driver' mode, which is not necessary anymore 2017-09-16 16:38:29 -04:00
Brian Mann e2458ba9db root: refactor run-integration to common scripts -> run-cypress-tests, accept options, use xvfb-maybe, cleanup circle.yml
- this enables us to use a common script for running cypress tests
within the monorepo itself
- useful for the driver, desktop-gui, and the reporter
2017-09-16 16:38:00 -04:00