Commit Graph

693 Commits

Author SHA1 Message Date
Dan Kirkham
ce5abe48c0 feat: Add keystrokeDelay (#15683)
* Add keystrokeDelay

* Config tests

* Add proper comments

* Add some tests for configuring timeout

* Add tests for false values

* Few additional tests

* Rename test

* feat: add Cypress.Keyboard.defaults() for specifying default keystrokeDelay

* use test-configuration on link

* remove obsolete error message

* fix types and add type tests

* fix types tests

* fix type test

Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
2021-06-16 14:33:06 -05:00
Jennifer Shehane
9c5ba8e7d6 fix(cli): Include enquirer as dependency (#16925) 2021-06-15 10:09:09 -05:00
Nikolai Røed Kristiansen
2938df6411 chore: Remove @cypress/listr-verbose-renderer (#16858)
Vendored in #16855
2021-06-09 08:36:50 -05:00
Nikolai Røed Kristiansen
39e1786211 chore: Vendor @cypress/listr-verbose-renderer (#16855) 2021-06-08 14:08:14 -05:00
Kukhyeon Heo
31bd0e937f fix(types): should() cannot be used with values. (#16744)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-06-02 14:42:23 -04:00
Kukhyeon Heo
49990480bd feat(types): can specify the ResponseBody type of cy.request (#16743) 2021-06-02 09:27:15 -05:00
Kukhyeon Heo
06be00fee4 fix(types): add testingType definition (#16745) 2021-06-01 10:16:24 -05:00
Braden Mars
315d845432 fix: Migrate from listr to listr2 (#16663) 2021-06-01 10:26:03 -04:00
Kukhyeon Heo
8e0e3c1b50 chore: update extract-zip to 2.0.1 (#16544) 2021-05-17 20:11:05 +00:00
Jennifer Shehane
a19009afee chore: Update package.json/readmes for npm packages to better find changelog (#16482) 2021-05-13 08:53:25 -05:00
Minijus L
6bc7e7da0f fix: use 'ca' and 'cafile' npm config options for binary download (#8877)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-05-10 22:14:54 +00:00
Adam Gastineau
b8527a2a7f feat(component-testing): Expose CT through CLI module API (#16368)
* Added testingType CLI module option

* Removed isComponentTesting custom arg and replaced with testingType

* Added default value to docstring

* Removed mutating of args

* Added Module API manual testing docs
2021-05-07 12:44:15 -04:00
Jonas Amundsen
d4e48858fb fix: cy.then shows wrong type when collection of HTMLElement's is provided (#15869) 2021-04-22 13:22:09 -05:00
Adam Gastineau
ee8b918ea8 feat(component-testing): breaking: Add React rerender functionality (#16038) 2021-04-20 08:35:24 -07:00
Benjamin Santalucia
3ed241d67b fix: return type of Cookies.default (#15550)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-04-14 14:49:45 +00:00
Zach Panzarino
98f48ab99c fix: add types for selector playground (#15834) 2021-04-13 16:05:44 -04:00
Chris Breiding
b53f04e4f7 feat: Fire run events in interactive mode (#15787) 2021-04-12 14:43:19 -04:00
Zach Bloomquist
51005b4ffa chore: add docsUrl to intercept, task errors (#15711) 2021-04-02 17:47:09 +00:00
Jessica Sachs
8d0829fb26 feat: adding electron support for cypress component testing (#15731) 2021-04-01 18:15:20 -04:00
Jessica Sachs
e657481ff2 Merge branch 'develop' into 7.0-release 2021-03-31 18:00:24 -04:00
Barthélémy Ledoux
651df1b2ad feat: make cypress schema for component & e2e keys (#15720) 2021-03-31 15:30:49 +00:00
Lachlan Miller
906b48bc69 make open-ct and run-ct public 2021-03-30 16:39:49 +10:00
Adam Gastineau
fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
Chris Breiding
a7f2272af9 Merge branch 'develop' into 7.0-release 2021-03-29 13:12:16 -04:00
Kukhyeon Heo
03c8da01fa fix: cy.then shows wrong type when raw HTMLElement is provided. (#15624)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-03-29 11:23:09 -04:00
Zach Bloomquist
491e6e2286 Merge branch 'develop' into 7.0-release 2021-03-26 16:15:31 +00:00
Dmitriy Kovalenko
b1f831a86a fix(@cypress/react): Devtools unpredictable resets (#15612)
* fix: Devtools unpredictable resets

* Remove cleaning up from webpack-dev-server

* Fix lint errors

* Get back observer

* fix: bring back cleanup (#15634)

* fix: wait for fw teardown to do html teardown

* fix: port responsibility of teardown to frameworks

* chore: add comments

* fix: typings

* fix: react unmount cannot be called in the right hook

* run dtslint

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-03-25 10:43:34 +10:00
Zach Bloomquist
16e1577848 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-24 16:27:56 -07:00
Kukhyeon Heo
a24d782384 fix: add the type definition for cy.writeFile with 4 arguments. (#15602)
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2021-03-22 15:43:36 -04:00
Lachlan Miller
43c8ae2a7c feat: support ct/e2e specific overrides in cypress.json (#15526)
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
2021-03-21 23:28:59 -04:00
Saturnino Abril
35be2aea2a feat: Add user's log option to cy.tick (#15586)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-03-20 15:05:29 -04:00
Kukhyeon Heo
6ce0c83b17 fix: Response.headers type. (#15419) 2021-03-16 21:11:21 +00:00
Chris Breiding
237c426707 fix: Revert cypress.json changes (#15499) 2021-03-15 18:01:06 -04:00
Lachlan Miller
a94c9d5ef0 feat: support ct/e2e specific overrides in cypress.json (#15444)
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-13 03:47:49 -05:00
renovate[bot]
b52ac98a69 feat(deps): update dependency electron to version 12.x 🌟 (#15292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-03-10 15:24:00 +00:00
Chris Breiding
4f63851029 Merge branch 'develop' into 7.0-release 2021-03-03 10:54:36 -05:00
Chris Breiding
59c2c03895 feat: Remove experimentalRunEvents flag (#15276) 2021-03-02 10:07:02 -05:00
Chris Breiding
77b922472c fix: Improve uncaught error handling (#14826)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-03-01 09:23:14 -05:00
Jennifer Shehane
a529ffe5e4 feat(breaking): Drop support for Node 10; Require Node 12+ (#15165)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-02-28 08:30:40 -05:00
Jennifer Shehane
da5ca7f21f Merge branch 'develop' into 7.0-release 2021-02-23 20:06:29 -05:00
Dmitriy Kovalenko
f237050fdb feat: Use lazy compilation for webpack-dev-server by default (#15158)
* Use lazy compilation for webpack-dev-server

* Do not lazy compile in run mode

* Cache babel on CI

* Fix config

* Fix ts error

* Update webpack-dev-server unit tests

Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-02-22 14:25:27 +02:00
Jennifer Shehane
80d8bcf141 Merge branch 'develop' into 7.0-release 2021-02-19 15:07:36 -05:00
Kyℓe Hensel
311cd4b401 chore: update ramda to 0.27.1 (#14958) 2021-02-18 08:23:20 -05:00
Kukhyeon Heo
098c3027dd feat: Throw an error when there's a redirection loop. (#14643) 2021-02-17 18:46:54 +00:00
Zach Bloomquist
032a9351da Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-02-17 13:44:20 -05:00
Barthélémy Ledoux
d940cbbaf6 Merge branch 'develop' into fix/evergreen-headless 2021-02-14 18:39:35 -06:00
Gleb Bahmutov
8e462060b2 fix: Add autoEnd option to Cypress.Log Typescript definitions (#15076) (#15087)
Co-authored-by: Emil Goldsmith Olesen <emilgoldsmith94@gmail.com>
2021-02-14 12:34:50 -05:00
ElevateBart
52e97bedd5 fix: setup all missing options for run-ct
Now that run-ct is using the run command of cypress,
it can benefit from a wider range of options.
The most important for me was `--headless` but the complete list is
longer:
- `--parallel`
- `--reporter`
- `--spec`
- `--no-exit`
... among others
2021-02-12 17:15:39 -06:00
Chris Breiding
e5b1bbb6d4 Merge branch 'develop' into 7.0-release 2021-02-12 09:43:05 -05:00
Gleb Bahmutov
ff095df144 fix: include event emitter types from cypress types (#14992) 2021-02-10 11:29:51 -05:00