Commit Graph

648 Commits

Author SHA1 Message Date
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
Chris Breiding 59c2c03895 feat: Remove experimentalRunEvents flag (#15276) 2021-03-02 10:07:02 -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
Kyℓe Hensel 311cd4b401 chore: update ramda to 0.27.1 (#14958) 2021-02-18 08:23: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
Gleb Bahmutov ff095df144 fix: include event emitter types from cypress types (#14992) 2021-02-10 11:29:51 -05:00
ElevateBart c5e784de8e fix: add exit management on run-ct cli comand 2021-02-09 17:16:25 -06:00
Zach Bloomquist 09afc48e14 fix(cli): use per-pid filename for downloaded cypress zip (#14952) 2021-02-09 15:02:37 +00:00
Lachlan Miller 2d182902ca chore: update files based on TR review 2021-02-08 16:49:52 +10:00
Barthélémy Ledoux 9668694bc6 chore: make run-ct consistent with open-ct (#14902)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-02-04 20:54:44 -05:00
Brian Mann af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00
Jennifer Shehane d1d15e6cfe chore: Replace usage of moment in cli / server code (#9069) 2021-01-26 13:49:21 +06:30
Kukhyeon Heo 012d58c228 fix: Added types for runtime config. (#14584)
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2021-01-20 15:08:16 +06:30
Zach Panzarino f4b01394a8 feat: Cypress Studio - record test steps through interacting with your site (#9542)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-01-19 10:23:26 -05:00
Dmitriy Kovalenko 3326e8a1d6 feat(component-testing): Cli changes (#14483) 2021-01-11 13:16:49 -05:00
Chris Breiding df813be133 feat: Add downloadsFolder config option (#14465) 2021-01-11 11:57:25 -05:00
Zach Panzarino 3eb3bfa487 build: properly use local npm packages for development and binary build (#14182) 2021-01-05 00:34:13 -05:00
Kukhyeon Heo 8782c23da6 fix: Added missing calledOnceWith & calledOnceWithExactly sinon matchers. (#14371) 2021-01-04 12:39:39 +06:30
Chris Breiding 9a25fd02c2 feat: Add after:run event (#14263) 2020-12-21 13:40:55 -05:00
Chris Breiding d6c0bcfc04 feat: Add before:run event (#14238) 2020-12-21 13:06:45 -05:00
Chris Breiding c9916c8bbd feat: Add after:spec event (#14178) 2020-12-18 09:45:15 -05:00
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