* chore: increase data size for automation protocol
* add unit tests
* add comment for default values
* attempt to fix flake
* undo flake fix
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* chore: add system test for desired behavior
* fix: issue where process was exiting when window was being closed while launch process was occuring
* chore: add changelog entry
* fix: fix chrome crash when CRI client is disconnected
* chore: build binaries for chrome recovery crash for users to test
* chore: add changelog entry
* initial commit, a kinda working prototype
* Ready to test in CI
* "SyntaxError: Cannot use import statement outside a module" I blame VS code for always inserting the wrong dependency
* try using built js instead of the ts file
* typescript fixes?
* get version correctly, don't use optional chaining in child process.
* trying this, idk
* try running telemetry for driver-integration-tests-chrome
* fix missing spans, add more attributes for some spans
* fix missing spans and add suite spans
* types
* Remove un-used require
* remove spans for describe blocks in favor of the full title for tests
* migrate to sync resource discovery, start new custom exporters for spans
* encrypted
* localhost
* don't do things on child process
* latest changes
* update server start span time / add v8 snapshot span & update command span names
* prepare for sync
* don't send blank key
* make telemetry work again for sending directly to honeycomb
* web-socket exporter
* Add in IPC exporter and message the child process before disconnecting
* Use the cloud api by default
* move cloud span exporter into telemetry package
* shutdown fixes
* fix enabled
* improve types
* run in ci
* yml is the worst
* type!
* add spans for timing insights for visible areas of improvement
* type errors
* lets try sending data to staging
* types
* types again
* remove problematic attributes
* clean up exporters
* i like this better even though it doesn't seem to matter much
* some self review cleanup
* Update comment
* add debug messages
* mocha tests
* actually exit with the right code... oops
* simple mistake... have to look into how to fix with ts...
* try this i guess
* don't return undefined
* read me diagram
* color?
* no rect
* moar diagram
* docs!
* formatting
* build more binaries
* Supposedly fix cypress in cypress test failures
* test 'fixes'
* try this instead
* do not transpile cypress packages dir
* lets try escaping our regex string
* Add some diagnostics to help test the built binary....
* try a more complex solution
* fix tests probably
* just ignore the specific file
* fix unit tests
* cr updates
* Apply suggestions from code review
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Pr updates
* don't change the command queue
* move encoding and decoding telemetry context for ipc to the telemetry package
* build darn it
* plead for mercy from the testing gods, i merely wished to have named test reports, but clearly i have overreached.
* pr updates, send record key
* pr review
* optional chaining fails tests
* Apply suggestions from code review
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* tests for cloud-span-exporter
* bad merge
* adding tests for the remaining exporters
* note
* docs
* Correctly set test under the current run span for component testing
* gate sending the message.
* pr updates
* finally, fingers crossed.
---------
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* feat: Added configuration parameter that controls the amount of connection attempts to the browser
* Revert "feat: Added configuration parameter that controls the amount of connection attempts to the browser"
This reverts commit 4fd816a7fe.
* feat: Added configuration parameter that controls the amount of connection attempts to the browser
* feat: Adjusted naming to match other env Variables
* Fix Off by one error in firefox utils
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* Updated Changelog
* Update cli/CHANGELOG.md
* Update cli/CHANGELOG.md
* Update cli/CHANGELOG.md
* Trying to fix unit test
---------
Co-authored-by: fburgard <fburgard@testfabrik.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
* fix: Remove unneeded Firefox headless hack (run ci)
* Add test to cover new case
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
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.
* Handle chrome tab and browser crashes.
* handle process crashes and add system tests
* handle crashing on windows
* updating comment
* update unit tests
* Update packages/server/lib/browsers/index.ts
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* fix flaky system test probably
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Initial async changes
* Small fixes and test updates.
* updating tests
* Fixes for cookie login tests
* remove the onlys
* Most tests passing
* Fix driver tests?
* fix firefox test?
* fix unit tests
* fix tests??
* a better check
* fix integration tests
* minor cleanup
* Comment out tyler fix for 10.0 origin issue
* also fix integration tests
* remove fixmes
* Adding Retries for cookie actions. May break other error tests.
* Address (some) PR comments
* factor console logging out of run.ts
* fix print-run
* minimize diff
* chore(server): convert browsers/index to typescript
* fix tests
* update stubbed tests
* convert electron.js to .ts
* Suggestions from code review
* Clean up new type errors
* electron.connectToExisting can be sync
* more type errors for the type god
* Suggestions from code review
* refactor: move more of video capture into browser automations
* unit tests
* refactor: move videoCapture to browsers
* fix snapshots
* update to warn about cross origin command AUT in assertions
* Fix type errors
* fix multi-spec videos?
* webkit video recording works!
* webkit system tests
* skip system-tests that won't be fixed in this PR
~60 tests skipped out of ~99:
* ~6 skipped due to needing multidomain support
* ~8 skipped due to missing before:browser:launch support
* ~22 skipped due to broken stack traces
* fix single-tab mode
* cleanup/api renames
* fix more tests
* minimize diff, fix ff
* fix unit tests
* fix tests
* cleanup
* Move document.cookie patch to injection
* enable ci job
* fix up/add request events to webkit automation
* update undefined message
* doesn't need an underscore
* Adding iframe patching.
* forward errors prior to attaching
* Add error message when using visit to visit a cross origin site with the onLoad or onBeforeLoad options.
* Attempt to fix test errors.
* more fixes, but not all
* use the origin policy
* Fix types
* more fixes
* consider chromeWebSecurity when checking if you can communicate with the AUT
* firefox
* prevent hangs if before unload happens after on load.
* Fix some ToDos
* code cleanup
* remove quotes
* Code review changes
* more cr changes
* fix tests possibly
* Updating cy.origin websocket for webkit connection error
* for realz this time
* temp fix for before:unload/load issue
* roll back change
* Fix some flake
* temporarily comment out autWindow.Error patch
* updating cookies to match develop
* update circle.yml
* commenting out driver-integration-tests-webkit-experimentalSessionAndOrigin
* revert cookie test change
* revert cross origin change
* Fix clear cookie problem
* Try it again
* test cy.origin in webkit
* Skip origin tests when running in webkit
* missed one
* attempt to revert web_security changes
* enable sessions on webkit
* maybe this fixes system tests??
* Update web_security_spec.js
* Update web_security_spec.js
* file cleanup
* Unify socket creation logic
* Address PR Comments
Co-authored-by: mjhenkes <mjhenkes@gmail.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
* chore: add documentation to CDP,electron, and web extension for selected resource types
* chore: change nomenclature of X-Cypress-Request to X-Cypress-Is-XHR-Or-Fetch
* chore: remove no longer applicable comment for socket code
* chore: add comments to the resourceType/credential manager