Ryan Manuel
0daf7e639f
chore: support studio lifecycle in protocol ( #31239 )
...
* update url with studio params
* updates
* spec updates
* adding tests
* updating changelog
* skip adding visit log during start
* update url support
* cy origin tests
* fix tests
* updates
* update origin test
* chore: support studio lifecycle in protocol
* merge changes
* fix types
* fix tests
* fix tests
* fix tests
* fix more tests
* fix more tests
* fix more tests
* fix test
* fix bugs
* fix tests
* attempt to fix test
* further fixes
* improve cloud studio enablement
* refactoring
* remove new dom link
* fix last test
* Update packages/app/cypress/e2e/studio/studio.cy.ts
* Update packages/server/lib/project-base.ts
* Update packages/proxy/lib/http/request-middleware.ts
Co-authored-by: Matt Schile <mschile@cypress.io >
* PR comments
* fix build
* fix build
* update
* Update packages/server/lib/project-base.ts
Co-authored-by: Matt Schile <mschile@cypress.io >
* fix unit test
* rework save logic
---------
Co-authored-by: Matthew Schile <mschile@cypress.io >
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2025-03-13 20:30:29 -05:00
Ryan Manuel
2dce6d5831
chore: add logic to dynamically load studio functionality ( #31033 )
...
* chore: add logic to dynamically load new studio functionality
* fix types
* fix tests
* fix
* fix tests
* fix tests
* additional changes to lock things down
* clean up code
* Update guides/studio-development.md
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
* Update protocol-development.md
* additional headers
* PR comments
* Update packages/server/lib/cloud/api/get_app_studio.ts
Co-authored-by: Matt Schile <mschile@cypress.io >
* Update packages/app/vite.config.mjs
* update studio/protocol development guides
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
Co-authored-by: Matt Schile <mschile@cypress.io >
2025-02-14 14:54:15 -06:00
Ryan Manuel
9fda261dde
chore: upgrade electron to 32.2.0 ( #30394 )
...
* chore: upgrade electron to 32.2.0 -- run ci
* fix node versions
* fix build
* fix evil-dns
* various fixes
* fix srcdoc
* various fixes
* update package.json
* update yarn.lock
* various fixes
* fix integrity check
* fix binary verification
* various fixes
* update yarn.lock
* fix typo
* fix lock file
* fix tests
* fix tests
* various fixes
* various fixes
* various fixes
* fix stuff
* fix things
* try to fix errors
* fix
* updates
* add yarn berry
* upgrade electron
* attempt with gcc
* blank
* update arm64 executor
* try to fix the arm64 issue
* fix arm64
* bump cache
* attempt to fix arm64 again
* attempt to fix arm64 again
* fix darwin problems
* merge release/14.0.0
* update yarn.lock
* blank -- run ci
* blank
* blank
* blank
* try something
* try something
* clean up
* blank
* try to fix sessions issue
* fixes
* get more info
* get more info
* try something
* fix
* try something
* try something
* try something
* tweak
* one more thing
* let us see if this works
* blank
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* Apply suggestions from code review
* Apply suggestions from code review
* Update cli/CHANGELOG.md
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
* Update cli/CHANGELOG.md
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
* Update CHANGELOG.md
* Update cache-version.txt
* fix nx (maybe)
* Update package.json
* try something
* Update packages/app/src/runner/aut-iframe.ts
* bump version
* try to bust cache
* try to invalidate cache
* Update cli/CHANGELOG.md
* suppress benign warnings
* Apply suggestions from code review
* PR comments
* PR comment
* Apply suggestions from code review
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* Update cli/CHANGELOG.md
Co-authored-by: Matt Schile <mschile@cypress.io >
* update debug scenario 4 regex
* Update scripts/binary/trigger-publish-binary-pipeline.js
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
Co-authored-by: Matt Schile <mschile@cypress.io >
2024-10-29 14:55:26 -05:00
Ryan Manuel
8cff95661a
misc: pass spec to beforeSpec to support better reporting on client side protocol errors ( #30316 )
...
* feat: pass spec to beforeSpec to support better reporting on client side protocol errors
* Update packages/types/src/protocol.ts
Co-authored-by: Matt Schile <mschile@cypress.io >
* update changelog
---------
Co-authored-by: Matt Schile <mschile@cypress.io >
2024-09-30 16:55:13 -05:00
Cacie Prins
1d845323d4
feat: Improve UX when Test Replay upload fails due to slow upload ( #30235 )
...
* new error message for stream stall upload failures
* new unknown error msg, extract printProtocolUploadError for testing, consolidatd args for stream stall msg
* rename env more appropriately, add sampling interval param to putProtocolArtifact
* default to 5000, override with app capture protocol value, override that with env var
* update snapshots
* fix math in upload stall error msg
* changelog
* update gql schema w/ new error msg, fix protocol tscheck
* update test to use fn for app capture supplied interval
* increase default stream stall interval to 10 seconds
* typos
* snapshots
* rename env var
* do not use user-supplied interval if it parses to NaN
* use the more standard makeErr for unknown/uncategorized upload error in visual snapshots
* rearrange upload stall error message
* fix typo
* changelog
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2024-09-25 11:39:28 -05:00
Cacie Prins
cec7a1b098
misc: receive afterSpec durations from app capture code, and report them to the Cloud API ( #29500 )
...
* misc: report protocol capture afterSpec duration to cloud
* WIP: collecting afterSpec durations, TODO: system test scaffolding
* push all afterSpec timings to cloud
* push afterSpecTotal instead of afterSpec property
* changelog
* fix trailing slash in readme
* fix afterspec duration unit test
* correct return signature of afterSpec; add debug
* changelog
* Update packages/server/lib/cloud/api/index.ts
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
* Update packages/server/lib/cloud/protocol.ts
* fix ts check
* fix unit tests re: expected afterSpec sig
* fix return sig of protocol afterSpec stub for system tests
* use env var directly in tests for capture error codepath, rather than override var
* rm unused param
* bump cache
* changelog
* remove pending runnables duration from afterspec report
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2024-06-11 13:31:54 -04:00
Ryan Manuel
d8b48211c0
fix: ensure that fatal protocol errors are only limited to the spec they occurred on ( #27720 )
2023-08-31 11:01:50 -05:00
Matt Schile
2c3e1ac072
chore: updating log to use createdAtTimestamp and updatedAtTimestamp ( #27660 )
2023-08-25 08:31:34 -06:00
Ryan Manuel
462ee04df9
feat: enable the protocol to retrieve response bodies from the network proxy ( #27462 )
...
Co-authored-by: Matt Schile <mschile@cypress.io >
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Cacie Prins <cacie@cypress.io >
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com >
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com >
fix: do not correlate cached requests in the proxy (#27525 )
2023-08-15 13:41:36 -05:00
Matt Schile
9bfa454ad3
chore: updating protocol to support test isolation off ( #27523 )
2023-08-14 13:02:06 -06:00
Cacie Prins
4e9147dac3
chore: performance timestamps on logs ( #27171 )
...
Co-authored-by: Matt Schile <mschile@cypress.io >
2023-07-18 12:54:25 -05:00
Ryan Manuel
94648cc2f4
chore: ensure that beforeTest awaits ( #27274 )
...
* chore: ensure that beforeTest awaits
* oops
2023-07-12 09:49:54 -05:00
Ryan Manuel
0dedccfcd1
feat: sync up protocol manager on after test ( #27039 )
2023-06-15 13:59:48 -05:00
Matt Henkes
c4ad4253ef
fix: Remove usage of vm2 ( #26863 )
...
* fix performance stuff -- run ci
* Update cypress.config.ts
* remove dep, add tests
* clean up
* m does not exist
* vm2 is everywhere
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
2023-05-25 13:55:33 -05:00
Ryan Manuel
bd5a4d02ee
feat: enable crypto calls in protocol to enable hashing response bodies ( #26829 )
2023-05-23 16:30:27 -05:00
Matt Schile
20b5bb08d6
chore: resetting the test when top changes ( #26797 )
2023-05-23 08:53:26 -06:00
Matt Schile
569197c4fb
chore: adding support for page:loading event ( #26779 )
2023-05-18 16:30:18 -06:00
Tim Griesser
d2ef2c1393
feat: capture protocol delivery ( #26421 )
...
Co-authored-by: Matt Schile <mschile@cypress.io >
Co-authored-by: David Rowe <95636404+davidr-cy@users.noreply.github.com >
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
2023-05-15 14:06:27 -05:00
Matt Schile
a990bec854
chore: update afterSpec to be async ( #26562 )
2023-04-26 09:12:40 -06:00
Matt Schile
c7193d0c0c
chore: adding support for url:changed ( #26519 )
2023-04-18 12:53:04 -06:00
Matt Schile
a11a376a54
chore: adding viewport:changed to protocol ( #26508 )
2023-04-18 09:29:55 -06:00
Matt Schile
7f639b8d6b
chore: adding wallClockUpdatedAt to log for protocol ( #26450 )
2023-04-07 08:55:02 -06:00
Matt Schile
c2273627fe
chore: adding command log to protocol ( #26387 )
2023-04-05 09:41:40 -05:00
Ryan Manuel
c08b827f95
chore: add schema infrastructure and switch CDP client to be passed into protocol directly ( #26222 )
...
Co-authored-by: Matt Schile <mschile@cypress.io >
2023-03-29 20:30:20 -05:00
Matt Schile
530397f600
chore: adding runnables to protocol ( #26171 )
2023-03-23 18:21:29 -06:00
Ryan Manuel
bbe90abee7
chore: add better-sqlite3 dependency ( #26168 )
...
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com >
2023-03-23 12:01:13 -05:00