Commit Graph

11809 Commits

Author SHA1 Message Date
Zach Bloomquist 146d4cd5cf Add missing Date to cy.clock typescript def (#4106)
* add missing option from clock tsdef

* add type test for cy.clock with Date
2019-05-03 11:34:16 +06:30
renovate[bot] 3394ea990a fix(deps): update dependency image-size to version 0.7.4 🌟 (#4096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-03 10:21:05 +06:30
Gleb Bahmutov edc7b4c453 print more info when checking built version 2019-05-02 17:35:42 -04:00
Gleb Bahmutov 28c75d0bcc upgrade kitchensink to get rid of http-server dependency (#4107) 2019-05-02 17:04:33 -04:00
Ben Kucera 1f0071002b Add timeout for cli/verify smoke test (#4080)
* temp 04/29/19 [skip ci] cli verify timeout

* add smoke test timeout error and tests

* cleanup code

* normalize snapshots for ci

* remove promise cancellation config

* cleanup error messaging and spacing for displaying the error details + descriptions


Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2019-05-02 15:20:58 -04:00
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
Jennifer Shehane 0cc949308d handle cy.contains selector with comma separated dom els (#4077)
* split filter arg on commas and generate 'contains' selector using all els

- write test with comma-separated dom els in filter arg.

* wrote extra test to ensure space + comma separated filters still find correct results.

* trim whitespace around filters in contains

- we don’t want to strip more than this since whitespace changes the
meaning of selectors. Only trim leading and trailing space.

* fix click test error to find 17 els instead of 15 (since 2 were added)

* move newly added button in DOM below previous first button

- also just update the failing test to use more specific #button id
instead of button:first


Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2019-05-01 21:27:02 -04:00
Abdullah Uzun bf4ac8179d Overriding user-agent when using cy.request or cy.visit (#3920)
* Overriding user-agent when using cy.request

* add driver tests for visit, request user-agent
2019-05-01 16:14:47 -04:00
Gleb Bahmutov b96066a396 chore: linting example spec files 2019-05-01 10:18:33 -04:00
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
Gleb Bahmutov da23a9760a detect forked PR on AppVeyor CI, close #4063 (#4078)
* detect forked PR on AppVeyor CI, close #4063

* match what CircleCI has for env variables
2019-05-01 09:38:38 -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
renovate[bot] ea1b2a10a1 fix(deps): update dependency find-process to version 1.4.1 🌟 (#4087)
* fix(deps): update find-process to 1.4.1 🌟

* Remove 'isFinite' check as this is done by default in 'find-process' dep

- See this change:
https://github.com/yibn2008/find-process/compare/1.2.2...1.2.3#diff-d460
8a571ae373e4877cb099c7a44b57R127
- some auto-linting updates


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-05-01 11:57:30 +06:30
renovate[bot] 3149b11362 fix(deps): update dependency express-handlebars to version 3.0.2 🌟 (#4086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-01 10:36:05 +06:30
Zach Bloomquist da61de8479 Adding compound debug configuration (#3238)
* Adding compound debug configuration

* remove trailing commas from JSON


Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-05-01 10:31:10 +06:30
renovate[bot] db0a65ee7f chore(deps): update dependency react to version 16.8.6 🌟 (#3954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-05-01 10:16:48 +06:30
renovate[bot] 06fa095961 chore(deps): update dependency cypress-example-kitchensink to version 1.5.2 🌟 (#4079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-05-01 09:11:10 +06:30
Ben Kucera ec36bf0132 reorder cli unit test snapshots for snap-shot-it (#4081) 2019-04-30 14:28:04 -04:00
renovate[bot] 4fd0f64aab fix(deps): update dependency execa to version 0.11.0 🌟 (#4076)
* fix(deps): update execa to 0.11.0 🌟

* bump execa versions to 1.0.0 (actually no changes from 0.11.0 - just stable release)

* bump execa down for cli, execa 0.11.0 drops support for < Node 6


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-04-30 20:45:46 +06:30
renovate[bot] eb0097d8d3 chore(deps): update dependency mock-fs to version 4.9.0 🌟 (#4075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-30 17:38:05 +06:30
renovate[bot] 167934f0e4 chore(deps): Update dependency inquirer to version 3.3.0 🌟 (#4071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-30 16:36:38 +06:30
renovate[bot] 9372bc3f67 chore(deps): update dependency gulp-rev-all to version 0.9.8 🌟 (#4061)
* chore(deps): update gulp-rev-all to 0.9.8 🌟

* update rev-all usage to match new 0.9 API


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-04-30 15:56:55 +06:30
renovate[bot] 455046b928 chore(deps): update dependency express-session to version 1.16.1 🌟 (#4060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-30 15:38:13 +06:30
Gleb Bahmutov 5015cbbe87 Wrap konfig load from scripts tests to avoid changing CWD (#4067)
* chore: add utility method to get konfig from scripts tests

Local scripts specs should be be caught by the changing current
directory when loading `konfig.coffee` (which loads `cwd.coffee`,
which changes the cwd to `packages/server`). This was throwing
snapshot tests into saving into a wrong folder until I have noticed
this and fixed in
[v8.0.3](https://github.com/bahmutov/snap-shot-core/releases/tag/v8.0.3)

* linting

* add more comments
2019-04-29 17:14:38 -04:00
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] c7f4feae26 chore(deps): update dependency enzyme-adapter-react-16 to version 1.12.1 🌟 (#4059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 21:57:58 +06:30
renovate[bot] 056f5f5c89 chore(deps): update dependency @babel/core to version 7.4.4 🌟 (#4056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 17:55:52 +06:30
renovate[bot] 610c64cac0 chore(deps): update dependency dtslint to version 0.7.1 🌟 (#4058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 17:04:06 +06:30
renovate[bot] a22a5164ea chore(deps): update dependency body-parser to version 1.19.0 🌟 (#4057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 17:03:43 +06:30
renovate[bot] d023ec8552 chore(deps): update dependency prettier to version 1.17.0 🌟 (#4055)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 16:34:17 +06:30
renovate[bot] 2f3de5bedb chore(deps): Update dependency babel-plugin-add-module-exports to version 1.0.2 🌟 (#4051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 16:11:29 +06:30
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] 94f745355b chore(deps): Update dependency tslint to version 5.16.0 🌟 (#4050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 16:07:54 +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] bcdbbf7ca3 chore(deps): Update dependency chokidar-cli to version 1.2.2 🌟 (#4048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-04-29 14:47:00 +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 40502cbfb7 Enable Electron right click Inspect Element (#4003)
* upgrade to electron 2.0.18 and node 8.9.3

* enable Inspect Element in electron context menu

* use electron-context-menu 0.11.0 due to electron 4 requirement
2019-04-26 12:16:29 -04:00
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
Ben Kucera 586c1c070e fix driver tests for chrome (#4023)
* fix type_spec for chrome

* remove unneeded code;

* temp 04/24/19 [skip ci] revert previous

* fix driver specs for chrome
2019-04-25 17:42:39 -04:00
Jennifer Shehane 941ab730dd Converted to LICENSE file
- https://github.com/cypress-io/cypress/blob/develop/LICENSE
2019-04-24 20:05:47 +06:30
Jennifer Shehane 2dbbda715e Update license to include copyright 2019 year 2019-04-24 20:04:56 +06:30
Jennifer Shehane 49554ebcce fix indentation in circle.yml 2019-04-23 12:06:53 +06:30
Jennifer Shehane daf8a38283 remove DEBUG logs from circleci output 2019-04-23 11:40:08 +06:30
Jennifer Shehane 923391432c Update snapshot for browser path not found (#4009)
* Update snapshot for browser path not found

* make test work on macOS and linux
2019-04-22 11:24:32 -04:00
Brian Mann 8f1601cc87 Revert "Corrected spinner animation (#4005)"
This reverts commit d172e958c3.
2019-04-20 16:56:17 -04:00
Ran Byron d172e958c3 Corrected spinner animation (#4005)
&nbsp; | Demo
------------ | -------------
 Before<br /> After | ![ezgif com-video-to-gif](https://user-images.githubusercontent.com/486954/56430388-e538ca00-62ce-11e9-9748-6f0eb249a69d.gif)

### The bug
`fa-spinner` was not meant to spin smoothly but in steps.

### And this is important because why? 🙄
I work a lot with Cypress and it's hurting my eyes and crushing my soul! 😱😵😖😭

### The fix
Changed to the dedicated 8 step `fa-pulse` animation.

### Tested?
Nope. But it looks riskless 😅
2019-04-19 15:17:25 -04:00
Gleb Bahmutov c55cc089ef put platform and arch into commit message status object 2019-04-19 12:53:10 -04:00
Zach Bloomquist 3a444482d2 Add Chromium Downloads to Help menu (#3981)
* server: add chromium downloads to help menu

* rename help text to be in active voice
2019-04-18 16:54:33 -04:00