Commit Graph

397 Commits

Author SHA1 Message Date
renovate[bot] b6794367e0 chore(deps): update dependency dtslint to version 0.4.4 🌟 (#3533)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-20 11:21:25 +06:30
Zach Bloomquist ef9b8f7b38 Launch browsers by path: --browser /path/to/browser (#3337)
* adding multiple possible binary names for linux

* windows launcher doesn't consider "binary", so don't pass it

* adding test for multiple binary names

* Stronger typing, clearer variable names

* Stronger typing, clearer variable names

* cleanup

* cleanup

* clean up type- why isn't this being linted?

* Add more aliases (#3217)

* launcher changes to use Browser throughout, also clarifying FoundBrowser/Browser distinction

* wip

* wip

* update tests to expect objects

* removing errant debugger calls

* Fixing tests

* desktop-gui: use displayName for display

* ' -> "

* launcher: add definitions for google chrome beta and unstable

* server: fallthrough to using chrome helper

* server: changes for run mode to pick correct version

* desktop-gui: add displayName to fixtures

* server: isolating bug with runmode

* browser was a string all along

* server: re-promisify browser detection

* launcher: remove chrome-beta for now, needs some more tweaking for that to work 100 percent

* launcher: cleaning up types

* launcher: fix type comflict when filtering browsers (#3258)

* launcher: cast Windows foundbrowsers

* launcher: mapSeries -> map

* launcher: clean up launcher, change 1 call in server to match

* launcher: test that browsers contains what we like it to

* whoops

* server: accept path in runmode

* launcher: changes for detectByPath [wip]

* server: update tests to use new errors

* launcher: error message cleanup

* launcher: detectByPath working with CLI client

* launcher: detectByPath tests

* launcher: cli client for detectByPath

* server: update error msg snapshot

* cli: allow passing --browser to open mode

* server: using --browser=/path/ works in run and open mode!!

* launcher: change displayName of custom browsers

* server: find browser with highest version property by default

* launcher: update tests, clean up types

* server: fix tests

* server: fix tests

* cli: update help snapshots

* launcher: tests

* server: wip

* server, launcher: clean up errors

* server: add unit tests for events

* server: change e2e helper to support custom browser strings in stdout

* server: e2e tests for browser by path

* server: if this break that

* server: clean up and fix? tests

* decoffeeate, entypescriptify

* server: fix test

* cli: fix whitespace

* cli: remove external browser notice

* server: detect a browser to use for the e2e launch-by-path test

* server: make stackTraceLinesRe not match all sentences with 'at' in them

* server, launcher: update 'not found at path' error msg

* server: clean up browser switch

* server: customBrowserPath

* server: update snapshots that were affected by the old stackLineRe

* server: update stubs

* server: update BROWSER_NOT_FOUND_BY_PATH to use error objects

* server: backticks in snapshots break snapshots

* server: forgetting to save without formatting will be my downfall

* server: remove comment

* desktop-gui: make custom browsers chosen

* desktop-gui, launcher: update tests
2019-02-16 15:12:17 -05:00
renovate[bot] 4012dfca66 fix(deps): update yauzl to 2.10.0 🌟 (#3481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-15 16:23:32 +06:30
renovate[bot] f1dea82141 chore(deps): update dependency nyc to version 13.3.0 🌟 (#3474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-15 12:51:06 +06:30
renovate[bot] b1b69bd20f fix(deps): update @types/chai-jquery to 1.1.38 🌟 (#3342)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-15 12:49:46 +06:30
renovate[bot] 5c2c60d1ed fix(deps): update dependency tmp to version 0.0.33 🌟 (#3466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-15 12:49:26 +06:30
renovate[bot] 00d2a24c8d fix(deps): update supports-color to 5.5.0 🌟 (#3464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-02-14 15:29:29 +06:30
renovate[bot] 3b716030ff chore(deps): update @types/lodash to 4.14.121 🌟 (#3458)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-14 10:09:42 +06:30
Gleb Bahmutov 5e86622b63 add sinon stub types to window alert and confirm (#3452) 2019-02-13 13:09:24 -05:00
renovate[bot] 400bf88f9e fix(deps): update request-progress to 0.4.0 🌟 (#3445) 2019-02-13 14:45:38 +06:30
renovate[bot] 6257180051 fix(deps): update request to 2.88.0 🌟 (#3444) 2019-02-13 11:10:23 +06:30
renovate[bot] fe91e91e11 fix(deps): update moment to 2.24.0 🌟 (#3433) 2019-02-12 12:05:20 +06:30
renovate[bot] 4433b2deb5 fix(deps): update glob to 7.1.3 🌟 (#3412) 2019-02-11 18:22:34 +06:30
renovate[bot] 4776244b9f fix(deps): update extract-zip to 1.6.7 🌟 (#3410) 2019-02-11 17:30:27 +06:30
renovate[bot] 5582d7d280 fix(deps): update is-ci to 1.2.1 🌟 (#3414) 2019-02-11 17:24:20 +06:30
renovate[bot] adf8c4e1ae fix(deps): update dependency @types/lodash to version 4.14.120 🌟 (#3344)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-07 22:22:58 +06:30
renovate[bot] ca821d7776 fix(deps): update dependency commander to version 2.19.0 🌟 (#3366)
* fix(deps): update commander to 2.19.0 🌟

* Update cli snapshots to match stdout output of 'help' with less whitespace / better structured whitespace


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2019-02-07 22:11:14 +06:30
renovate[bot] 939e830722 fix(deps): update dependency chalk to version 2.4.2 🌟 (#3362)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-07 16:38:45 +06:30
renovate[bot] 5af5628d8a fix(deps): update dependency common-tags to version 1.8.0 🌟 (#3368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-07 16:32:07 +06:30
renovate[bot] 438e386db7 chore(deps): update dependency mock-fs to version 4.8.0 🌟 (#3297) 2019-02-05 15:13:41 +06:30
renovate[bot] 044325a191 fix(deps): update dependency @cypress/xvfb to version 1.2.4 🌟 (#3328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-05 15:04:12 +06:30
renovate[bot] 4e8c600b8f chore(deps): update dependency nyc to version 13.2.0 🌟 (#3325)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-05 13:19:27 +06:30
renovate[bot] aa214a7578 chore(deps): update nyc to 13.1.0 🌟 (#3299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-02-04 17:52:39 +06:30
renovate[bot] ff5c88ada1 chore(deps): pin dependency @cypress/env-or-json-file to version 2.0.0 🌟 (#3012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-01-31 16:25:16 +06:30
Ben Kucera ef8b240bc0 improve cache help messages snapshot more (#2625)
* snapshot more, remove execa in tests for speed

* sub-command -> command, add snapshot

* restate execa
2019-01-25 00:34:58 -05:00
Chris Breiding cb06741675 remove obselete @cypress/releaser deps (#3197) 2019-01-23 10:37:51 -05:00
Gleb Bahmutov a92d0579a1 Fix jsdoc examples and expand comments in TypeScript definition file (#3163)
* update a few comments

* update more jsdocs

* update actions examples

* update a few more docs

* more jsdoc

* disable linting jsdoc comments in index.d.ts file
2019-01-23 01:50:34 -05:00
Nicholas Boll 2e2c5af441 fix: Type definitions for .then (#3105)
Fixes #3075
2019-01-09 13:43:19 -05:00
renovate[bot] a7b88512de chore(deps): update execa-wrap to 1.4.0 🌟 (#3044) 2019-01-03 09:43:58 -05:00
Gleb Bahmutov 71429e620e Fix TypeScript Omit definition (#3031)
* test built binary and NPM against kitchensink

* try building cypress/browsers:chrome67

* implement Omit using Exclude

* bump down to chrome64

* remove this branch from building binary
2019-01-02 15:09:18 -05:00
renovate[bot] bc0daf838b chore(deps): update dtslint to 0.4.2 🌟 (#3041) 2019-01-02 14:37:03 -05:00
Thomas Rich 852176f468 https://github.com/cypress-io/cypress/issues/2975 (#2976)
Connects https://github.com/cypress-io/cypress/issues/2975
2018-12-26 23:19:13 +06:30
Gleb Bahmutov ee659b3d2b fix: set object for qs property in cy.request types, close #2305 (#2306)
* fix: set object for qs property in cy.request types, close #2305

* server whitelist callback takes request, returns boolean
2018-12-25 23:02:49 -08:00
Ben Kucera 0ffa701bdb update cypress install message (#2755)
fix #2754
2018-12-25 23:00:17 -08:00
Lukas Werfel c852fa9255 Update lodash to 4.17.11 (#2984)
closes #2929
2018-12-25 22:57:41 -08:00
Gleb Bahmutov d3193d5ec0 Revert "Revert "fix: upgrade sinon types to min TS 2.8 (#2966)"" (#2974)
* Revert "Revert "fix: upgrade sinon types to min TS 2.8 (#2966)""

This reverts commit cc3de8ff78.

* enable dtslint in cli again
2018-12-20 13:10:21 -05:00
Brian Mann cc3de8ff78 Revert "fix: upgrade sinon types to min TS 2.8 (#2966)"
This reverts commit 203622080e.
2018-12-19 23:51:54 -05:00
Brian Mann 748fa8c533 disable dtslint again 2018-12-19 20:43:27 -05:00
Gleb Bahmutov 203622080e fix: upgrade sinon types to min TS 2.8 (#2966) 2018-12-19 18:33:38 -05:00
Brian Mann 96de675910 convert driver utils from CS to JS (#2950)
fixes #2949
2018-12-17 07:37:49 -05:00
Jeremy Tymes c0ce2c460b Allow separate request and response timeout overrides in cy.wait (#2829)
* Allow overriding the request and response timeouts for XHR.

* Add interface to the XHR wait overloads to take in the request and response timeouts.
2018-12-02 22:49:48 -05:00
Paul Sachs ca1139a092 Update types to support promises in wrap (#2807) 2018-12-02 21:04:42 -05:00
Ben Kucera d57ca55749 fix windowsHide prop (#2853)
* Revert "Issue 21316 windows node11 (#2699) (fixes #2667)"

This reverts commit 54ce93b985.

* add windowsHide prop

* fix test name
2018-12-02 21:03:52 -05:00
Pete Johanson 7640eeb8b6 Add strong typed definition for Cypress.moment(). (#2746) 2018-11-15 09:50:11 -05:00
Zoltan Erdos 54ce93b985 Issue 21316 windows node11 (#2699) (fixes #2667)
* release 1.0.3 [skip ci]

* release 2.0.0 [skip ci]

* Add a comment to Issue Template directing questions to be asked in chat. [skip ci]

* release 3.1.0 [skip ci]

* add fix for windows + node11

* add getNode11WindowsFix to the utils

* formatting

* do not convert to the windowsHide to string

* add unit tests

* add unit tests

* add unit tests

* Revert "formatting"

This reverts commit 9ecd31ba8e.

* don't ask to commit package.json version

* release 3.1.1 [skip ci]

* move isPlatform into cli/util

* fix version comparison

* revert accidental merge from master
2018-11-13 12:57:40 -05:00
Luke Watts a22907a505 fix: bump progress to 2.0.1 (#2733)
* fix: bump progress to 2.0.1

* remove progress entirely
2018-11-08 14:54:32 -05:00
Brian Mann b318eafdfc fix linting and typescript errors in launcher 2018-11-01 15:56:43 -04:00
Brian Mann 2333d04a54 secure cookie error crash (#2685)
- fixes #1264 
- fixes #1321 
- fixes #1799  
- fixes #2689
- fixes #2688
- fixes #2687 	
- fixes #2686
2018-11-01 12:34:37 -04:00
Mathias Geat b6519258d2 Introduce CYPRESS_DOWNLOAD_BASE_URL to specify a base download url (#2609)
* Introduce CYPRESS_DOWNLOAD_BASE_URL to specify a base download url instead of download.cypress.io

* rename to CYPRESS_DOWNLOAD_MIRROR

* update spec_helper
2018-11-01 10:33:48 -04:00
Gleb Bahmutov 30556480c7 add missing screenshot options type and a few type tests (#2655) 2018-10-25 12:37:56 +02:00