-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat: Cross Origin Testing Support #18075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
174 commits
Select commit
Hold shift + click to select a range
6b827dd
chore: Initial work on creating a multidomain bundle (#16230)
chrisbreiding f5ec36e
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 8bc9b5d
Merge branch 'develop' into feature-multidomain
chrisbreiding 6400e81
Merge branch 'develop' into feature-multidomain
chrisbreiding d028437
chore: Implement cross-domain sibling iframe (#16708)
chrisbreiding 2caa04c
Merge branch 'develop' into feature-multidomain
chrisbreiding b42e418
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 1014523
Merge branch 'develop' into feature-multidomain
chrisbreiding 69deb3e
Merge branch 'develop' into feature-multidomain
chrisbreiding b8658cf
chore: Inject into hard-coded secondary domain (#16873)
chrisbreiding afc39e9
Merge branch 'develop' into feature-multidomain
chrisbreiding 5d24a55
Merge branch 'develop' into feature-multidomain
chrisbreiding 64250be
Merge branch 'develop' into feature-multidomain
chrisbreiding 12da3bd
Merge branch 'develop' into feature-multidomain
chrisbreiding e1f3a43
chore: Initialize Cypress before secondary domain page loads (#17262)
chrisbreiding da6fa94
Merge branch 'develop' into feature-multidomain
chrisbreiding 66d947d
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 700636a
chore: Wrap native methods in secondary domain (#17303)
chrisbreiding b36fdff
Merge branch 'develop' into feature-multidomain
chrisbreiding 51dea49
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 4288ce6
Merge branch 'develop' into feature-multidomain
chrisbreiding 53cd6d1
chore: Add event listeners in secondary domain (#17391)
chrisbreiding 548db6e
Merge branch 'develop' into feature-multidomain
chrisbreiding 31e6d3f
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 617f321
Merge branch 'develop' into feature-multidomain
chrisbreiding a3930c2
Merge branch 'develop' into feature-multidomain
chrisbreiding 4323215
Merge branch 'develop' into feature-multidomain
chrisbreiding f5d326a
Merge branch 'develop' into feature-multidomain
chrisbreiding 3ad6c36
fix issues
chrisbreiding fef49f4
convert requires to imports
chrisbreiding 16ad6b4
chore: Run command queue in secondary domain and sync up command stat…
chrisbreiding 4e140a2
Merge branch 'develop' into feature-multidomain
chrisbreiding 92932c5
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding cc66129
Merge branch 'develop' into feature-multidomain
chrisbreiding 416aabe
chore: Fix rerunning multidomain tests (#18090)
chrisbreiding 2aea225
Merge branch 'develop' into feature-multidomain
chrisbreiding fb5ff06
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding 9503b40
Merge branch 'develop' into feature-multidomain
chrisbreiding 8f11635
Merge branch 'develop' into feature-multidomain
chrisbreiding 516100b
Merge branch 'develop' into feature-multidomain
chrisbreiding c6d2918
Merge branch 'develop' into feature-multidomain
chrisbreiding 2c28961
Merge branch 'develop' into feature-multidomain
chrisbreiding 8ac1ff0
Merge branch 'develop' into feature-multidomain
chrisbreiding 0eeb442
fix errors
chrisbreiding 10264e6
fix issues created by merge
chrisbreiding b5a135d
Merge branch 'develop' into feature-multidomain
chrisbreiding 37b881e
fix issues caused by merge
chrisbreiding cd77e08
use registerFetch
chrisbreiding dacf0a5
fix reference error
chrisbreiding f716178
chore: Remove need for anticipateMultidomain (#18360)
chrisbreiding f2c6069
Merge branch 'develop' into feature-multidomain
chrisbreiding ee6e105
Merge branch 'develop' into feature-multidomain
chrisbreiding a42e601
Merge branch 'develop' into feature-multidomain
chrisbreiding a408b36
Merge remote-tracking branch 'origin/develop' into feature-multidomain
chrisbreiding 2ee9893
chore: Remove hardcoded domain for multi-domain (#19323)
chrisbreiding 8e0770f
Merge branch 'develop' into feature-multidomain
chrisbreiding cc08d12
fix issues after merge
chrisbreiding 2e5fbad
fix types issue
chrisbreiding d8fa85d
chore: Fix a couple multi-domain bugs (#19698)
chrisbreiding 0601570
fix: secondary domain command state (#19661)
AtofStryker 0b39332
chore: Add specs for all cy commands in multi-domain (#19734)
mschile d3601f6
Merge branch 'develop' into feature-multidomain
chrisbreiding 7ef104e
Merge branch 'develop' into feature-multidomain
chrisbreiding c84ace4
chore: adding test for selectFile() in multi-domain (#19786)
mschile 1faed02
Merge branch 'develop' into feature-multidomain
chrisbreiding 89a497f
chore: update switchToDomain 'data' argument to be an array (#19774)
mschile 3295adf
feat: [multi domain] enable window:before:load event (#19828)
mjhenkes 2475b5a
chore(multi-domain): add clock support in multi-domain (#19861)
mschile 1d69100
Merge branch 'develop' into feature-multidomain
chrisbreiding fdb0c96
chore: Rename and separate multi-domain files (#19825)
chrisbreiding b50fe56
chore(multi-domain): adding websocket support for backend and automat…
mschile bab8496
feat: multi domain handle command failures (#19805)
AtofStryker fe03453
feat: implement uncaught:exception and error in spec bridge (#19922)
AtofStryker 4070270
feat: (multi-domain) handle uncaught errors in the spec bridge (#19976)
mschile c58a0ee
feat: [Multi-domain]: Yield subject from `switchToDomain` (#19936)
mjhenkes dc9b694
fix spec, app, and done error serialization in firefox (#20080)
AtofStryker c198372
Merge branch 'develop' into feature-multidomain
chrisbreiding 92bf23c
feat: (multi-domain) add initial support for cy.screenshot (#20119)
mschile 0639d14
feat: (multi-domain) add support for screenshot blackout (#20150)
mschile 191dc92
feat: [Multi-Domain] Ensure runner shows correct url (#20096)
mjhenkes 8d54632
Merge branch 'develop' into feature-multidomain
chrisbreiding 89ea47d
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding b6e1c30
Fix misc test (#20201)
mjhenkes 5f905ee
feat: (multi-domain) add support for pausing timers during screenshot…
mschile 5269f4f
feat: (multi-domain) restore stubs and spies in multi-domain (#20229)
mschile 288f6bd
feat: sync config and env (#20102)
AtofStryker 5b4feaa
feat: support cypress api (#20022)
AtofStryker 0e942ed
chore: Refactor multi-domain communication lifecycle (#20247)
chrisbreiding fc7149e
Merge branch 'develop' into feature-multidomain
chrisbreiding b6243f5
chore: [Multi-domain] Validate domain name (#20321)
mjhenkes c8c2046
chore: [Multi-domain] Clean up basic login spec to look like what we …
mjhenkes a0c6f00
chore: [Multi-domain]: Support multiple multi-domain commands in a si…
mjhenkes 4c36cf9
feat: (multi-domain) add viewport support (#20266)
mschile ae65ae6
fix: ensure multi domain passivity (#20442)
AtofStryker 1eb5ab7
chore: [Multi-Domain] enable commands in switchToDomain to use the de…
mjhenkes 74dea89
feat: (multi-domain) adding support for cy.visit in multi-domain (#20…
mschile ca1857f
test: fix system-tests-firefox downloads flake (#20547)
ryanthemanuel ca510ce
chore: (multi-domain) support origin and domain name in switchToDomai…
mschile cd7f99d
chore: (multi-domain) url:changed fix, revert about:blank, use Cypres…
mschile 892d8d9
chore: (multi-domain) add support for visiting relative urls in secon…
mschile d1c3e4e
fix: standardize error and object serialization (#20520)
AtofStryker 46c0c75
Fix build (#20627)
mjhenkes 7f3a649
chore: [Multi-domain] Enable tests, stability and fail appropriately …
mjhenkes bc30c68
Merge branch 'develop' into feature-multidomain
chrisbreiding 326fc19
fix type issues
chrisbreiding 9cc3108
Merge branch 'develop' into feature-multidomain
chrisbreiding 0e8c511
fix more types
chrisbreiding 193a01a
fix: prevent serialization issues with retries using multi-domain (#2…
AtofStryker 35501bc
chore: [Multi-domain] Handle stability with delayed navigation (#20642)
mjhenkes ebb054e
chore: [Multi-domain] Clean up stability code. (#20656)
mjhenkes 432b3d5
fix: make the primary domain communicator a singleton per cypress ins…
AtofStryker 9827b26
chore: [Multi-domain] Improve timeout error message. (#20671)
mjhenkes f638ba7
fix: [Multi-domain] Fix countLogsByTest (#20719)
mjhenkes 89c0091
fix: firefox 93 error issues (#20695)
AtofStryker 22b35be
fix(multi-domain): Handle SameSite cookies (#20450)
chrisbreiding a64cdb8
chore(multi-domain): Throw errors for unsupported commands (#20729)
chrisbreiding c7aa180
fix: [Multi-domain] Preserve switchToDomain command logs between top …
mjhenkes 90d1eb7
chore: Update switchToDomain signature with `args` key (#20722)
AtofStryker ad176be
chore: Verify cy.request() works in multi-domain callback (#20747)
chrisbreiding 3c19edb
chore: [multi-domain] enable binary builds and more tests for the mul…
mjhenkes 8f7cc74
Merge branch 'develop' into feature-multidomain
mjhenkes 14215e3
chore: [multi-domain] clean up listeners when promise is canceled (#2…
mjhenkes 453d1ca
Merge branch 'develop' into feature-multidomain
mjhenkes fedb65c
chore: (multi-domain) support multiple remote states (#20752)
mschile 04eabf0
Merge branch 'develop' into feature-multidomain
mjhenkes 3b4b0ef
chore: [multi-domain] clean up the sync:globals event in the event of…
mjhenkes 4c1c18d
fix: (multi-domain) fix injection issue (#20816)
mschile b77f675
chore: (multi-domain) update visit cross-origin error message (#20831)
mschile 9098744
chore: [Multi-domain] add retry error message for cross domain comman…
mjhenkes 1fa78f5
Merge branch 'develop' into feature-multidomain
mjhenkes 8c9bd2a
Merge branch 'develop' into feature-multidomain
mjhenkes b3e66e7
chore: [Multi-domain]: Support spec bridges with same domain (#20829)
mjhenkes 8bba681
fix: (multi-domain) electron crash (#20867)
mschile 0c78630
chore: [Multi-domain] Renaming variable and functions to reduce confu…
mjhenkes 15a60c1
chore: [Multi-domain] Renaming variable and functions to reduce confu…
mjhenkes f45be5e
chore: [Multi-domain] Resolve flaky test (#20917)
mjhenkes 81e9283
Merge branch 'develop' into feature-multidomain
mjhenkes 0772f85
Merge branch 'develop' into feature-multidomain
mjhenkes 17e6bf4
chore: [Multi-domain] Rename switchToDomain to origin (#20927)
mjhenkes 213607f
chore: [Multi-domain] Provide a warning when switchToDomain fails to …
mjhenkes b65db7b
chore: [Multi-domain] Rename domain events (#20945)
mjhenkes dcbc68b
chore: (multi-domain) updating experimental flag to experimentalLogin…
mschile 25af921
chore: [Multi-domain] Rename isMultiDomain for the driver and the ser…
mjhenkes c686922
chore: [Multi-domain] Rename the last of the domain/multi-domain to o…
mjhenkes 8a78b5c
Merge branch 'develop' into feature-multidomain
mjhenkes 782d89f
chore: (multi-domain) update to support path and hash (#20953)
mschile 63c3247
chore: [Multi-domain] Fix uncaught error (#20971)
mjhenkes a7caf8a
chore: [Multi-domain] Update error messages based on feedback. (#20996)
mjhenkes f6975f8
chore: audit cross-origin related TODOs/FIXMEs (#20975)
chrisbreiding a928781
chore: (multi-domain) update cross-origin error (#20999)
mschile fdfa933
chore: Unskip test that now passes (#20922)
chrisbreiding 8959845
Merge branch 'develop' into feature-multidomain
mjhenkes 836edbf
Merge branch 'develop' into feature-multidomain
mjhenkes 65d75dd
Merge branch 'develop' into feature-multidomain
mjhenkes f451d05
Merge branch 'develop' into feature-multidomain
mjhenkes d98d0e1
chore: (multi-domain) add experimentalLoginFlows to the settings page…
mschile 663e5d5
Merge branch 'develop' into feature-multidomain
mjhenkes dd3557f
chore: [Multi-domain] Reset timeout after transition from `before` to…
mjhenkes 27e1afb
chore: (multi-domain) renaming flag to experimentalSessionAndOrigin (…
mschile c560caf
feat(multi-origin): Group cy.origin commands (#21046)
chrisbreiding e4dcb12
Merge branch 'develop' into feature-multidomain
mjhenkes 890bde6
fix(multi-origin): Fix some issues with errors (#21071)
chrisbreiding f02d750
chore: [Multi-origin] Correctly find the spec bridge if chromeWebSecu…
mjhenkes d7ce865
chore: (cross-origin) add support for redirecting back to primary (#2…
mschile e3161a0
chore: [Multi-domain] Break out separate CI tasks to test the driver …
mjhenkes f819be3
Merge branch 'develop' into feature-multidomain
mschile f164404
Merge branch 'develop' into feature-multidomain
mjhenkes 885541e
improve error messages for unsupported APIs/commands
AtofStryker a1101e6
feat: support snapshots and console props within multi-domain (#20949)
AtofStryker ebaaf18
Merge branch 'develop' into feature-multidomain
mjhenkes 3e6d6bf
chore: Updates based on PR feedback (#21137)
chrisbreiding d866746
Update packages/runner-shared/src/event-manager.js
mjhenkes b8ae51e
Remove reference to migration guide
mjhenkes f473d29
removing migration guide reference
mschile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.