* 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: improved CloudDataSource caching & tests
* feat: pushFragment subscription, for updating the client with remote data (#21408)
* refactor: add pushFragment utility for pushing remote data into the client
* fix: UNIFY-1625 Runs tab not updating in real time (#21412)
* allow returning a Response object in the remoteGraphQLIntercept, handle 401
* add nexusDeferIfNotLoadedPlugin, remove GraphQLDataSource & ssr of graphql data
* add cachedUser for better rendering when cloudViewer is invalidated, fix types, tests
* guard for login to be visible before making next assertion
* revert onCacheUpdate changes
* fix for percy snapshots
* address @flotwig's simpler feedback
* Address types for versionData
* allow for nullish email in UserAvatar
* Ignore remote schema parent type in onCreateFieldResolver
* start graphql server in run mode
* update url logic
* use correct mobx instance
* expose util method for testing selector playground
* add __Cypress__ global
* correctly order aut lifecycle methods
* correct spec url in tests
* fix server integration tests
* add title to html
* update url encoding
* uni test
* encoding
* encode ssr data as base64
* set correct cypress.spec.name
* set arch and os options
* add version to options
* update config test
* update encoding
* temp skip
* more skips
* try to fix launchpad tests
* update test
* update runner
* feat: automation
* ignore error
* remove unused runner steps
* try remove error
* config
* Ensuring a provided testId gets rendered on a consistent element reference within HeaderBar.
* better conditionals
* automation connection
* try applying firefox cdp automation
* skip spec
* skip for now
* skips
* respond to failed visit event correctly
* chore: fix screenshot system tests (#19686)
* set fake __CYPRESS_MODE__ on window
* vue logic for screenshot + run-mode checks
* Restore AUT wrapper div, make the name more clear
* switch to await for `before:screenshot` event send
* remove skipped tests
* add CYPRESS_INTERNAL_MODE to env
* move logic into component
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* do not run runner-shared tests anymore
* dont care about runner unit test
* add reference screenshots confirmed to be good
* fix rerun spec
* do not hardcode http protocol, remove old code
* revert protocol and add missing pre-fetch gql query
* correctly pass ssr data, update request policy
* automation element updates
* do not apply CDP automation for firefox
* make assertions more debug-friendly
* up timeout, make firefox pixels slightly looser on CI
* Fix TS
* Try to fix tests
* Try to fix tests
* do not require urql for run mode
* wip: request policy changes
* use separate component for run mode and open mode
* expose selector playground function globally for testing purposes
* fix typescript
* fixing unit tests
* encode ssr data to match production
* fix test
* fix test
* readme
* fix: Run mode for unified runner resolve conflicts (#19743)
* merge in 10.0-release
* Fix merge conflict with client route
* Fail earlier when trying to run cypress in cypress in a browser other than chrome
* Fix some tests
* Set empty obj if config is not set
* Update tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* update automation namespace, remove old code
* remove skipped test
* handle non proxied case
* clean up code
* revert png
* do not start graphql server in run mode
* Fix ts error
* revert type.cy.js to original test
* revert change in driver screenshot
* remove unused async
* remove unused env var
* remove old todo comment
* remove needless console.log
* unskip test
* use pause: true to avoid gql request
* remove unused automation element
* remove unused setAutomationStatus method
* change pane -> panel
* reimplement 1px flake fix for firefox type.cy.js
* chore: remove launchpad environment variable (#19778)
* remove LAUNCHPAD conditionals
* add timeout to test
* revert file
* correctly normalize url
Co-authored-by: Tyler Biethman <tbiethman@gmail.com>
Co-authored-by: Mark Noonan <oddlyaromatic@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* build: fix dev process on windows
* build: reuse "spawned" function
* Revert "build: reuse "spawned" function"
This reverts commit 67289c281a.
* use winSpawn for spawned too
* refactor: rename uSpawn function
* better tests
* basic support for open in ide
* extract modal component
* mutation to open file
* remove old code
* add a ton of tests
* update
* lint
* types
* ignore typeless import
* update links
* backwards compat so we do not break all system tests
* add back missing code
* missing code
* fix bug
* add regression test
* ts
* types
* feat: detect framework, guess component glob and query files
* add test for Storybook detection and spec generation
* fix test flake
* chore(app): simplify glob finding logic (#18562)
* rebase, use globby, create new test project
* fix ts and test scaffold
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* feat: use shikijs for highlighting code
* add line numbers
* fix Jess's remarks
* remove last instances of prism
* fix: remove unused prism packages
* fix broken build
* remove prism
* remnove prism one last time
* remove the last piece of prism in tests
* remove prism and refactor
* restore proper fe-shared test
* use windi to color shiki
* rename theme and create test
* cosmetic fixes
* avoid the jank
* fix image imports in typescript
* restore mistake
* make the shiki theme generator
* gitignore the shiki-heme generated
* add the shiki theme generation to yarn build
* make shiki theme look good
* last colors to update
* styling fixes
* styling fixes
* styling fixes
* styling fixes
* theme
* fix relative positioning
* Update .gitignore
* Update packages/frontend-shared/src/components/ShikiHighlight.vue
* remove conflicting copy button
* dont top level await
* add a readme for theme generation
* ignore generated theme
* fix integration test in launchpad
* fix other integration test
* bring back the cypress theme
* fixing public path issue
* make e2e work
* fix yarn dev (remove the double slash)
* review theme with ryan
* make copy on click optional
* adjust viewports
* move generation of theme before vite build
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>