Commit Graph

227 Commits

Author SHA1 Message Date
renovate[bot] d01c4f0715 chore(deps): Update dependency snap-shot-it to version 7.7.1 🌟 (#4498)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-06-19 15:08:24 +06:30
renovate[bot] bb49aae35a chore(deps): Update dependency lint-staged to version .x 🌟 (#4480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-06-18 11:13:00 +06:30
renovate[bot] 86574be7ea chore(deps): update dependency snap-shot-it to version 7.5.1 🌟 (#4465)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-06-14 22:45:22 +06:30
renovate[bot] 546c92e1fc fix(deps): update dependency pluralize to version .x 🌟 (#4438)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-06-12 11:16:52 +06:30
renovate[bot] 2bee5f8815 fix(deps): Update mocha-junit-reporter to 1.23.0 🌟 (#4417) 2019-06-10 12:37:13 +06:30
Brian Mann da3f60a28c release 3.3.1 [skip ci] 2019-05-23 01:45:46 -04:00
Gleb Bahmutov 4ebd4b6b2b use latest github commit module version, print if we have variables set 2019-05-22 10:42:09 -04:00
Brian Mann f679ced981 release 3.3.0 [skip ci] 2019-05-17 12:14:50 -04:00
Brian Mann 77c62e010b improve CLI verify + run display warnings (#4230)
* tighten up potential xvfb display problems

- improve the warning message on possible display problems
- reuse existing helper functions for platform detection
- instead of relying on timing mechanisms, if a possible display
problem is detected on linux - capture all of the stderr silently and
if the broken gtk message is detected, retry running

* consolidated and simplified smoke testing, xvfb error logging and messaging

- added —dev support to cypress verify cli command

* fix lots of tests, restore one error message

* fixed remaining CLI tests

* console.log pong only in electron mode

* remove dead code
2019-05-17 09:12:03 -04:00
renovate[bot] 9bdc9eb7c5 chore(deps): update dependency husky to version .x 🌟 (#4228)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-17 15:39:17 +06:30
renovate[bot] 9e592aab11 chore(deps): update dependency lint-staged to version .x 🌟 (#4223)
* chore(deps): update lint-staged to 7.3.0 🌟

* update lint-staged call to new syntax (they removed implicit npm script call)


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-05-17 13:49:52 +06:30
renovate[bot] 83bc2cc83e chore(deps): update snap-shot-it to 7.4.4 🌟 (#4224) 2019-05-17 13:19:27 +06:30
renovate[bot] 3aec800050 fix(deps): update pluralize to 7.0.0 🌟 (#4206) 2019-05-16 13:15:38 +06:30
renovate[bot] b8c3b3d42f chore(deps): update dependency ts-node to version .x 🌟 (major) (#4197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-16 10:29:13 +06:30
renovate[bot] d4d7326ebb chore(deps): Update dependency decaffeinate to version .x 🌟 (#4190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-14 17:30:44 +06:30
Gleb Bahmutov d25cfacc6f Automatically retry verify and run commands on Linux if suspect DISPLAY problem (#4165)
* cli: debug explanation for XVFB

* linting

* add chai-as-promised to CLI dev

* show Linux specific error solution if cannot verify

* add todo

* chore: consolidate github issue url logic

* linting

* add npm script lint-changed to quickly eslint fix changes JS files

* retry verify with our XVFB

* update errors and tests

* update CLI tests

* add test for display error message

* fix unit test

* add successful test with retry

* finish verify retry test

* warn users if hit display problem on first verify

* try to detect display problem when running electron and retry with our xvfb

* add warning message to spawn when attempting xvfb re-run

* add test for display retry behavior on spawn

* more comments for clarity

* fix typo
2019-05-13 15:19:53 -04:00
renovate[bot] a90bc3a3e5 chore(deps): update dependency snap-shot-it to version .x 🌟 (#4151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-07 16:21:22 +06:30
renovate[bot] 7a77fa3063 chore(deps): update dependency pretty-ms to version .x 🌟 (#4116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-06 11:32:04 +06:30
renovate[bot] 7bd1698643 chore(deps): update dependency filesize to version .x 🌟 (#4113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-06 11:01:55 +06:30
Gleb Bahmutov 6f685ab8b8 add metadata to the uploaded test runner binary (#4092)
* move s3 api helpers into own TS file

* add demo file

* add comments

* add method to set user metadata by copying it

* set checksum metadata on uploaded binary

* move checksum to the right upload file

* call the right method

* fix require from ts

* convert size to string

* needs extension

* test binary against other projects

* set checksums as headers during first upload

* Revert "set checksums as headers during first upload"

This reverts commit 2043d9ee1f.

* set ACL to public-read when setting metadata on binary

* linting

* pass content-type

* update scripts tests

* linting

* add --platformArch parameter
2019-05-02 12:29:37 -04:00
renovate[bot] e12edb8309 chore(deps): Update dependency aws-sdk to version 2.447.0 🌟 (#4093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-02 13:12:09 +06:30
Gleb Bahmutov ebaa7a375c Copy test runner binaries before releasing new version (#4082)
* adding S3 sdk

* test binary folder

* linting

* before searching for binary

* linting

* grab folders in the given S3 prefix

* grab folders in the given S3 prefix

* find the last build

* found last builds for commit

* refactoring

* add tests for upload dir name

* create destination zip filename

* copying S3 files

* move s3 helpers into own object, prepare for testing

* add realistic test

* linting

* chore: add documentation to DEPLOY.md file
2019-05-01 10:14:25 -04:00
renovate[bot] 57eda8cacf fix(deps): update dependency debug to version .x 🌟 (#3793)
* fix(deps): update debug to 4.1.1 🌟

* bump cli 'debug' down to 3.2.6 - last version that still supports Node 4


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-05-01 13:12:07 +06:30
Zach Bloomquist 47e98fa1d0 Use 'platform-arch' naming scheme for downloads (#3998)
* use 'platform-arch' naming scheme for downloads

* do full builds for this branch

* Revert "do full builds for this branch"

This reverts commit 6d539513e7.

* update wrong comments

* chore: test upload getCDN functions

* linting js

* unit test refactored manifest

* linting
2019-04-29 12:27:41 -04:00
renovate[bot] 875186ed36 chore(deps): update dependency bin-up to version 1.2.0 🌟 (#4047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 16:11:09 +06:30
renovate[bot] 41fef48ec0 chore(deps): Update dependency cloudflare-cli to version 3.2.2 🌟 (#4052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 15:32:08 +06:30
renovate[bot] 628f61a6c6 chore(deps): update dependency @cypress/bumpercar to version 2.0.7 🌟 (#4045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 14:48:25 +06:30
renovate[bot] 9ef619cddf chore(deps): Update dependency shelljs to version 0.8.3 🌟 (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 13:59:33 +06:30
Chris Breiding b8f0257958 Upgrade to electron 2.0.18 and node 8.9.3 (#4001)
* upgrade to electron 2.0.18 and node 8.9.3

* use cypress/browsers:node8.9.3-chrome73 docker image

* fix type_spec for chrome

* Revert "fix type_spec for chrome"

This reverts commit 7914f68142.

* fix driver specs for chrome

* update engines to 8.9.3


Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-04-25 19:55:15 -04:00
Brian Mann b1adbda0ca provide context in the status commit message 2019-04-18 08:16:16 -04:00
Brian Mann 27ccf2709a retry signing the binary once if it fails 2019-04-17 21:37:52 -04:00
Gleb Bahmutov 4bcc094623 create status check after building binary (#3967)
* create status check after building binary

* rework status

* put platform first in the status check

* remove building this branch

* modify the status check context, misc cleanup


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-04-17 20:51:19 -04:00
renovate[bot] 720d12c76f chore(deps): update snap-shot-it to 6.3.3 🌟 (#3953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-12 18:16:40 +06:30
renovate[bot] 199ffba96a chore(deps): update dependency eslint to version .x 🌟 (major) (#3948)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-12 16:28:56 +06:30
Gleb Bahmutov a793b09e38 switch to use @cypress/commit-message-install 2019-04-09 15:04:09 -04:00
Gleb Bahmutov 8968e7fc87 Add arch to commit message install (#3923)
- add `arch` and `status` fields to the commit message when testing other projects
- status is needed to enable GitHub commit status checks for this build
- renamed a couple of test jobs

Example commit message with this change in https://github.com/cypress-io/cypress-test-node-versions/commit/61c24b20006e1de91a8cff77de726d485191bb0d

<img width="1011" alt="Screen Shot 2019-04-09 at 11 39 31 AM" src="https://user-images.githubusercontent.com/2212006/55814270-2c97ad00-5abc-11e9-8a6d-27fcec214130.png">
2019-04-09 11:56:48 -04:00
Brian Mann 1b28430e79 release 3.2.0 [skip ci] 2019-04-01 05:17:17 -04:00
Zach Bloomquist c1a345dce2 Improved proxy support (#3531)
* https-proxy: unused file

* server: wrap all https requests that use a proxy

* server: use request lib in ensureUrl if proxy is in use. this makes runs tab work behind a proxy

* electron: pass --proxy-server to app itself, so the embedded github login page works

* cli: first attempt at env vars from windows registry

* cli: api cleanup

* cli: lint

* cli: fix crash on no proxy, add tests

* add desktop-gui watch to terminals.json

* cli: pass along --proxy-source

* electron: pass --proxy-bypass-list too

* server: whitelist proxy* args

* cli: better wording

* desktop-gui: display proxy settings

* extension: force proxy [wip]

* extension: finally, i am victorious over coffeescript

* extension: add -loopback to bypasslist

* extension: revert changes

Revert "extension: force proxy [wip]"

This reverts commit 3ab6ba42a763f25ee65f12eb8b79eb597efc9b11.

* desktop-gui: skip proxysettings if there aren't any

* https-proxy, server: proxy directConnections using https-proxy-agent

* https-agent: pool httpsAgents

* https-proxy: work when they're not on a proxy

* https-proxy: ci - use agent 1.0

* https-proxy: tests

* desktop-gui: hide proxy settings when not using proxy

* https-proxy: pass req through to https-proxy-agent callback

* cli: use get-windows-proxy

* desktop-gui: always show proxy settings

* server: use get-windows-proxy

* electron, server: supply electron proxy config when window launched

* server: fix

* https-proxy: cleanup

* server: clean up ensureUrl

* https-proxy: cleanup

* cli: fix

* cli: fix destructuring

* server: enable ForeverAgent to pool HTTPS/HTTP connections

#3192

* server: updating snapshot

* https-proxy: don't crash, do error if proxy unreachable

* https-proxy:

* get-windows-proxy@1.0.0

* https-proxy: use proxy-from-env to decide on a proxy for a url

* server: fallback to HTTP_PROXY globally if HTTPS_PROXY not set

* server: proxy args test

* cli: add proxy tests

* cli: add test that loadSystemProxySettings is called during download

* cli, server: account for the fact that CI has some proxy vars set

* https-proxy: ""

* cli, https-proxy, server: ""

* desktop-gui: update settings gui

* desktop-gui: cypress tests for proxy settings

* server: strict undefined check

* cli, server: move get-windows-proxy to scope, optionalDeps

* server, cli: use new and improved get-windows-proxy

* cli, server: 1.5.0

* server: re-check for proxy since cli may have failed to load the lib

* server, cli: 1.5.1

* server: NO_PROXY=localhost by default, clean up

* https-proxy: disable Nagle's on proxy sockets

\#3192

* https-proxy: use setNoDelay on upstream, cache https agent

* https-proxy: test basic auth

* https-proxy: add todo: remove this

* server: add custom HTTP(s) Agent implementation w keepalive, tunneling

* server: typescript for agent

* add ts to zunder

* server: more ts

* ts: add missing Agent type declaration

* server: create CombinedAgent

* server: use agent in more places

* ts: more declarations

* server: make script work even if debug port not supplied

* server: begin some testing

* server, ts: agent, tests

* server: test

* server: agent works with websockets now

* server: update snapshot

* server: work out some more bugs with websockets

* server: more websockets

* server: add net_profiler

* https-proxy: fix dangling socket on direct connection

* server: fix potential 'headers have already been sent'

* https-proxy: nab another dangler

* server: update test to expect agent

* https-proxy: fix failing test

* desktop-gui: change on-link

* server: add tests for empty response case

* server: tests

* server: send keep-alive with requests

* server: make net profiler hook on socket.connect

* server: only hook profiler once

* server: update tests, add keep-alive test

* server: only regen headers if needed

* server: move http_overrides into CombinedAgent, make it proxy-proof

for #112

* server: update snapshot

* server: undo

* server: avoid circular dependency

* https-proxy, server: use our Agent instead of https-proxy-agent

* server: add dependency back

* cli: actually use proxy for download

* server, launcher, ts: typescript

* Revert "server, launcher, ts: typescript"

This reverts commit d3f8b8bbb6.

* Revert "Revert "server, launcher, ts: typescript""

This reverts commit 818dfdfd00.

* ts, server: respond to PR

* server, ts: types

* ts: really fix types

* https-proxy, server: export CA from https-proxy

* agent, server, https-proxy: move agent to own package

* agent => networking, move connect into networking

* fix tests

* fix test

* networking: respond to PR changes, add more unit tests

* rename ctx

* networking, ts: add more tests

* server: add ensureUrl tests

* https-proxy: remove https-proxy-agent

* server: use CombinedAgent for API

* server: updates

* add proxy performance tests

* add perf tests to workflow

* circle

* run perf tests with --no-sandbox

* networking, ts: ch-ch-ch-ch-changes

* server, networking: pr changes

* run networking tests in circle

* server: fix performance test

* https-proxy: test that sockets are being closed

* https-proxy: write, not emit

* networking: fix test

* networking: bubble err in connect

* networking: style

* networking: clean p connect error handling

* networking => network

* server: make perf tests really work

* server: really report

* server: use args from browser

* server: use AI to determine max run time

* server: load electron only when needed


Co-authored-by: Brian Mann <brian@cypress.io>
2019-03-31 23:39:10 -04:00
Gleb Bahmutov e0042a2009 Upgrade snap shot it to v6 in CLI package (#3761)
* update cli_spec

* linting

* update named snapshot to have 1 to match snap-shot-it v5

* update errors spec

* linting

* update snapshot use in download_spec

* update install_spec snapshot

* linting

* update use of snapshot in unzip_spec

* update snapshot use in verify_spec

* enable all CLI specs

* no need to skip snapshot sorting

* upgrade snap-shot-it to v6 in root

* update snap-shot-it to v6 in packages/server

* need to add build script to transpile

* update cypress_spec snapshot use with names
2019-03-21 10:39:28 -04:00
renovate[bot] 8f88ee5799 chore(deps): update dependency electron-builder to version 20.39.0 🌟 (#3781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-03-21 14:09:02 +06:30
renovate[bot] 6ff6ec50e3 chore(deps): update dependency @cypress/bumpercar to version 2.0.6 🌟 (#3690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-03-13 22:14:53 +06:30
koooge 38be316d0f Remove an unused package (#3291)
* Remove an unused package

Signed-off-by: koooge <koooooge@gmail.com>

* Delete .vagrant

Signed-off-by: koooge <koooooge@gmail.com>


Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2019-02-25 20:56:13 +00:00
renovate[bot] 86be8c6833 chore(deps): update find-package-json to 1.2.0 🌟 (#3564) 2019-02-22 18:19:51 +06:30
renovate[bot] 258b58bef4 chore(deps): update eslint-plugin-cypress to 2.2.1 🌟 (#3534)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-20 19:05:30 +06:30
renovate[bot] 75d863bdd3 chore(deps): update dependency cloudflare-cli to version .x 🌟 (#3510)
* chore(deps): update cloudflare-cli to 3.2.1 🌟

* chore(deps): update cloudflare-cli to 3.2.1 🌟


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-02-19 16:10:10 +06:30
renovate[bot] 48908d2c9e chore(deps): update @cypress/bumpercar to 2.0.5 🌟 (#3501)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-16 15:39:42 +06:30
renovate[bot] 8d678d6c98 fix(deps): update dependency mocha-junit-reporter to version 1.18.0 🌟 (#3417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-14 12:38:21 +06:30
renovate[bot] 7d0ce0f9bc chore(deps): update dependency jscodeshift to version 0.6.3 🌟 (#3293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-05 14:19:33 +06:30
renovate[bot] f675ba1fb6 chore(deps): update dependency electron-builder to version 20.38.5 🌟 (#3273)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-01 14:09:51 +06:30
renovate[bot] abf8082de1 chore(deps): update dependency console.table to version 0.10.0 🌟 (#3271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-01 11:31:35 +06:30