Commit Graph

35 Commits

Author SHA1 Message Date
Dmitriy Kovalenko 254eb47d91 fix(component-testing): Fix webpack-dev-server deps validation crash (#15708)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-02 10:12:57 -05:00
ElevateBart 9f117dc9a7 update readme for the dev-servers 2021-04-01 10:53:46 -05:00
Adam Gastineau fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
Dmitriy Kovalenko b1f831a86a fix(@cypress/react): Devtools unpredictable resets (#15612)
* fix: Devtools unpredictable resets

* Remove cleaning up from webpack-dev-server

* Fix lint errors

* Get back observer

* fix: bring back cleanup (#15634)

* fix: wait for fw teardown to do html teardown

* fix: port responsibility of teardown to frameworks

* chore: add comments

* fix: typings

* fix: react unmount cannot be called in the right hook

* run dtslint

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-03-25 10:43:34 +10:00
ElevateBart 2917fe3f68 refactor: properly use the dev server publicPaths 2021-03-22 11:20:05 -05:00
Barthélémy Ledoux a12b72b81d refactor(component-testing): simplify vue mount (#15275)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-18 20:38:59 -04:00
Jessica Sachs ee2b1beb22 chore: remove conditional test suite, ciDependents, and ciJobs (#15552)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-18 13:09:16 -04:00
semantic-release-bot 0158158132 chore: release @cypress/webpack-dev-server-v1.1.0
[skip ci]
2021-03-15 15:28:19 -04:00
Chris Breiding 1491ab0d52 Merge branch 'develop' 2021-03-15 14:46:36 -04:00
github-actions[bot] ef1b02d955 chore: merge master (a37ab762f) into develop (#15412)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-13 04:59:21 -05:00
semantic-release-bot 07b235dbe9 chore: release @cypress/webpack-dev-server-v1.0.4
[skip ci]
2021-03-10 16:39:44 -05:00
Barthélémy Ledoux 1ce57554e2 fix: trigger release of the packages (#15405) 2021-03-10 15:11:14 -05:00
Barthélémy Ledoux 5fd91bde01 chore: deliver npm modules (#15398)
* fix: deliver webpack-dev-server new architecture

* fix: make vite-dev-server work

* fix: deliver react and vite-dev-server

* fix: deliver the vue2 package too

* fix: rollback react changes published to next
2021-03-10 12:40:59 -06:00
ElevateBart 50b39a2e31 make process.exit mockable 2021-03-05 22:08:34 -06:00
ElevateBart 4ec655b784 feat: webpack stop early when error in run mode 2021-03-05 14:39:06 -06:00
Dmitriy Kovalenko 6b515c777c fix(@cypress/react): Correctly unmount react components (#15250) 2021-02-26 21:58:27 +02:00
Barthélémy Ledoux bb55be005a Merge branch 'master' into develop 2021-02-25 17:14:22 +00:00
Barthélémy Ledoux 261b0b97b4 build: CD waits for webpack-dev-server tests (#15148)
* build: CD waits tests f/ vite & webpack-dev-server

* fix: wait for build to complete before test

* fix: disable failing vite tests

* fix: remove failing vite tests from the ci
2021-02-25 11:13:42 -06:00
Lachlan Miller 50cfa91e89 chore: add a script to run all react tests in a single step (#15137)
Co-authored-by: Дмитрий Коваленко <dmitrijkovalenko@Dmitrijs-MacBook-Pro.local>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
2021-02-22 19:34:26 -05:00
Dmitriy Kovalenko f237050fdb feat: Use lazy compilation for webpack-dev-server by default (#15158)
* Use lazy compilation for webpack-dev-server

* Do not lazy compile in run mode

* Cache babel on CI

* Fix config

* Fix ts error

* Update webpack-dev-server unit tests

Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-02-22 14:25:27 +02:00
Dmitriy Kovalenko 9c642369fc chore(component-testing): Remove useless code & deps in @cypress/react and @cypress/vue (#15113)
* Remove useless code

* Add code-coverage to reacr devDependencies

* Remove react/support imports

* Remove some useless code from @cypress/react

* Cleanup vue

* Make it works :)

* Fix react errors

* Fix next.js react example

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-02-19 14:58:40 -06:00
semantic-release-bot 9379438a37 chore: release @cypress/webpack-dev-server-v1.0.3
[skip ci]
2021-02-18 18:52:51 -05:00
Jessica Sachs 36b0440b66 fix: missing index-template.html from package.json deps for webpack-dev-server (#15151) 2021-02-18 18:42:11 -05:00
semantic-release-bot 813db8d08c chore: release @cypress/webpack-dev-server-v1.0.2
[skip ci]
2021-02-18 18:11:17 -05:00
Jessica Sachs 2863e33892 fix: add webpack-dev-server to peerDependencies, improve peerDependency error handling, fix index-template.html path (#15149) 2021-02-18 18:00:48 -05:00
ElevateBart 585649c61c Merge branch 'develop' into master-merge-up 2021-02-17 14:07:51 -06:00
semantic-release-bot 4aea5e4313 chore: release @cypress/webpack-dev-server-v1.0.1
[skip ci]
2021-02-17 13:48:54 -05:00
Zach Panzarino 3a6f3b1928 fix: trigger semantic release (#15128) 2021-02-17 18:29:32 +00:00
Lachlan Miller fb7540e99d fix: add a trivial change to trigger semantic release (#15127) 2021-02-17 17:12:24 +00:00
Dmitriy Kovalenko fe27ebca87 chore(component-testing): Improve measuring webpack performance (#15105) 2021-02-17 13:19:20 +02:00
semantic-release-bot aead546f6d chore: release @cypress/webpack-dev-server-v1.0.0
[skip ci]
2021-02-15 22:46:54 -05:00
Dmitriy Kovalenko ecbec9d7d7 chore(component-testing): Create infrastructure for automatized webpack performance monitoring (#15017) 2021-02-12 15:44:29 +02:00
ElevateBart f4efe38a05 build: make npm releases work properly
- Remove extraneous failing semantic-release script
- Allow execustion of npm-release.js locally for simulation
- Provide a default fake NPM_TOKEN to avoid semantic-release break
- Update npm/vue.releaserc.js > next/npm/vue to be released as @next
- Fix package.json for npm/webpack-dev-server &
vite-dev-server to release them under sematic release
  - private should not be true
  - they should have a repository field
  - they should have a starter tag
2021-02-11 08:17:56 -06:00
Lachlan Miller 2d182902ca chore: update files based on TR review 2021-02-08 16:49:52 +10:00
Brian Mann af26fbebe6 feat: component testing (#14479)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-02-04 15:45:16 -05:00