Commit Graph

38 Commits

Author SHA1 Message Date
Chris Breiding
6ba8d7cc93 Electron v5.0.10 (#4720)
* fix specs

* use debugger protocol for cookie handling in electron

* use latest gulp

* use rimraf instead of gulp-clean

* use electron 3.1.8 and node 10.2.1

* use gulp 4 in packages/static

* fix sendCommandAsync, log Schema.getDomains on CDP connect

* autofill e2e test name [skip ci]

* electron@5.0.7, see what new failures exist

* --no-sandbox for launching Electron

* update cookies logic for electron

* node 12

* update snapshot for new node

* update error message for new node

* stub sendCommandAsync

* only connect to socket if path has been replaced, fixes #4776

* update node-sass to support node 12

* skip wacky socket tests for now

* snapshot

* fix run_plugins_spec snapshot, don't include stack trace

* use --no-sandbox on linux to run as root

* allow sendCommandAsync to resolve

* use euid for root check

* log domains even if undefined

* don't worry about ending 1xx responses immediately anymore

* use --max-http-header-size, change max size from 8kb to 1mb, fix #76

* do not send 502 on failed websocket, just send back ECONNRESET

* update websocket spec port to not collide with other test

* update outdated expect

* Revert "only connect to socket if path has been replaced, fixes #4776"

This reverts commit f179eda5ca.

* update gulp in root

* update https-proxy unit tests

* update network spec to properly close server

* update reporter spec

* update https-proxy-agent to fix node 10.10.0 change

discussion: https://github.com/nodejs/node/issues/24474\#issuecomment-511963799

* only pass --max-http-header-size on node >=12

* use own server-destroy implementation that supports secureConnect events

* oops

* update socket_spec

* electron 6.0.0

* console.table introduced in node 10

* change browserify entry to init.js

* handle edge case when no response body

* console.table added in node 10

* do not exit app when all BrowserWindows are closed

* update e2e snapshots

* value may not be null

* update plugins spec

* correct cookie expiry, use browser.getversion for CDP version check

* fix snapshotting for require stacks

* reorder cookies in spec

* warn when depreated electron callback apis are used

* only report 1 plugin error per process

* cleanup

* node 12.4.0, cypress/browsers:node12.4.0-chrome76 docker image

* update shell.openExternal to promisified

* update dialog.showOpenDialog to promisified

* update webContents.session.setProxy to promisified

* updating native dependencies since we don't need ancient node ABI support anymore

* WIP: switch cookies to simpler, jar-less approach

* WIP: switch cookies to simpler, jar-less approach

* making tests pass

* improve cookie filtering logic

* Remove unneeded Promise.try

* filter what makes it to the extension

* properly re-set superdomain cookies on cross-origin cy.visit

* allow comma-separated list of e2e tests

* sort cookies in order of expiration date, ascending

* updating tests, cleanup

* update tests

* version electron as a devDependency, electron@6.0.1

* cleanup, remove old automation

* cleanup, remove old automation

* bump chokidar to fix win10 + node12 issue

was seeing this on windows:
https://github.com/nuxt/nuxt.js/issues/6035

fixed with version bump

* enable now-supported quit role, re-enable old tests

* don't need that arg there

* remove last deprecated callback electron invocations

* Delete cypress.json

* responding to PR feedback

* cleanup

* invoke

* use 'quit' role

* Use new appMenu role for Cypress menu on mac

* electron@6.0.2

* electron@6.0.3

* remove domain: cookie.domain and see what happens

* remove setErrorHandler

* Revert "remove domain: cookie.domain and see what happens"

This reverts commit 49e916896d.

* add unit tests for cookies

* ci

* fix project-content css

* electron@6.0.4

* fix specs_list test

* electron@6.0.7

* some cleanup

* electron@6.0.9

* Update 8_reporters_spec.coffee.js

* electron@5.0.10 - Chromium 73, Node 12

* cli: fix the STDIN pipe on Windows (#5045)

* cli: pipe stdin

* uggh, here is the actual change

* update cli unit tests

* add unit test

* more permissive check for json to include application/vnd.api+j… (#5166)

* more permissive check for json to include

* add json test for content-type application/vnd.api+json

* cruder solution passes e2e tests locally, so let's go with that

* Remove 'charset' from content-type before checking if JSON

* fix eslint for fixture specs (#5176)

* update eslint to lint files within 'fixtures' in support files

- ignore some edge cases like jquery, jsx and obvious js files we wrote
with broken code

* Fixes from eslint to 'fixtures' files

* Catch env variable with reserved name CYPRESS_ENV 1621 (#1626)

* server: check CYPRESS_ENV variable when merging configs

* catch invalid CYPRESS_ENV value in CLI, close #1621

* linting

* sanitize platform in test snapshot

* linting

* update error message text

* add missing comma

* fix finally merge in JS code

* pass CLI linter

* fix log reference, should be debug

* use correct sinon reference

* update message, show first part in red

* update error message text

* Addresses #2953 (#5174)

* Addresses #2953

* Added proper test for new error message

* Didn't realize it ran this test as well, whoops

* Implementing changes as suggested by @jennifer-shehane

* Fixing tests and error output. Moved the checks to the start of the get command to ensure we always catch improper options

* Removing issue test since the querying spec covers it

* Using coffescript isArray check

* depromisify things that were promisified b/t electron 5 <=> 6

Revert "update shell.openExternal to promisified"

This reverts commit 8b6460d015.

Revert "update dialog.showOpenDialog to promisified"

This reverts commit 5f178b075b.

Revert "update webContents.session.setProxy to promisified"

This reverts commit 727df3a4e5.

* node12.4.0-chrome76 => node12.0.0-chrome75

* fix tests for electron downgrade

* node12.0.0-chrome75 => node12.0.0-chrome73


Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-09-24 14:35:24 -04:00
Gleb Bahmutov
e5106d95f5 test Mac build against other repos (#4527)
* test Mac build against other repos

* trigger projects again to confirm all work

* when triggering projects filter by platform too

* linting
2019-06-21 12:16:04 -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
Gleb Bahmutov
c55cc089ef put platform and arch into commit message status object 2019-04-19 12:53:10 -04:00
Brian Mann
b1adbda0ca provide context in the status commit message 2019-04-18 08:16:16 -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
Gleb Bahmutov
a81f38aa5a Build and sign Mac app on CircleCI (#3107)
* try codesign on mac circle

* run mac code sign setup as sudo

* check env variables

* pass org context to command

* update shell command

* hmm does shell need to login

* add FASTLANE_LANE

* fix log messages in build

* DEBUG code sign

* try importing profile first

* use sign shell script inline

* exit if importing profile fails

* unlock keychain

* try creating custom keychain and using it

* more unlocking

* try using -T

* append new keychain to the list

* try mac executor 10.1.0

* skip node version check

* set keychain name to use for signing

* remove passing name of the keychain

* more comments

* use env variables directly to code sign on mac

* use electron-builder to sign mac app

* try disabling publishing by electron-builder

* try testing Mac binary against kitchensink

* wait on the right job

* run on mac-sign-2 branch

* remove buildkite pipeline

* remove old commands

* darwin platform

* workflows via templates

* inherit stdio when calling codesign

* build binary for this branch

* actually build an app, dah

* add note about code sign in PR

* remove FASTLANE env variable

* enable linux builds and remove current branch
2019-01-09 22:52:23 -05:00
Brian Mann
1d0b35bd47 Cli env var changes (#1734)
* wip [skip ci] update

* wip [skip ci] update test

* [skip ci] fix env var

* bump sinon, create helper utility to always throw when a stub is called without being given stubbed behavior

* update failing specs

* fix some error messages

* update snapshot

* warning -> note, add snapshot tests

* change snapshot os.release, test env vars
2018-05-19 15:37:52 -04: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
Gleb Bahmutov
79d7c8a249 Do not set env vars to kickoff (#923)
* do not set any shared environment vars on test projects

* rename .ci.json to ci.json
2017-11-16 14:47:58 -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
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
b7ff236060 enable buildkite cypress-test-example-projects 2017-10-30 11:50:22 -04:00
Brian Mann
d60f20d1dc @bahmutov plz add this to build kite, currently this does not work [skip ci] 2017-10-29 21:12:51 -04:00
Brian Mann
bda39b690b don't test the real example repos to prevent an excessive amount of CI runs [skip ci] 2017-10-29 21:01:08 -04:00
Gleb Bahmutov
70fcee8c75 enable kitchensink and todomvc on appveyor 2017-10-25 13:54:27 -04:00
Gleb Bahmutov
f0814cc522 use bumpercar with buildkite that can split name 2017-10-23 15:30:35 -04:00
Gleb Bahmutov
bdd81f6047 fix providers checks 2017-10-23 13:46:03 -04:00
Gleb Bahmutov
0288801624 set configured providers 2017-10-23 13:08:37 -04:00
Gleb Bahmutov
928c13d992 build example kitchenksink on buildkite 2017-10-23 10:40:19 -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
Gleb Bahmutov
415ec73227 use cypress-test-example-repos on appveyor 2017-10-05 21:21:44 -04:00
Gleb Bahmutov
faf4b0c3dd ci: trigger todomvc build on AppVeyor, close #571 2017-10-05 15:23:46 -04:00
Gleb Bahmutov
b591944a02 Merge branch 'win-binary-495' into develop 2017-10-05 19:15:04 +00:00
Gleb Bahmutov
03fc910ba7 root: add short SHA to the test project commit subject 2017-10-05 14:17:15 -04:00
Gleb Bahmutov
c3d1fbee88 build kitchensink on windows 2017-10-05 13:26:17 -04:00
Gleb Bahmutov
723ece7dc5 add warning filtering message 2017-10-05 11:21:46 -04:00
Gleb Bahmutov
bd58d05f83 camelCase provider name 2017-10-05 11:20:21 -04:00
Gleb Bahmutov
5aace6d9dc filter projects to trigger by provider name 2017-10-05 10:59:33 -04:00
Gleb Bahmutov
bad90bfd31 filter projects to trigger by provider name 2017-10-05 10:57:03 -04:00
Gleb Bahmutov
a9dcfdff31 Version in commit subject 563 (#564)
* start unit testing npm version extract

* put short NPM version into trigger commit subject, close #563

* pass appVeyor token to bumpercar
2017-10-05 14:13:11 +00:00
Brian Mann
d657b3545f root: add release tasks to bump cypress server manifest [skip ci] 2017-10-04 18:47:59 -04:00
Gleb Bahmutov
56328d5200 add purge-version --version command, close #549 (#555) 2017-10-04 15:45:57 +00:00
Gleb Bahmutov
1ad8899cdd trigger/bump other projects serially (#552)
* trigger/bump other projects serially

* bring version of bumper that suppors appVeyor variables

* add cypress-tiny-project test
2017-10-04 15:07:16 +00: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
Brian Mann
80914cbd31 root: add bump tasks for circle [skip ci] 2017-09-27 20:01:36 -04:00
Brian Mann
be211af10e deploy: rename deploy -> binary folder 2017-06-29 14:06:45 -04:00