Commit Graph

831 Commits

Author SHA1 Message Date
Chris Breiding 9ef6053264 Merge branch 'master' into develop 2022-07-19 13:18:01 -04:00
Chris Breiding 83c592d873 Revert "chore: merge develop into master v10.3.0 (#22567)"
This reverts commit 43c5477c6b.
2022-07-19 13:13:33 -04:00
Lachlan Miller 8e07318a9f feat(npm/vue): expose Test Utils API (#22757)
* expose test utils object from cypress/mount

* inline test utils types and rewrite cli/vue/index.d.ts to use inline types

* update readme

* typo and fix comment

* revert accidental change

* revert accidental change
2022-07-16 13:59:49 +10:00
Zachary Williams 7e0de0b0d0 fix: map framework name to dependency that contains webpack (#22774) 2022-07-15 14:36:29 -05:00
Barthélémy Ledoux 97ec82009c fox: avoid removing the types from vue, vue2 when install (#22814) 2022-07-15 14:28:25 -05:00
Haoqun Jiang 8678053f7d feat: support vite.config.mts and vite.config.cts (#22782)
It's added in Vite 3.0:
https://github.com/vitejs/vite/pull/8729
2022-07-15 12:29:48 -04:00
Zachary Williams a9476ecb3d fix: remove CT side effects from mount when e2e testing (#22633) 2022-07-11 10:52:20 -05:00
Zachary Williams 62199b7379 fix: cypress-schematic ci issue with @types/eslint (#22636) 2022-06-30 17:05:18 -05:00
semantic-release-bot 3abf0cf828 chore: release @cypress/eslint-plugin-dev-v5.3.1
[skip ci]
2022-06-29 09:58:37 -04:00
WANGYUJIE 55aaf76fe3 docs: update README for @cypress/react (add commands to run tests) (#22477)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-06-29 08:33:20 -05:00
Zachary Williams 040b0544f5 chore: update ct-related READMEs and changelogs (#22538)
Co-authored-by: Blue F <blue@cypress.io>
2022-06-28 16:45:31 -05:00
Emily Rohrbough 43c5477c6b chore: merge develop into master v10.3.0 (#22567)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Sam Tsai <samtsai@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Muaz Othman <muazweb@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mike Plummer <mikep@cypress.io>
Co-authored-by: Peter Stakoun <peter@stakoun.com>
Co-authored-by: Mike Plummer <mike-plummer@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
Co-authored-by: Ishan Madhusanka <ahtimadhusanka@gmail.com>
Co-authored-by: Blue F <blue@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ely Lucas <ely@meta-tek.net>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Tyler Biethman <tbiethman@users.noreply.github.com>
Co-authored-by: Adam Stone <adams@cypress.io>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Dylan Schlabach <26153156+DJSdev@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 13:26:37 -05:00
renovate[bot] fac83fd451 chore(deps): update dependency semantic-release to v19 [security] (#22238)
* chore(deps): update dependency semantic-release to v19 [security]

* chore: try moving to semantic-release 18

* chore: update jasmine-core to 3.8.0

* chore: update semantic version 19.0.3

* fix: update test to deal with npm obscuring internal error code

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2022-06-27 12:35:58 +10:00
Blue F 0fccc45aaf fix: Increase timeout for npm-webpack-dev-server tests (#22489) 2022-06-23 10:51:50 -07:00
Tyler Biethman b925dce224 Merge pull request #22424 from cypress-io/master
Merging master into develop for 10.2.0 release
2022-06-21 11:03:14 -05:00
Zach Bloomquist d01932bf75 fix: retry on EMFILE always, lint sync FS calls (#22175)
* fix: use graceful-fs always, warn in development on sync calls

* skip prop linting in some dirs

* eslint rules

* use AST-based lint rule instead

* comment

* ignore existsSync

* run without nextTick

* remove dev warning code

* fix order

* register TS first

* fix tests

* fix test

* cover new call site

* fix new test
2022-06-16 14:35:31 +10:00
semantic-release-bot 1e42ba3c33 chore: release @cypress/webpack-dev-server-v2.0.0
[skip ci]
2022-06-13 19:23:56 -04:00
semantic-release-bot 1054447398 chore: release @cypress/vue2-v1.0.1
[skip ci]
2022-06-13 19:23:25 -04:00
Zachary Williams 0bd306962b fix: remove http npm registry link for vue2 2022-06-13 17:38:39 -05:00
semantic-release-bot 9b56555237 chore: release @cypress/vue2-v1.0.0
[skip ci]
2022-06-13 18:34:11 -04:00
semantic-release-bot b9174f2f98 chore: release @cypress/vue-v4.0.0
[skip ci]
2022-06-13 18:25:49 -04:00
semantic-release-bot 960c792577 chore: release @cypress/vite-dev-server-v3.0.0
[skip ci]
2022-06-13 18:25:06 -04:00
semantic-release-bot f36ca47d87 chore: release @cypress/react-v6.0.0
[skip ci]
2022-06-13 18:24:24 -04:00
semantic-release-bot dfd20ce3ca chore: release @cypress/mount-utils-v2.0.0
[skip ci]
2022-06-13 18:23:38 -04:00
semantic-release-bot ad715a306d chore: release create-cypress-tests-v2.0.0
[skip ci]
2022-06-13 18:22:23 -04:00
Zachary Williams 9cfec9750f fix: add package.json metadata for webpack-dev-server (#22292) 2022-06-13 16:29:35 -05:00
Zachary Williams b924d086ee chore: prep npm packages for use with Cypress v10
BREAKING CHANGE: new version of packages for Cypress v10
2022-06-13 12:06:26 -05:00
Zachary Williams 3b5a245ec4 fix: sanitize internal vite plugins (#22055)
* fix: sanitize internal vite plugins
2022-06-02 16:38:08 -04:00
semantic-release-bot 9a36ecf5f7 chore: release @cypress/schematic-v2.0.0
[skip ci]
2022-06-01 15:51:13 -04:00
Zachary Williams dadfd4b716 chore: enable @cypress/schematic for npm publishing
BREAKING CHANGE: support for Cypress v10 schematics and builders
2022-06-01 14:23:26 -05:00
semantic-release-bot 4e2d77cbf3 chore: release @cypress/webpack-preprocessor-v5.12.0
[skip ci]
2022-06-01 14:21:22 -04:00
semantic-release-bot dfa5e98bd0 chore: release @cypress/eslint-plugin-dev-v5.3.0
[skip ci]
2022-06-01 14:20:50 -04:00
Tim Griesser 566a7b1feb fix: UNIFY-1774 error if component config is not sourced for webpack/vite (#21563)
* fix: UNIFY-1774, throw error if we do not detect a webpackConfig for the user

* remove dead code, rely on auto-sourcing webpack config

* fix error styles, exit the devServer process when config is missing, guard against empty remoteState

* Add missing webpack for todos project

* Update npm/webpack-dev-server/src/makeWebpackConfig.ts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-05-31 14:34:05 -04:00
Zachary Williams b66c2a6f4e chore: mark ct packages as private (#21650)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-05-27 18:35:14 +00:00
Ryan Manuel f2bce02f5d fix: issue with compilation failures in component testing (#21599)
* fix: issue with compilation failures in component testing

* add tests

* fix tests

* Refactor tests

* Fix tests

* Refactor tests

* Fix tests

* Fix paths for dependencies in system tests

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* test fix for initial esbuild failures

* Fix tests

* Add back ESLintPlugin

* Add comments around our special esbuild handling logic in vite

* Code cleanup and additional test scenario

* Add config syntax error tests

* Improve tests

* Update comment and remove unused variable

* Remove unneeded hook in webpack dev server

* Disable dev server overlay

* Revert "Remove unneeded hook in webpack dev server"

This reverts commit 98b2f269ae.

* PR comments

* Accidental removal

* Fix dedent

* PR comments
2022-05-25 18:02:05 -05:00
Zachary Williams d6502cafdc Merge remote-tracking branch 'origin/develop' into zachw/merge-develop-10.0 2022-05-23 22:08:39 -05:00
Tyler Biethman 87eec2b460 fix: Ensuring spec file presence prior to webpack-dev-server compilation (#21550)
* fix: Ensuring spec file presence prior to webpack-dev-server compilation

* Clean up test a bit

* Async beforeCompile

* Adding unit test for new behavior

* Moving e2e test to react specs for better project coverage
2022-05-20 12:17:33 +10:00
Zachary Williams ada7179acb fix: next 12.1.6 support and add tests (#21515) 2022-05-18 10:17:33 +10:00
semantic-release-bot a68e3befef chore: release @cypress/react-v5.12.5
[skip ci]
2022-05-17 17:49:24 -04:00
Zachary Williams 72ed33c4ea fix: add support for Next.js v12.1.6 (#21516) 2022-05-17 15:27:57 -05:00
Zachary Williams 630e4220ca fix: use resolved port for vite (#21490) 2022-05-17 15:25:39 -05:00
Tyler Biethman 3967c22b7d Merge branch '10.0-release' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10-with-electron 2022-05-17 01:34:18 -05:00
Alejandro Estrada 140b4ba211 fix: display cy.mount command log (#21500)
* fix: display cy.mount log

* Update with feedback
2022-05-17 12:36:52 +10:00
Tyler Biethman 33a60f8521 Merge branch '10.0-release' into tbiethman/develop-into-10-with-electron 2022-05-16 09:20:27 -05:00
Alejandro Estrada 3274da7842 fix: terminal error message for non migrated config (#21467)
* fix: terminal error message for non migrated config

* fix: terminal error message for non migrated config
2022-05-13 16:56:01 -05:00
Tyler Biethman 07159e8664 Merge branch '10.0-release' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10-with-electron
# Conflicts:
#	circle.yml
2022-05-13 11:20:51 -05:00
Zachary Williams 0f786ab893 fix: ct testing support for node 17+ (#21430) 2022-05-13 11:01:30 -05:00
Tyler Biethman 2d69c7451b MORE TYPES 2022-05-12 15:37:35 -05:00
semantic-release-bot f5dd2c88ce chore: release @cypress/schematic-v1.7.0
[skip ci]
2022-05-11 15:00:59 -04:00
Adam Murray 8de7594446 feat(cypress/schematic): add headed option and other fixes (#21415) 2022-05-11 13:16:17 -05:00