-
Notifications
You must be signed in to change notification settings - Fork 3.3k
feat: support snapshots and console props within multi-domain #20949
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
AtofStryker
merged 68 commits into
feature-multidomain
from
md-support-snapshots-and-console-props
Apr 22, 2022
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
50e7404
Empty commit to get a new percy nonce
ryanthemanuel 638a36e
Implement snapshots and consoleprops within multi origin
AtofStryker c87a3bf
fix lint types issues on serializationKeys
AtofStryker 31354a2
rename switchToDomain to origin (might help with failing tests... ya …
AtofStryker 6e7a3ff
rename snapshot files to fit origin paradigm and fix misname on prima…
AtofStryker 4064185
fix .tick() snapshot/consoleProps test (figure out the deal with cons…
AtofStryker b3d6515
rename multiDomainCommunicator to origin primaryDomainCommunicator
AtofStryker aa2d194
don't invoke functions with arguments (we need to be more explicit ab…
AtofStryker 22441cb
opt for my explicit serialization behavior with functions, never atte…
AtofStryker 585f6d4
move serialization to folder and change name to index
AtofStryker 6b2e623
refactor log serialization to own file, clean up code and add comment…
AtofStryker 2382b65
make sure to serialize functions for snapshots
AtofStryker 42186f1
fix pause snapshot test for multi origin
AtofStryker 96328b5
refactor postprocess snapshot into own method to handle in final stat…
AtofStryker be4bc19
update snapshot comments to be more accurate
AtofStryker c7f4abc
fix renamings within tests
AtofStryker 1353f6c
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
AtofStryker 0656e84
fix path in log.ts serialization
AtofStryker 65c8e0c
revert about:blank changes in aut-iframe which was breaking session
AtofStryker 2312ebc
move all log/snapshot serialization magic invokations into the commun…
AtofStryker 11f29be
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
AtofStryker 5237e84
update typos and fix namings of preprocess and reify
AtofStryker c181927
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
AtofStryker 3290d3e
further name changes
AtofStryker 9c54498
Merge branch 'md-support-snapshots-and-console-props' of github.com:c…
AtofStryker 539f24a
fix snapshot generator to always reify snapshot (<body>) over attempt…
AtofStryker e0ab8d4
unskip test that was fixed with explicit function serialization for logs
AtofStryker aa66edc
fix flaky screenshot test that was screensize dependent
AtofStryker 62a6a51
rename a few items in the log serialization file
AtofStryker 838e091
clean up snapshot style reification to be more straightforward and re…
AtofStryker 02c6533
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
AtofStryker f19c3c4
refactor snapshots code to be more readable
AtofStryker 3fd2095
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
mjhenkes 301cf72
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
mjhenkes 9269726
update reifyDomElement docs to actually explain what hte method does
AtofStryker d28f924
fix typos within the log serialization file pertaining to comments
AtofStryker e1af413
use Cypress._ over lodash import to reduce spec bundle size
AtofStryker bb83fd3
remove snapshots test folder and migrate tests into commands director…
AtofStryker 5c0588a
change removeSrcAttributeFromAUTIframe name to removeSrcAttribute as …
AtofStryker 02cb280
update log consoleProps comment to better reflect cross origin nature
AtofStryker 9734059
remove skipped consoleProps tests that do not have a command log to t…
AtofStryker 9ef3f56
add createSnapshot to internal types (might need more specifics on this)
AtofStryker 912162c
refactor multi-domain consoleProp tests to use shouldWithTimeout cust…
AtofStryker 2561b1d
simplify DOM hydration for input based elements
AtofStryker 45716ae
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
AtofStryker 257f5e0
update preprocessedHTMLElement type
AtofStryker c93c220
clean up some documentation and remove TS ignores. added getStyles to…
AtofStryker bf94d55
add comment to aut-iframe on src attr removal for posterity
AtofStryker 14cc07d
reverse snapshot ternary for readability
AtofStryker ecb6b84
add shouldWithTimeout into spec-types and refactor out of internal-types
AtofStryker 710d93d
add getAll type to cypress spec-types
AtofStryker fba5cf2
compare originPolicy of top and AUT instead of just origin to make sn…
AtofStryker 416d3c8
add comment to _storeOriginalState for future developers and to add c…
AtofStryker 5345e10
add some basic log serialization tests that show full pre/reification…
AtofStryker 3ad89e7
update variables to metasyntactic
AtofStryker 3a1bc84
add renderProps assertion for cy.request
AtofStryker c1989ea
apply suggestions from code review to clean up log serializer
AtofStryker 1e2dfd0
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
AtofStryker e13870f
make snapshot serialization more generic and typesafe
AtofStryker 5349974
work around firefox 93 issues by unsetting the document in cy state a…
AtofStryker c264f20
clean up code and implement suggestions in code review
AtofStryker 6926bfe
remove crossOriginLog in favor of nullish coalescing if visible on th…
AtofStryker af3d4cf
if get is null, return null for whole snapshot
AtofStryker 75dfaa2
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
AtofStryker 000c519
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
mjhenkes 7fa02e6
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
AtofStryker 61192b3
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
mjhenkes 8d3ae17
Merge branch 'feature-multidomain' into md-support-snapshots-and-cons…
mjhenkes 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
621 changes: 621 additions & 0 deletions
621
packages/driver/cypress/integration/e2e/multi-domain/commands/multi_domain_actions.spec.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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.