Skip to content
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

feat: support snapshots and console props within multi-domain #20949

Merged

Commits on Apr 7, 2022

  1. Copy the full SHA
    50e7404 View commit details
    Browse the repository at this point in the history
  2. Implement snapshots and consoleprops within multi origin

    further progress with getters
    
    cleaned up log/snapshot serialization
    
    attempt to pass and hydrate value state of serialized dom elements
    
    temp commit traversal dom
    
    by some stretch of a miracle this is working...
    
    still somehow working
    
    after massive performance issues with full tree serialization, fix here is to just attach values to inputs for reifying on primary
    
    now we are cookin
    
    test WIP
    
    tests WIP
    
    working multi-domain actions snapshots tests
    
    added more tests to verify snapshots
    
    add tests and refactor certain tests to make simpler
    
    added misc snapshot tests
    
    add navigation snapshot placeholder
    
    add network request snapshot tests
    
    add shadow querying snapshot tests
    
    update test names
    
    added snapshot querying spec
    
    added screenshot snapshot test
    
    add spies,clocks, and stubs tests
    
    implement snapshot tests for traversal commands
    
    rename local storeage snapshot tests to fit convention
    
    add viewport snapshot tests
    
    rename snapshot traversal to fit naming convention
    
    add snapshot waiting tests
    
    added window snapshot tests
    
    implement navigation snapshot tests now that sinon proxy issues internal to log are now fixed
    
    refactor multi-domain snapshot tests to leverage utility method over redefining in each spec
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    638a36e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c87a3bf View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    31354a2 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    6e7a3ff View commit details
    Browse the repository at this point in the history
  6. fix .tick() snapshot/consoleProps test (figure out the deal with cons…

    …oleProps sometimes being a function)
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    4064185 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    b3d6515 View commit details
    Browse the repository at this point in the history
  8. don't invoke functions with arguments (we need to be more explicit ab…

    …out the functions we are invoking
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    aa2d194 View commit details
    Browse the repository at this point in the history
  9. opt for my explicit serialization behavior with functions, never atte…

    …mpt to serialize bluebird promises
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    22441cb View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    585f6d4 View commit details
    Browse the repository at this point in the history
  11. refactor log serialization to own file, clean up code and add comment…

    …s to what is going on in this 'here be dragons' code
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    6b2e623 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    2382b65 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    42186f1 View commit details
    Browse the repository at this point in the history
  14. refactor postprocess snapshot into own method to handle in final stat…

    …e snapshot processing for cross origin
    AtofStryker committed Apr 7, 2022
    Copy the full SHA
    96328b5 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    be4bc19 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    c7f4abc View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    1353f6c View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    0656e84 View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    65c8e0c View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Copy the full SHA
    2312ebc View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…

    …nto md-support-snapshots-and-console-props
    AtofStryker committed Apr 11, 2022
    Copy the full SHA
    11f29be View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    5237e84 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c181927 View commit details
    Browse the repository at this point in the history
  5. further name changes

    AtofStryker committed Apr 11, 2022
    Copy the full SHA
    3290d3e View commit details
    Browse the repository at this point in the history
  6. Merge branch 'md-support-snapshots-and-console-props' of github.com:c…

    …ypress-io/cypress into md-support-snapshots-and-console-props
    AtofStryker committed Apr 11, 2022
    Copy the full SHA
    9c54498 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. fix snapshot generator to always reify snapshot (<body>) over attempt…

    …ing to match in the DOM
    AtofStryker committed Apr 12, 2022
    Copy the full SHA
    539f24a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e0ab8d4 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    aa66edc View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    62a6a51 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    838e091 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…

    …nto md-support-snapshots-and-console-props
    AtofStryker committed Apr 12, 2022
    Copy the full SHA
    02c6533 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    f19c3c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Copy the full SHA
    3fd2095 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    301cf72 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. Copy the full SHA
    9269726 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d28f924 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e1af413 View commit details
    Browse the repository at this point in the history
  4. remove snapshots test folder and migrate tests into commands director…

    …y with #consoleProps context blocks for each
    AtofStryker committed Apr 14, 2022
    Copy the full SHA
    bb83fd3 View commit details
    Browse the repository at this point in the history
  5. change removeSrcAttributeFromAUTIframe name to removeSrcAttribute as …

    …it is implied on the AUT
    AtofStryker committed Apr 14, 2022
    Copy the full SHA
    5c0588a View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    02cb280 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    9734059 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    9ef3f56 View commit details
    Browse the repository at this point in the history
  9. refactor multi-domain consoleProp tests to use shouldWithTimeout cust…

    …om command to avoid setTimeouts on command queue event to make test implementation cleaner
    AtofStryker committed Apr 14, 2022
    Copy the full SHA
    912162c View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Copy the full SHA
    2561b1d View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…

    …nto md-support-snapshots-and-console-props
    AtofStryker committed Apr 15, 2022
    Copy the full SHA
    45716ae View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    257f5e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Copy the full SHA
    c93c220 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    bf94d55 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    14cc07d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ecb6b84 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    710d93d View commit details
    Browse the repository at this point in the history
  6. compare originPolicy of top and AUT instead of just origin to make sn…

    …apshots work in subdomains
    AtofStryker committed Apr 18, 2022
    Copy the full SHA
    fba5cf2 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    416d3c8 View commit details
    Browse the repository at this point in the history
  8. add some basic log serialization tests that show full pre/reification…

    … of log, as well as state hydration for innerHTML. break out object/array methods from log like serialization into own methods
    AtofStryker committed Apr 18, 2022
    Copy the full SHA
    5345e10 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Copy the full SHA
    3ad89e7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3a1bc84 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c1989ea View commit details
    Browse the repository at this point in the history
  4. Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…

    …nto md-support-snapshots-and-console-props
    AtofStryker committed Apr 19, 2022
    Copy the full SHA
    1e2dfd0 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    e13870f View commit details
    Browse the repository at this point in the history
  6. work around firefox 93 issues by unsetting the document in cy state a…

    …s the document is in a cross origin context in the primary, which means accessing any elements will not work
    AtofStryker committed Apr 19, 2022
    Copy the full SHA
    5349974 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    c264f20 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    6926bfe View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Copy the full SHA
    af3d4cf View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Copy the full SHA
    75dfaa2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    000c519 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    7fa02e6 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    61192b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Copy the full SHA
    8d3ae17 View commit details
    Browse the repository at this point in the history