Commit Graph

13 Commits

Author SHA1 Message Date
Chris Breiding
41512c416a feat: Bundle cy.origin() dependencies at runtime (#25626)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2023-02-13 11:59:29 -05:00
Chris Breiding
27b0f2186f fix: Use hostname as default domain for cookie commands (#24692)
BREAKING CHANGE: Cookie commands now use the the hostname and not the superdomain for the domain by default. This may affect what cookies are returned/set/cleared by cookie commands.
2022-11-23 09:54:09 -05:00
Chris Breiding
e4be9697bd Merge branch 'develop' into merge-develop-v12-2022-11-14-take-2 2022-11-14 13:57:38 -05:00
Ben M
d9845c45f4 Update cross-origin-testing.md
fixing an unintentional double negative
2022-11-07 10:11:33 -05:00
Matt Henkes
2f18a8cbd2 fix: remove cypress.server.defaults, cy.server and cy.route (#24411)
* fix: remove server and route commands

* This won't totally pass but it's a step in the right direction.

* Should be down to only two failing tests due to abort.

* fix the alias.<thing> api for intercept to be equivalent to route.

* adjust timeouts to reduce flake, ideally

* skip xhr abort tests

* More clean up

* Increase timeout

* trick next version

* fix unit tests probably

* yeah sure

* Apply suggestions from code review

Co-authored-by: Blue F <blue@cypress.io>

* remove addXhrLog

* Remove more usage of XHR stemming from proxy-logging

* Remove a couple of files that found their way back with the merge from release/12.0.0

* remove more server types

* increase timeouts again to prevent flake

Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2022-11-04 08:24:03 -05:00
Chris Breiding
278da13078 chore: Update/improve cross-origin-testing.md (#24508) 2022-11-02 16:25:36 -04:00
Bill Glesias
6055af37b0 Merge branch 'develop' of github.com:cypress-io/cypress into release/12.0.0 2022-11-02 10:27:39 -04:00
Chris Breiding
1b29ce74aa feat: Enable requiring cy.origin dependencies with require() and import() (#24294) 2022-10-18 16:52:57 -04:00
Matt Schile
2b557d551a chore: throw error for Cookies.defaults/preserveOnce (#24252)
BREAKING CHANGE: removed Cookies.defaults/preserveOnce, use cy.session instead
2022-10-17 19:20:15 -06:00
Chris Breiding
c48b80a0df feat: Support dependencies in cy.origin() callback (#23283)
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-09-20 14:04:24 -04:00
Chris Breiding
a21c942ee4 fix: Improve cross-origin cookie handling (#22320) 2022-06-23 11:00:52 -04:00
Bill Glesias
9b965c5e31 create cross origin serialization explainer to fully explain our serialization process (#22101)
* create cross origin serialization explainer to fully explain our serialization process

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Matt Schile <mschile@gmail.com>

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@gmail.com>
2022-06-09 16:19:31 -04:00
Chris Breiding
a47b45fc83 chore: Add technical overview doc for cross-origin testing (#21241)
* chore: add feature overview for cross-origin testing

* Updates based on feedback

* add more backticks

* Update packages/driver/cross-origin-testing.md

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* changes from feedback

* expand on config/env sync timing

* add section about internal state

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-04-29 10:01:35 -04:00