* wip on AST merging Cypress Config
* Adding test coverage & better implementation for config merging
* fix types, use new addToCypressConfig for projectId
* refactor: separate export for browser
* printing w/ recast
* don't remove prettier in this PR
* Update packages/config/src/ast-utils/addToCypressConfig.ts
* make comment more robust
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Fixing some electron
* More electron refs
* Updating system test snapshots. Updating mocha timeout for module-api tests.
* Updating magic require with comment
* Updating system test snapshot again
* Removing dead code
* removing vite-dev-server local dependency from react-vite-ts-configured system test
* moving some CRA examples over to use the object api for setup
* fixing issue where function API was broken by object API for cy config + devservers
* adding deeply nested react import to project-fixtures for cra
* finishes cutting over cypress/react for sys tests
* chore: adding circle for this feature branch
* chore: moving over many vue + vite system tests to use object API instead of function API (#21080)
* doing webpack-dev-server cutovers
* removing more webpack-dev-server refrences
* fixing snapshots
* bumping yarn.lock
* wip
* fix test
* fix assertion
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* chore: add dev-servers as deps to server to be included in the binary (#21091)
* fix bad merge
* fix next types and webpack-dev-server- resolve
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
* test: add windows-test-kitchensink job
* run windows ci on this branch
* use test-binary-against-kitchensink-chrome
* windows-create-build-artifacts
* use working dir when cloning
* npm i in correct dir
* install chrome on windows for test-binary-against-repo
* parent dir
* bump kitchensink
to pull in https://github.com/cypress-io/cypress-example-kitchensink/pull/549
* fix cli type hoisting
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* fix aut centering and height calculation
* group similar imports together
* group similar imports together
* add tests for dragging and resizing
* add comments in test
* remove unused params - let store set default
* reorder call to useRunnerStyle
* simplify useRunnerStyle to just what gets used
* get width from store instead of composable
* fix extra pixel on left of screenshots
* avoid using margin to center during screenshot
* make sure run mode header is reactive to height changes also
* add missing ref
* update reference screenshots
* fix folder name
* Revert "fix folder name"
This reverts commit 85f1ab8592.
* fix folder name
* test uploading of screenshot jpgs to percy
* remove slash
* upload screenshots from latest run
* add readme
* avoid
* put back finalize command
* set reporter size again before end of test
* fix comment
* add fn to clarify what cy.contains('%)') is
* clean up based on PR feedback
* rename "remove positioning" component
* move store invocation inside function
* add comment
* use immediate watcher for AUT header height
* use new composable in run mode
* check if failing
* update timeouts
* move cy code inside it
* revert code
* fixing test
* update timeout
* update tests
* fix: handle race condition with windows and the cri client
* fix: handle race condition with windows and the cri client
* fix: handle race condition with windows and the cri client
* Refactor and unit tests fixes
* Further refactoring and error handling cleanup
* update test timeout
* Update timeout for spec subscription e2e test
* Fix issue with ssh keys in circle
* Apply suggestions from code review
Co-authored-by: Zach Bloomquist <git@chary.us>
* update circle.yml
* Apply suggestions from code review
Co-authored-by: Zach Bloomquist <git@chary.us>
* add comment and fix lint
* add guide for platform differences
* timeout
* Update circle.yml
* Update guides/remaining-platform-agnostic.md
Co-authored-by: Zach Bloomquist <git@chary.us>
* update docs and comments
* rename file
* Apply suggestions from code review
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
* fix: running a new test after already having run tests
* Blank commit
* Add test for scenario
* Refactor
* Further refactoring. Needs to be a watchEffect rather than watch
* Fix tests
* Fix tests
* Fix flake
* PR comments
* Fix flake with event manager and active spec
Co-authored-by: Tyler Biethman <tbiethman@gmail.com>
* fix: make error on integration folder point to e2e
* fix: add context for testing type to the errors
* fix: pass testnigtype to errors
* add testingType where needed
* show setupNodeEvent when error
* fix some unit tests
* update snapshot
* update snapshot
* test: add test for stupNodeEvents
* fix: add name for config error
* fix: use distinct errors for root and e2e failures
* test: update 2 snapshots
* snapshot update again
* update snapshots again normally this time