Commit Graph

730 Commits

Author SHA1 Message Date
Blue F
776b7301fd feat: Add 'slowTestThreshold' and fix this.slow() inside specs (#18496)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-25 14:49:32 -04:00
Kukhyeon Heo
af472b6419 fix: revive type checker (#18172)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-13 23:51:38 +00:00
0xflotus
e9188669da fix: fixed title (#18370) 2021-10-07 09:31:16 -05:00
Barthélémy Ledoux
7cca9b713a feat: add defineConfig function to help type config (#18302)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-05 10:44:50 -05:00
David Munechika
0e7d882a53 feat(driver): Add "overwrite" option to cy.screenshot() (#18280)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-30 11:26:59 -04:00
David Munechika
a5356b8f11 feat(driver): add select by index (#18201)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-09-24 16:13:22 -04:00
Arne Westphal
8249d2ee0c fix(cli): Respect NO_PROXY on cypress download (#17702)
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-09-20 18:25:54 +00:00
Lachlan Miller
ec4748ca2d return all specs from findSpecs, improve types 2021-09-16 16:32:34 +10:00
Lachlan Miller
5955544fc0 chore(server): share common routes (#18055) 2021-09-13 09:09:56 -04:00
Barthélémy Ledoux
2c298fcc58 Merge branch 'develop' into da4b1e06ce-master-into-develop 2021-09-09 16:19:10 -05:00
Barthélémy Ledoux
da4b1e06ce feat: allow usage of @react/plugins with cypress.config.js (#17738) 2021-09-09 16:17:14 -05:00
Cesar
790e7b2bdb fix: add missing clientCertificate type to ResolvedConfigOptions (#18028)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-09 14:01:49 -04:00
Kukhyeon Heo
94c028db81 feat: add decode option to cy.url (#17930) 2021-08-31 11:37:49 -04:00
kotmatpockuh
2a80c137d9 fix(types): Update title method options type (#17781)
Add Timeoutable option to `title` method
2021-08-23 10:36:06 -04:00
renovate[bot]
757a088828 fix(deps): update dependency @cypress/request to v2.88.6 🌟 (#17813)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 08:21:48 -05:00
Jordan McDonough
6a0d9e43d7 fix: Add Timeoutable to cy.document function typing (#17706)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-08-17 16:40:56 -04:00
Ben Kucera
6f32561d6f feat: add session support (#14350) 2021-08-04 10:23:45 -04:00
Zach Bloomquist
2454c19afb feat: proxy logging (#16730)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-08-02 21:10:19 +00:00
Ben Kucera
70e9c0f9cb feat: add Cypress.currentTest (#16652)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-08-02 15:05:23 -05:00
Zach Bloomquist
209efa433d fix: use process.geteuid and catch uid errors in file util (#17488)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-07-30 16:05:17 +00:00
Zach Bloomquist
a5305de5e4 fix(types): update cy.shadow docs url (#17506) 2021-07-29 09:12:13 -05:00
Lachlan Miller
257ff95dcb chore: change ct -> component, projectType -> testingType everywhere for consistency (#17461)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-07-26 11:11:56 -05:00
Jennifer Shehane
f33c589346 Update npm README to remove notice about Node version 10. (#17431) 2021-07-23 08:39:23 -05:00
Michael Luo
74ada1157c fix: add yarn v2 pnp support to default webpack processor (#17335) 2021-07-21 20:06:28 +00:00
Ben Kucera
8a4848837a fix(breaking_change): default to headless and 1280x720 for cypress run in all browsers (#17309)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-07-19 11:18:52 -05:00
Zach Bloomquist
deee831eb1 feat: error/warn on unsupported browser versions (#17355) 2021-07-19 13:28:17 +00:00
Jennifer Shehane
263c7fc395 Merge branch 'develop' into 8.0-release 2021-07-15 14:47:53 -05:00
Lachlan Miller
b945b8197e chore(server): reduce coupling between methods to instantiate a project (#17200)
* wip

* wip: use async/await

* slowly refactor

* slowly refactor

* use typescript

* use async/await

* update spec

* do not use tap because bluebird sucks

* refactor

* update

* remove bluebird

* update

* remove then

* change to async/await to make it easier to reason about

* remove more bluebird

* no more bluebird

* remov ts ignore

* do not tap

* refactor

* simplify cfg

* move static methods to separate file

* update snapshot

* comment out test

* simplifying options merging

* update tests

* change order of options

* move code out of project-base

* update tests

* update tests

* type reporter

* simplify onWatchSettings function

* sep starting websockets and watching settings. reduce need to pass large cfg object

* move util functions out of project class

* move tests to new file

* update test

* move code around

* update tests

* remove need to pass options to getConfig

* fix tests

* separate get and init config

* set browser warnings in initializeConfig

* move Ct specific concerns to same function

* do not pass config to initializeSpecStore

* remove onOpen function

* improve types

* update typing errors

* update types

* types

* fix types

* update tests

* update tests

* fix tests

* update tests

* comment back in test

* update methods

* update types

* add defensive code against config.clientRoute

* do not use async

* update tests

* use same baseUrl for proxy regardless

* remove comment

* revert change to baseUrl
2021-07-13 11:32:59 +10:00
Barthélémy Ledoux
16a4d912d3 fix: make Cypress.ConfigOptions follow json Schema (#17251) 2021-07-12 22:59:04 +00:00
GCHQDeveloper911
297599071c feat: Changes for PKI support - #2694 (#15179)
Co-authored-by: GCHQDeveloper911 <GCHQDeveloper911@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-07-12 21:09:55 +00:00
Zach Bloomquist
60e1201a43 Merge branch 'develop' into 8.0-release 2021-07-12 10:27:22 -04:00
mrmeku
cf689dd609 feat: Support running cypress as node process (#16505) (#16537)
Co-authored-by: Ben Alman <cowboy@rj3.net>
2021-07-09 09:38:28 -05:00
Jennifer Shehane
63236d307a fix: Update error to not indicate this 'usually' is due to deps (#17112) 2021-07-06 10:15:21 -05:00
Jennifer Shehane
7f1644668d fix(types): Add includeShadowDom as valid option for .contains() (#17080)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-06-24 10:13:29 -05:00
Jennifer Shehane
4c864e3c8e fix: better handle unconventional browser version (#16990) 2021-06-23 08:40:55 -05:00
Zach Panzarino
da3e49bf59 feat: updated scaffolding, new project & user banners, ability to remove scaffolding (#15826)
* update example build scripts

* remove old scaffolding relics

* update

* Fix some issues with scaffolding

* Correctly fix issues with scaffolding

* Replace old onboarding with new banner

* Add ability to remove scaffolded files

* Add banner for new users

* Update tests for new scaffolding

* Compare file sizes before removing

* Add tests for remove file

* Save when user opened cypress rather than boolean

* Update intro link and add tets for banners

* fix small issue

* Update design and copy of onboarding banners

* Update style of new spec file button

* Improve outline button active statE

* Update design of new project a bit more

* Fix specs list tests

* Update banner copy and layout

* Update banner copy and layout

* Switch to docs style alerts

* Fix testing logic

* Update banner styles a bit

* Update banners

* Add confirmation modal for delete specs

* Update tests and fix states

* Upgrade kitchensink dep

* Upgrade kitchen sink version and fix unit tests

* Update integration scaffolding test

* Add further description to warning modal

* Update test for new user and new project case

* Remove check to file tree when removing files

* Update kitchensink version

* Fix edge case where banner could appear when no files have been scaffolded

* Fix tests

* Update styling for 'note' when deleting files

* fix issue with path on windows

* Change remove command

* Fix rm dir

* Fix for windows

* Try to use appveyor to test

* appveyor please

* getting some feedback

* Why doesn't this work

* more info

* I have a feeling this works

* maybe its the other path

* please

* this is the one

* this is it

* this should work

* try reverting that change that might not be needed

* remove appveyor testing scaffolding

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-06-22 10:59:47 -05:00
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
ac4f790d3e fix(types): when user returns any type, then doesn't wrap it with JQuery. (#16756) 2021-06-07 16:01:58 -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