renovate[bot]
9be61657f4
fix(deps): update dependency debug to version 4.3.1 🌟 ( #14583 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-01-19 12:21:05 +06:30
Ben Kucera
759565f31d
fix: no tests found when onlySuite and uncaught error outside test ( #14456 )
2021-01-13 15:20:08 +06:30
Barthélémy Ledoux
dd559d9862
feat(component-testing): changes to the driver and reporter preparing for runner-ct ( #14434 )
...
* chore: update driver with component testing
* feat: bring ct changes in reporter
* test: update script utils test
* fix: type issue
* test: add test for new ct behavior in driver
runScript can now use promises instead of files.
Thi test this new behavior
* tests(ct): tests for the reporter runable store
* fix: remove changes on event handling in driver
* build: augment zip size to avoid zip errors
* test: add renderin tests for reporter multispec
* test: better matcher for runnableHistory
Co-authored-by: Jessica Sachs <jess@jessicasachs.io >
* test: make the runscripts eval tests clearer
* refactor(reporter): main interface instead of type
* fix(reporter): runInAction when specRunId changes
* refactor(driver): remove restartRunner function
Co-authored-by: Jessica Sachs <jess@jessicasachs.io >
2021-01-07 19:30:52 -05:00
Luke Page
bc7a7d78d7
fix: use inner element even if waitForAnimations is false ( #14373 )
...
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com >
2021-01-06 10:41:42 -05:00
Kukhyeon Heo
855d273302
fix: Don't generate superfluous screenshots when afterEach() failed. ( #9558 )
...
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com >
2021-01-06 09:48:03 -05:00
Kukhyeon Heo
7968c64fdd
fix: should(have.value) regression ( #14398 )
2021-01-06 12:15:06 +06:30
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
Kukhyeon Heo
6bc3527231
fix: Cypress.dom.isJquery() returns only boolean results ( #14325 )
2020-12-29 09:34:09 +06:30
Gleb Bahmutov
590dfa486c
fix: ignore within subject when screenshotting the entire runner ( #14264 )
2020-12-28 10:58:48 -05:00
Kukhyeon Heo
0fb46fd8c7
fix: cy.contains() works with regexes that use single quotes. ( #14311 )
2020-12-28 10:24:21 +06:30
Zach Bloomquist
4669b8e22a
fix(net-stubbing): match cy.intercept(url) globs against url+path ( #14241 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-12-21 12:27:29 -05:00
Zach Bloomquist
7d4e38e4c5
feat(net-stubbing): automatically send CORS preflight responses ( #9631 )
...
Co-authored-by: Gleb Bahmutov <bahmutov@yahoo.com >
2020-12-17 16:18:53 -05:00
Kukhyeon Heo
2caac1bfec
fix: Show stacks and code frames in specs named with spaces ( #9201 )
...
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com >
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com >
2020-12-17 11:16:05 -05:00
Kukhyeon Heo
0f6d7bda79
fix: cy.log() inside cy.then() doesn't break subject value in command chain. ( #9372 )
...
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com >
2020-12-17 10:16:21 -05:00
Gleb Bahmutov
76a33bb1a1
fix: wait on alias from custom cy.route command overwrite ( #14202 )
2020-12-16 12:37:16 -05:00
Kukhyeon Heo
cfaf1ad82c
feat: Add timeout period to retry error message ( #9123 )
2020-12-16 13:26:16 +06:30
Gleb Bahmutov
49db3a685d
fix: find waiting for cy.intercept when it has been overwritten by the user ( #9596 )
2020-12-11 11:26:25 -05:00
Gleb Bahmutov
6c3c0eea09
fix: set the test context when overwriting .then command ( #9589 )
2020-12-11 10:43:39 -05:00
Zach Bloomquist
2a66d2cbd0
feat(net-stubbing): allow waiting on network errors/forceNetworkError ( #9603 )
2020-12-10 12:28:24 -05:00
Zach Bloomquist
4eb2ce5689
fix(net-stubbing): fix cy.get(alias) with cy.intercept() ( #9594 )
2020-12-09 15:46:05 -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
Kukhyeon Heo
7289a45c12
fix: tests don't hang when there's an error in before() block. ( #9527 )
2020-12-07 12:40:19 +06:30
Gleb Bahmutov
14ae3c7c00
fix: copy other moment properties when wrapping with deprecated warning ( #9446 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-12-04 13:57:28 +06:30
Zach Bloomquist
c42667e707
fix(net-stubbing): do not fireChangeEvent for non-existing routes ( #9425 )
2020-12-03 11:16:33 -05:00
Zach Bloomquist
810a9b4162
fix(net-stubbing): fix waiting on responses with no-body status codes ( #9097 )
2020-12-02 14:06:46 -05:00
Kukhyeon Heo
cf6f1472a1
fix: Fix Cypress.dom.isVisible() regression caused by "position: fixed" ( #9412 )
...
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com >
2020-12-02 16:22:04 +06:30
Kukhyeon Heo
effda4f349
fix: Don't remove the "/" at the end when user passed it. ( #9373 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-12-02 16:19:07 +06:30
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
Zach Bloomquist
b696a6cb1f
chore(tests): remediate remaining route2 flake ( #9117 )
2020-11-30 14:30:30 -05:00
Kukhyeon Heo
dbfde6b63a
fix: lower-cased HTTP methods can be used with cy.intercept. ( #9324 )
...
Co-authored-by: Zach Bloomquist <github@chary.us >
2020-11-30 11:15:04 -05:00
Marco Santarelli
7271384266
fix: "RangeError: Index out of range | The value of "offset" is out of range" ( #9281 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-11-30 22:35:04 +06:30
Zach Bloomquist
f43f1c1f26
fix(net-stubbing): fix empty array stubs getting merged with real response ( #9289 )
2020-11-23 15:59:48 -05:00
Jeremy Dorne
2d5b74fb8c
fix(route2): Fix content-length for route2 intercepts ( #9224 )
2020-11-23 14:06:04 -05:00
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
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
Zach Bloomquist
6ee7a9c27e
feat(net-stubbing): automatically parse JSON req/res bodies ( #9280 )
2020-11-23 11:42:11 -05:00
Ben Kucera
8fb3ad9767
fix: prevent cy.type from losing focus from element on blur ( #9254 )
2020-11-20 12:13:46 -05:00
Ben Kucera
9f3528d1d9
fix: negated assertions passing w/o existence check ( #9239 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-11-20 14:42:21 +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
Kukhyeon Heo
c38527359d
feat: Allow type() and click() to select an element inside contenteditable. ( #9066 )
...
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com >
2020-11-17 01:32:14 -05:00
Jennifer Shehane
e2a5de0104
Merge branch 'develop' into v6.0-release
2020-11-14 14:23:50 +06:30
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
Kukhyeon Heo
849f3821d8
feat: Support shortcut syntax in cy.type() ( #8499 )
...
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com >
2020-11-09 12:44:43 -05:00
Mo
dae76a8ec0
fix: XHR stub error if response json has number/boolean ( #9107 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2020-11-09 13:14:07 +06:30
Jennifer Shehane
5ed66690db
Merge branch 'develop' into v6.0-release
2020-11-06 11:55:06 +06:30
Gleb Bahmutov
1c2a17560b
fix: do not assume valid file info in error stack line ( #9081 )
2020-11-05 14:57:51 -05:00
Mateusz Burzyński
f498b0add1
fix(route2): fixed the issue with not being able to await a request body when providing static response stub ( #9059 )
2020-11-04 10:53:30 -05:00
Jennifer Shehane
8d6b7e4b01
Merge branch 'develop' into v6.0-release
2020-11-03 22:05:54 +06:30