Commit Graph

625 Commits

Author SHA1 Message Date
Chris Breiding
f47d5c0574 feat: Add before:spec event (#9646)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-12-16 16:25:14 -05:00
Kukhyeon Heo
4ef189e329 chore: Add EventEmitter type to FileObject (#9276)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2020-12-16 15:46:21 -05:00
Jennifer Shehane
3d1565e3d5 fix(types): add scrollBehavior type to allowed TestConfig options (#14166) 2020-12-14 10:37:53 -05:00
Jennifer Shehane
c616af48ee chore: update wording of Cypress.moment deprecation to say 'removed' instead of 'replaced' (#9552) 2020-12-07 12:07:01 -05:00
Jennifer Shehane
6fa222eba8 chore: deprecate Cypress.moment() (#9398)
* Warn when using Cypress.moment() that its deprecated + deprecated types

* Remove trailing whitespace in types
2020-12-02 13:16:08 +06:30
Luke Page
0b07e8f789 feat: add scrollBehavior option (#8837)
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-11-30 16:04:18 -05:00
Jennifer Shehane
197f3097f7 fix: Remove deprecated flag from types for cy.screenshot() (#9323) 2020-11-25 23:33:01 +06:30
Zach Bloomquist
6c0154ce8e feat(net-stubbing): rename cy.http to cy.intercept (#9283)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-23 13:52:28 -05:00
Jennifer Shehane
679d85e512 chore: Add deprecated warnings to cy.route() and cy.server() in types (#9241)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-11-23 12:30:06 -05:00
Zach Bloomquist
0d5b932f41 feat(types): have cy.wait(alias) yield new Request type (#9266)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-23 12:21:12 -05:00
Kukhyeon Heo
8b78af399a chore: Fix Response type. (#9275) 2020-11-23 09:27:07 -05:00
Gleb Bahmutov
6a42af33d9 feat(cli): add --component to the version command (#9248) 2020-11-23 08:13:23 -05:00
Jennifer Shehane
bb0d98d3c6 Merge branch 'develop' into v6.0-release 2020-11-17 22:38:39 +06:30
Zach Bloomquist
3fec100397 feat: deprecate cy.route(), remove experimentalNetworkStubbing flag (#9185)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-17 10:56:19 -05:00
Gleb Bahmutov
84d1afd27d feat: print bundled Node and Electron versions in cypress version (#9183) 2020-11-16 13:17:24 -05:00
Zach Bloomquist
3d0d1d89de feat(net-stubbing): rename cy.route2 to cy.http (#9182)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-11-14 14:22:21 +06:30
Jennifer Shehane
5ed66690db Merge branch 'develop' into v6.0-release 2020-11-06 11:55:06 +06:30
David Mejorado
a52b7736d5 fix: Add timeout option to the invoke and its types (#8453)
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-11-03 14:44:19 -05:00
Jennifer Shehane
58252a24fd Merge branch 'develop' into v6.0-release 2020-11-03 15:30:24 +06:30
Zach Bloomquist
54639f8a6d fix: improve route2 logs (#9051) 2020-11-02 11:26:57 -05:00
Jennifer Shehane
bae9d7da73 Merge branch 'develop' into v6.0-release 2020-10-30 13:02:17 +06:30
Jennifer Shehane
61088bac2a fix: Show better error message during cypress cache list when no cache (#9023)
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-10-30 11:43:33 +06:30
renovate[bot]
da8952c563 fix(deps): update dependency commander to version .x 🌟 (#8979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-29 17:43:09 +06:30
Kevin Wittmer
e57c13562d feat: Update types for Cypress.Chainable.task to allow for parameterizing the task return type (#8753)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-10-28 11:56:53 -04:00
Jennifer Shehane
b471a0cb87 Merge branch 'develop' into v6.0-release 2020-10-28 17:54:42 +06:30
Jennifer Shehane
3a8d9e62d4 chore: Remove code around deprecated APIs (#8951) 2020-10-27 00:45:19 +06:30
Ben Kucera
1f75c81964 fix: use modern cli compile target, remove unneeded polyfills (#8938)
Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-10-26 10:39:49 -04:00
Jennifer Shehane
735d2286fd Merge branch 'develop' into v6.0-release 2020-10-26 16:56:28 +06:30
renovate[bot]
eb3fb4a947 fix(deps): update dependency supports-color to version ^7.2.0 🌟 (#8967)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 15:38:26 +06:30
renovate[bot]
dd34751fd5 fix(deps): update dependency pretty-bytes to version ^5.4.1 🌟 (#8964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-26 14:30:09 +06:30
Sagar Rajput
5c01832883 feat(driver): add macbook-16 viewport (#8892)
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-21 16:37:11 +06:30
Gleb Bahmutov
3ce20beee4 fix: set status property on the module API resolved object (#8799) 2020-10-19 15:20:52 +06:30
Ben Kucera
7d658ad029 fix(types): fix typedefs for retries config (#8869)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-19 15:15:01 +06:30
Ryota Murakami
66d1a5210c feat(driver): add some iphone viewport (#8624)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-10-13 13:30:35 +06:30
Greg Lahaye
b56c8c8688 feat: add cache prune command (#8766)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-10-09 15:14:19 -04:00
Kukhyeon Heo
aa4772c4cf feat: Print folder sizes with cypress cache list command. (#8590) 2020-10-05 11:31:59 -04:00
Chris Breiding
d28676c43e feat: Add codeFrame to record data attempt errors (#8595) 2020-10-01 09:48:49 -04:00
renovate[bot]
f1d4026b03 feat(deps): update dependency electron to version 10.1.3 🌟 (#8406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-09-29 13:54:38 -04:00
Zach Bloomquist
10b9a5b172 feat: take Firefox support out of beta (#8586) 2020-09-25 13:47:04 -04:00
Shenwei Wang
e62dd8d5e5 fix(cli): support to unset an env variable with an empty value (#8596)
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-09-22 15:55:02 -04:00
Björn Weström
121aebdf5e fix: corrected coercion of config-file argument (#8636) 2020-09-22 15:37:40 -04:00
Kukhyeon Heo
2c8c15fa41 fix: Replaced deprecated Mocha interfaces. (#8613)
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-09-18 10:29:54 -04:00
Gleb Bahmutov
59ee265fa7 fix: discriminate cypress run types (#8604) 2020-09-18 10:07:45 -04:00
Jennifer Shehane
125a810bb4 fix: Improve error message when binary not executable (#8438) 2020-09-11 12:23:29 -04:00
Chris Breiding
d3c480f5ad chore: Deprecate experimentalShadowDomSupport flag and remove its usage (#8548) 2020-09-10 16:25:55 -04:00
Chris Breiding
9abed894eb feat: Add "global" shadow dom config option (#8479) 2020-09-10 14:31:01 -04:00
Kukhyeon Heo
6801aa7184 fix(typedefs): Cypress.Commands.add can return Promises. (#8501) 2020-09-09 10:49:34 -04:00
Zach Bloomquist
fe4e11ec6e feat(cli): install pre-release binaries by computing binary URL from NPM URL (#8483) 2020-09-08 17:44:37 -04:00
Kukhyeon Heo
15fdf12ae7 feat: can dispatch events with the type they want. (#8305)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2020-08-31 12:05:28 -04:00
Zach Bloomquist
2469473eb2 chore: rename experimental network stubbing (#8450) 2020-08-31 11:46:00 -04:00