Commit Graph

158 Commits

Author SHA1 Message Date
Chris Breiding 9291eba1a1 Fallback to env variables for git info and include PR id and default branch (#2089)
* make it alphabetical

* fallback to env variables for git info

* fix git info implementation / handle unhandled provider

* fix unit test

* update json schemas with PR number and default branch

* parse Circle url to get PR number

* test getCirclePrNumber

* remove only

* pullRequestId is a string

* warn on commit if there are tests with .only

* bump json-schemas to 5.10.0
2018-07-12 18:11:18 -04:00
Jennifer Shehane c5af554dca bump deps for security warnings (#2067)
- removes security warning during npm audit
- close #1701
2018-06-30 04:48:03 -04:00
Brian Mann 2f90edfb13 release 3.0.2 [skip ci] 2018-06-29 05:08:37 -04:00
Brian Mann 6f69b49ef2 release 3.0.1 [skip ci] 2018-05-31 02:56:57 -04:00
Brian Mann 353190d94e release 3.0.0 [skip ci] 2018-05-30 00:08:26 -04:00
Brian Mann 4b368830fa send array of specs to API + platform (#1682)
* WIP: refactor runs and recordings, update to new API updates, iteratively send spec results [skip ci]

* update / add schema deps

* add takenAt to screenshots payload

* WIP: refactor recordings to send correctly payloads, iterative through each spec, error handling, e2e tests

* add missing properties, remove hacks, upload stdout, passing tests

* normalize wall clock for newest schema spec

* rename projectPath -> projectRoot for clarity

* normalize specPattern to be relative to projectRoot

* comment out lib/api debug code

* WIP fixes a lot of failing tests

* many more tests around recording

* WIP: update to use x-os-name on all instead of platform

* WIP: update to route version 4 for creating instances

* server: upgrade json-schemas to 4.7.2

* remove debug logs

* fix stdout not being restored correctly between specs

* test all the edge cases with failed api interactions and early exits

* add e2e tests around recording without projectID

* add e2e tests around recording without recordKey

* refactored all tests surrounding record mode, removed duplicates, tested only edge cases

* fixes #1692

* fix failing unit tests, bump schemas

* bump sinon, replace custom sandbox

* fix sinon@5 not restoring fake timers automatically

* missing e2e record snapshots

* fix failing tests, don't pass config through each run, remove old timings in favor of spec isolation

* more e2e test fixes

* add e2e tests around uploading artifacts, fix bug with not uploading videos when it should

- cleanup some dead code
- add debug logs

* cleanup dead code, remove notion of failingTests
2018-05-13 20:24:46 -04:00
Gleb Bahmutov b839828fd4 place package keywords in root package.json, close #1508 (#1575)
* place package keywords in root package.json, close #1508

* update test snapshot

* add cypress.io keyword
2018-04-15 01:50:40 -04:00
Brian Mann 88950a42f6 Issue 1436 (#1437)
* driver: add eslint cypress plugin

* server, driver, runner: add __Cypress__ global to runner, add Jira rule to rewrite function to return correct window
2018-03-09 14:58:56 -05:00
Brian Mann 934c35be6b release 2.1.0 [skip ci] 2018-03-01 07:59:22 -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
Brian Mann 518c4014bd release 2.0.4 [skip ci] 2018-02-25 21:58:00 -05:00
Brian Mann d7dddc1fac release 2.0.3 [skip ci] 2018-02-21 06:12:01 -05:00
Brian Mann 791c92fb47 release 2.0.2 [skip ci] 2018-02-18 23:40:56 -05:00
Brian Mann b028bf3b07 release 2.0.1 [skip ci] 2018-02-17 01:19:38 -05:00
Brian Mann 7bdda50ef0 release 2.0.0 [skip ci] 2018-02-16 14:52:58 -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 d520a5906f release 1.4.2 [skip ci] 2018-02-04 21:06:54 -05:00
Gleb Bahmutov 11f1d1b6e3 Banner for server e2e tests (#1199)
* server: use terminal-banner in e2e tests

* add mocha-banner to integration tests

* different banner between e2e specs
2018-01-17 12:49:18 -05:00
Gleb Bahmutov 99302267df Banner to separate test output (#1190)
* cli: add mocha-banner so we can see what each test outputs

* linting
2018-01-16 13:22:00 -05:00
Theoklitos Bampouris 50a67431d7 Upgrade debug package to version 2.6.9 or greater (#1174)
* Upgrade debug package to version 2.6.9 or greater

* Set debug version explicitly to 3.1.0
2018-01-09 16:59:06 -05:00
Brian Mann 5e0e5aab8d release 1.4.1 [skip ci] 2017-12-26 16:11:52 -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 3dafede470 server: fixes #977, capture stdout in windows (#1129)
* server: fixes #977, capture stdout in windows

* driver: skip flaky tests for now

* root: fix breaking eslint due to 4.14.0

* cli: bump xvfb to make node4 happy

* cli: bump xvfb fix context
2017-12-24 21:49:00 -05:00
Brian Mann bc6d8f0a4d cli: fixes #838 start cypress in dev by routing through the CLI (#1106)
* cli: fixes #838 start cypress in dev by routing through the CLI

- matches how we run in production better to keep parity and consistency

* cli: add coerceFalse for clarity

* cli: add global flag, update to work with windows

* server: bring into parity with root scripts

* cli: just execute start script directly to work with windows

* cli, server: fixes failing tests
2017-12-24 15:05:29 -05:00
Brian Mann fa584e6045 release 1.4.0 [skip ci] 2017-12-19 15:49:31 -05:00
Brian Mann 4453fcf920 release 1.3.0 [skip ci] 2017-12-19 10:52:53 -05:00
Gleb Bahmutov a559801eb2 ci: pass commit into commit message to test projects (#1076)
* ci: pass commit into commit message to test projects

* build: remove this branch from testing binary
2017-12-15 15:34:31 -05:00
Brian Mann e0da78ee66 release 1.2.0 [skip ci] 2017-12-15 01:39:55 -05:00
Gleb Bahmutov e3e1a5fe15 build: make empty commit in next version branch first, close #1070 (#1071)
* build: make empty commit in next version branch first, close #1070

* build: add branch name = version to commit message
2017-12-14 14:49:15 -05:00
Brian Mann 72ea33b1f7 release 1.1.4 [skip ci] 2017-12-06 22:00:18 -05:00
Gleb Bahmutov f6e87c97ad Allow http download url 1001 (#1004)
* fix: allow http: download url, close #1001

* linting

* relinting JS files
2017-12-04 14:28:29 -05:00
Brian Mann 5c557757b1 release 1.1.3 [skip ci] 2017-12-04 01:50:02 -05:00
Brian Mann 121c55bd36 release 1.1.2 [skip ci] 2017-11-27 01:24:29 -05:00
Chris Breiding 704744534b bump eslint plugin version 2017-11-22 16:19:44 -05:00
Brian Mann 3f5a4fa4ff release 1.1.1 [skip ci] 2017-11-20 21:49:38 -05:00
Brian Mann 37d1a7187e release 1.1.0 [skip ci] 2017-11-20 00:46:33 -05:00
Gleb Bahmutov cbf1da0802 Separate bump next version command (#922)
* set set-next-ci-version script command

* use current package.json version when asking for next one

* showing actual error response from buildkite

* rename .aws-credentials.json to just aws-credentials.json file

* rename aws_credentials_json on appveyor
2017-11-16 14:12:30 -05:00
Gleb Bahmutov b2f03ba20d build: use commit-message-install to form json block 2017-11-01 22:15:55 -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
Brian Mann d6377acf31 release 1.0.3 [skip ci] 2017-10-30 00:43:24 -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 f0814cc522 use bumpercar with buildkite that can split name 2017-10-23 15:30:35 -04:00
Gleb Bahmutov fc56a7cce1 use latest version of bumpercar 2017-10-23 14:40:03 -04:00
Gleb Bahmutov 9aec0df6f3 print top level deps 2017-10-23 14:26:00 -04:00
Gleb Bahmutov 5890109d5a use bumpercar with buildkite support 2017-10-23 10:37:22 -04:00
Gleb Bahmutov d1a78e77d5 start moving appveyor build steps into shelljs file (#785)
* start moving appveyor build steps into shelljs file

* moved appveyor commands into shell script

* build on this branch
2017-10-20 18:14:59 +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
Brian Mann ede5efc369 root: actually bump package.json [skip ci] 2017-10-14 20:14:22 -04:00
Brian Mann 5c007badfe root: add additional tasks for committing release and updating repos with next dev version 2017-10-14 19:55:29 -04:00
Brian Mann 2b2b6d99a9 release 1.0.0 [skip ci] 2017-10-10 06:04:34 -04:00