Commit Graph

274 Commits

Author SHA1 Message Date
Emily Rohrbough
e16e5b9906 Merge branch 'develop' into 9.0-release 2021-10-28 09:32:27 -05:00
Jennifer Shehane
f6aea2db2b Merge branch 'develop' into 9.0-release 2021-10-25 17:55:31 -05:00
BlueWinds
96aaac37f1 Merge remote-tracking branch 'origin/develop' into issue-1558-null-encoding-for-binary-files 2021-10-25 12:18:38 -07:00
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
BlueWinds
798755813f Add 'null' encoding for fixtures, comment code more 2021-10-19 11:59:08 -07:00
Zach Bloomquist
8dc75d1fd8 Merge branch 'develop' into 9.0-release 2021-10-15 16:46:29 +00:00
BlueWinds
ec7ee74686 Revert "Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold"
This reverts commit f919bfbb85, reversing
changes made to 0f201fec6d.
2021-10-15 08:50:04 -07:00
Blue F
f919bfbb85 Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold
feat: Add 'slowTestThreshold' and fix `this.slow()` inside specs
2021-10-14 10:21:26 -07: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
BlueWinds
c504a11439 Update default slowTestThreshold to vary for testingTypes, add system test 2021-10-13 12:13:18 -07:00
BlueWinds
53c2328da8 Rework how slowTestThreshold / _slow are passed around 2021-10-12 13:18:19 -07:00
BlueWinds
aacfc28639 Review feedback, standardizing all docs about slowTestThreshold to use same verbage 2021-10-07 09:20:54 -07:00
Zach Bloomquist
0f201fec6d Merge branch 'develop' into 9.0-release 2021-10-06 21:55:30 +00:00
BlueWinds
203072fae7 Rename slow to slowTestThreshold; Remove --slow command line option; Change to 10000ms default 2021-10-06 10:35:19 -07:00
BlueWinds
1ff421fc71 Add 'slow' option to configure slow test threshold 2021-10-05 14:51:10 -07: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
Jennifer Shehane
61e0444a22 Merge branch develop into 9.0-release 2021-09-23 14:01:52 -05: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
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
Remco Haszing
bfa8347fa1 feat: infer argument types in command implementations (#17496)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
2021-08-10 09:08:17 -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
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
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
Zach Bloomquist
60e1201a43 Merge branch 'develop' into 8.0-release 2021-07-12 10:27:22 -04: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
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
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