Commit Graph

156 Commits

Author SHA1 Message Date
Jennifer Shehane 8ec87e9cdb Issue 1601 - Update runs tab to match new api schemas (#1604)
* added 'object-schema' project, began updating fixture to match schema

* Update run display to match new api schemas

- add timer display component
- add some util functions
- update tests to actual test the run data
- capital cased some messaging in the runs

* desktop-gui: use json-schemas for testing

* remove only

* testing: copy integration artifacts on circle, close #1616

* rename api_schemas -> api_schemas_spec

* update more headings/buttons to have capital case text

- update some tests to be less brittle when text is changed.

* set timezone NYC
2018-04-23 16:26:40 -04:00
Brian Mann 9efad08f8c fixes #1585 exit with status 1 whenever no specs were found (#1587)
* fixes #1585 exit with status 1 whenever no specs were found

* add a couple tests around spec video file name

* cleanup old circleci branch filters

* bump up range of expected timings

* rename specsUtil for clarity, fix failing tests
2018-04-15 00:43:34 -04:00
Gleb Bahmutov 0925df0006 print node and npm version on CircleCI 2018-03-06 13:37:10 -05:00
Gleb Bahmutov 586d677b3d ci: use Node 8.2.1 to build binary on Windows CI #1390 (#1391)
* ci: use Node 8.2.1 to build binary on Windows CI #1390

* use Node 8.2.1 on Mac buildkite

* add comment

* source bashrc

* print home folder

* do not source bashrc

* install nvm using curl

* back to nvm using bash_profile

* hmm, maybe it is using different shell

* hmm, login into bash

* remove nvm commands

* chore: add script to check Node version against .node-version
2018-02-28 15:37:43 -05:00
Gleb Bahmutov cf07e21d23 Fix engines 1373 (#1375)
* fix: use engines from CLI package, close #1373

* chore: add integration test for build script that writes package.json file

* do not hardcode version

* build npm package in this branch too
2018-02-25 21:04:12 -05:00
Brian Mann 6d9086293f root: drop branch for building binary 2018-02-11 13:55:50 -05:00
Brian Mann b48d29c07e electron: upgrade to 1.8.2, node 8.2.1, chromium 59 (#1275)
* electron: upgrade to 1.8.2, node 8.2.1, chromium 59

* server: update snapshots for node

* server: try to debug timeouts for mochawesome

* bump zunder

- node-sass 3.13.1 does not work with Node 8, since we’re upgrading the
project to node 8.2.1, we needed node-sass 4.5.3+. This node-sass dep
was coming from gulp-sass dep in zunder which has since been updated

* server: figured out that fixture scaffolding can cause timeouts

* bump zunder - get fix so that asserts are not prefixed with /

* server: use our own heroku example app

* use cypress/browsers:chrome64 docker image on Circle with Node 8

* update root folder name

* add hash to root cache

* disable permissions test, because cannot run as root

* server: only disable test in CI

* test new binary against other projects

* all: rename cypress-monorepo -> cypress

* scripts: use latest docker container

* server: don't skip as this messes up hooks which cause failures downstream

* driver: bump timeout for zonejs

* server: make tests pass for node 8.2.1 and 8.4.0
2018-02-10 22:08:56 -05:00
Brian Mann 5d2d8278eb root: utilize CLI, don't use npm start, add cypress:run + cypress:open npm tasks for clarity 2017-12-24 23:07:06 -05:00
Brian Mann 8033fbf819 Issue 995 (#996)
* better explain contributing to the driver

- update npm tasks to reflect newest conventions

* better explain contributing to the desktop-gui

- update npm tasks to reflect newest conventions

* synchronize content changes

* capitalize all package readme's for consistency

* better explain contributing to the runner, synchronize content changes

* better explain contributing to the server

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* synchronize content

* better contribution guidelines by redirecting users to package specific readme's

* synchronize content

* fix various content mistakes

* simplify contributing

* removed dead files

* bump zunder

* lock zunder to 5.1.0
2017-12-02 18:51:42 -05:00
Gleb Bahmutov a6b3d77a4a start server in the background 2017-11-21 15:58:08 -05:00
Gleb Bahmutov 1c5fe69aae learn how to spell Cypress 2017-11-21 15:30:13 -05:00
Gleb Bahmutov dedf052c31 do not record when running kitchensink against staging 2017-11-21 15:25:25 -05:00
Gleb Bahmutov c61fbf2af6 learn how to spell kitchensink 2017-11-21 14:45:27 -05:00
Gleb Bahmutov e63a244611 test binary with kitchensink example against staging API 2017-11-21 14:38:14 -05:00
Gleb Bahmutov 6cd7b6d3d3 record test-tiny project on staging (#919) 2017-11-15 13:21:30 -05:00
Gleb Bahmutov 2f97f3f5ca only test against staging from develop branch 2017-10-30 15:56:16 -04:00
Gleb Bahmutov 158c5d2945 Env file name (#853)
* scripts: only use filename to get environment variables

* rename to STAGING_RECORD_KEY
2017-10-30 13:56:20 -04:00
Gleb Bahmutov 7d13cf59ec Add ability to point built binary at staging, close #813 (#814)
* allow setting CYPRESS_ENV when running binary, close #813

* test on CircleCI against staging API

* clone test project using HTTPS

* pass record key via environment variable

* use xvfb-maybe

* locally install xvfb-maybe

* remove debug

* add testing built binary against staging api

* do not try to guess if missing ts-node is ok

* install built npm cypress.tgz

* do not need xvfb for cypress run
2017-10-26 16:33:10 -04:00
Gleb Bahmutov dc9335019b stop using internal docker image with chrome (#822) 2017-10-26 16:22:26 +00:00
Gleb Bahmutov 697319d6b0 pass cypress.zip via workspace 2017-10-23 17:23:23 -04:00
Gleb Bahmutov 8466e374f3 working on installing from local binary file (#797)
for #701 

* working on installing from local binary file

* fix missing return

* enabled skipped zip file test

* test zip file and up in two folders

* test direct zip file install on CircleCI

* Remove artificial delays
2017-10-23 21:03:47 +00:00
Gleb Bahmutov ea89080016 CIRCLECI env not CIRCLE 2017-10-23 16:09:27 -04:00
Gleb Bahmutov 6d64ca42d6 form upload hash from CI environment vars if not set 2017-10-23 16:01:04 -04:00
Gleb Bahmutov 9aec0df6f3 print top level deps 2017-10-23 14:26:00 -04:00
Jennifer Shehane 829f5988e5 Driver contributions, close #763
* remove empty test scripts

* Update contributing guide to include more specific instructions for the driver

- Move CI status within the TOC
- Add ‘driver’ to ‘Working in specific package’ section
- some minor link / wording fixes
- added wording around our labels.

* remove 'run test' task for coffee

* Jazz up the readme

- Add ‘why cypress’ video
- Add a bunch of badges
- Add ‘install cypress’ section that refers to docs
- Add a nice logo at the top.

* updates

* remove desktop-gui unit test task from ci
2017-10-18 19:43:38 +00:00
Gleb Bahmutov 93714a410f Print arch (#769)
* print platform and architecture before building on Circle

* print platform on AppVeyor
2017-10-18 18:18:40 +00:00
Gleb Bahmutov 66861fd716 Working directory ci (#746)
* root: use working directory in circle ci yml

* convert other commands
2017-10-16 15:00:14 +00:00
Brian Mann a941ac2470 driver: cannot seem to get it together on this one... 2017-10-13 12:15:27 -04:00
Brian Mann 72757807d0 driver: cd into it first... 2017-10-12 20:07:05 -04:00
Brian Mann 852b4222ca driver: bin it 2017-10-12 19:58:08 -04:00
Brian Mann f53fb63ddf driver: don't background the wait, lol 2017-10-12 00:23:13 -04:00
Brian Mann 93a0c3069d wait on the driver server to be running 2017-10-12 00:05:39 -04:00
Gleb Bahmutov 5aace6d9dc filter projects to trigger by provider name 2017-10-05 10:59:33 -04:00
Gleb Bahmutov c244b4dca7 Merge branch 'win-binary-495' into develop 2017-10-02 21:14:40 -04:00
Gleb Bahmutov 735519a7b4 Bump via commit 537 (#538)
* run test CI projects by making empty commit, close #537

* use good message when bumping jobs

* enable more test projects

* fix vars

* trigger cypress-test-ci-environments

* enable cypress-test-example-repos

* add binary url to the trigger commit message

* enable all jobs again

* pass binary url

* prepare to test local zip install
2017-10-02 18:20:58 -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 38a1445636 run mocha sanity tests on CI 2017-09-29 10:42:37 -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 a03528970d pass env variable differently 2017-09-28 10:14:48 -04:00
Gleb Bahmutov 76995566b0 build and install binary and NPM package locally on Circle 2017-09-28 10:14:20 -04:00
Gleb Bahmutov 93aa274bea root: add npm run all prune command (#513) 2017-09-28 10:11:21 -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
Brian Mann 6eb8e60416 root: store test results 2017-09-16 21:44:15 -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 1fa2d9f2a2 root, server: WIP try to copy circle artifacts 2017-09-16 19:44:57 -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 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
Brian Mann c42fb888f9 root: remove verbose linux binary build, swap to use env var 2017-09-16 15:22:42 -04:00
Gleb Bahmutov 48954d7aa5 try single command on CI 2017-09-15 16:44:04 -04:00