* spike: cut over cy.url(), cy.hash(), cy.location(), cy.reload(), cy.go(), and cy.title() all to use the automation client to subvert the cross-origin boundary
refactor backend client
* chore: add unit tests for cy url, hash, location, title, reload, and go changes to make it easier to test minor behavior changes
bump cache
* fix issues with cy in cy tests. refactor aut discovery code as the frame tree gets stale on reload
* update comments from code review
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore(deps): update dependency hasha to v5.2.2
* use hashs instead of copied code
* chore(deps): update dependency hasha to v5.2.2
* move to dep instead of devDep
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* feat: install win32-x64 binary on win32-arm64 platform
* Move changelog feature to next minor release
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* breaking: remove webpack built-ins shimmed in from webpack 4 to 5 upgrade as they should no longer be needed for most users
* Update npm/webpack-batteries-included-preprocessor/README.md
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* Update cli/CHANGELOG.md
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* refactor: Update nested groups design
* Update styles
* Enhance command method styling for child elements in the reporter. Updated the CommandDetails component to conditionally apply a class for child commands and added corresponding SCSS styles to display a prefix for child command methods.
* Fix formatting in SCSS for child command styles by adjusting indentation for better readability.
* add chanagelog entry
* Enhance command expander styling by adding a parent class for better layout control and adjusting margin for command number column.
* Update padding for error message styles in SCSS to improve layout consistency.
* Refactor SCSS styles and introduce mixins for gutter alignment and command info padding. Update error component styles for improved layout and consistency. Adjust padding and margins for better alignment across command and error sections.
* Refactor command styles by removing redundant class names and consolidating group indentation styles into a mixin. Update SCSS files to utilize the new mixin for consistent width handling across command and error components.
* Enhance SCSS mixins by adding align-self property for improved layout consistency in command info and group indentation styles.
* Remove redundant align-self property from SCSS mixin for command info and add logging and expectation in Cypress test for improved clarity in UI state tests.
* Use snapshotReporter instead
* Refactor snapshotReporter to dynamically set width based on reporter panel size, improving snapshot accuracy and visibility of UI elements.
* Update snapshotReporter to include sidebar width in percy snapshots, enhancing UI element visibility and accuracy.
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore(deps): update dependency sinon-chai to v3.7.0
* empty commit
* bump circle cache
* add sinon-chai to base package.json as its used to test base level scripts
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* Update cy.press signature to be Chainable
Since it's added via `Commands.add`, I believe `cy.press` should have a return type of `Chainable<null>` rather than `void`
* Update first_spec.cy.js
Updated test for chainable
* use addAll rather than add to avoid type check
* fix unit test
* Add cli entry
* update changelog
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* feat: ship webpack-bundle-analyzer with @cypress/webpack-dev-server and @cypress/webpack-batteries-included-preprocessor to help better diagnose build issues for cypress users
* Update npm/webpack-dev-server/test/devServer-unit.spec.ts
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* begin removing migration code
* remove migration query
* add back actions
* remove more migration references
* more migration removals
* remove call to migration
* remove gqp-Migration file
* updates to remove migration
* update type
* remove a lot more migration code - especially errors
* Remove other errors/warnins for versions before 10.x
* update error snapshots
* fix some tests
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* remove more system tests and references
* fix call to refreshMetaState which was lost at initialization
* rearrange some system tests to not be dependent on migration
* update welcome version test
* fix wording of messaging
* skip irrelevant test
* fix failing assertion
* remove tests around cypress-plugin-retries
* Remove test from config_spec
* Remove screenshot from snapshot
* fix tests + remove more migration projects
* remove + update system tests
* remove + update system tests
* remove some invalid dev-server: start errors
* remove references and tests around pluginsFile which was removed
* remove some more invalid config examples
* Add changelog entry
* fix changelog link
* fix unit test
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* run all binary/windows tests on this branch
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* dependency: bump trash dir
* update trash files to TypeScript
* Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* fix build
* changelog entry
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Refactor existing mounter of assertions - make a CT test for it
* update more styles + add a11y features
* bump vue-icons
* Finish last styles and icons
* Fix logic
* bump shared package icons
* fix test
* update css to be scoped + set all css to initial to clear AUT styles
* add test for getOrCreateHelperDom function
* update tabbing test
* add changelog
* update changelog to include addressed in
* breaking: Remove deprecated cy.stub(obj, method, fn) signature
BREAKING: Remove deprecated cy.stub(obj, method, fn) signature
* remove the code that supports 3 args of cy.stub
* changelog entry
* remove test for support of 3 arg signature
* link issue in changelog
* feat: replace tsnode with tsx for parsing user configuration in all cases
* bump ubuntu images from node 18 to 20 as node 18 is not supported in cypress 15 and allows us to not include the 18.19.0 workaround to use --import with tsx inside the ProjectConfigIpc
* fix: issues finding tsx on windows as it needs the file:// protocol as absolute drive paths are not recognized as a file protocol in the node context
* make sure to filter out stack code correctly for windows
* fix: fix flake from windows on reporter menu not expanding (unrelated to this PR and should be merged into develop)
* chore: update changelog with all issues tsx cutover closes
* fix merge conflicts
* chore: add regression tests for cypress projects that previously did not work but now do with tsx
* build all binaries
* chore: address issues from code review
* update changelog
* remove todo comment on testing legacy migration with tsx
* refactor codeFrame calculation into a util function and add a unit test
* updated node versions in project config ipc tests to remove 18 and test threshold / latest values. Removed redundant comments on ts-node.
* fix: use getPath to prevent video file overwrite
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* chore: update changelog
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* test: add system e2e for the retain videos fix
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
* Update types for screenshots to be in util/fs
* Fix changelog entry placement
* fix extension type
* more types fixes
* fix: add required field in getPath call to satisfy ts
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: sync Data interface from develop branch
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: update SavedDetails type to better definition
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* update changelog
* break out type import into unique line to allow mksnapshot to work
* fix: minor comment fixes
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: change videoPath fn signature as per comment
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: convert the test to async/await
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* Update CHANGELOG.md
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: AtofStryker <bglesias@gmail.com>
* breaking: remove Angular 17 support
BREAKING CHANGE: Removed support for Angular 17. Only Angular 18 and 19 are now supported. This change affects the @cypress/angular package. Addresses #31303.
* empty commit to kick CI
* update changelog references to make it clearer on where angular 17 packages live historically
* fix cy framework errors app test to use angualr 18 and 19
* fix issue where di was not discoverable in resolved system tests config
* fix scaffold dependencies to use angular 18 and 19 and not 17 and 18
* fix zonr.js system test dependency resolution
* bump cache
* fix failing handler test
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>