Commit Graph

15137 Commits

Author SHA1 Message Date
Zach Bloomquist f6a5d1ea2e feat: change cy.intercept override behavior (#14543) 2021-03-26 18:22:18 +00:00
Zach Bloomquist 491e6e2286 Merge branch 'develop' into 7.0-release 2021-03-26 16:15:31 +00:00
Dmitriy Kovalenko d8fb895765 fix(component-testing): Align headers correctly (#15641)
* fix(component-testing): Align headers correctly

* fix(component-testing): Correctly exit process in run mode for compilation errors

* Revert "fix(component-testing): Correctly exit process in run mode for compilation errors"

This reverts commit 45f8e72101.

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-26 18:22:06 +10:00
Barthélémy Ledoux 357a296fde fix: remove failing imports (#15661)
If it never worked and nodbody complained it must be useless

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-26 11:31:46 +10:00
Lachlan Miller 0864c90b61 fix(runner-ct): scale AUT correctly (#15649) 2021-03-25 11:37:47 -05:00
Dmitriy Kovalenko eca2c9d166 fix(component-testing): Correctly exit process in run mode for compilation errors (#15642)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-25 15:16:21 +10:00
Dmitriy Kovalenko ae31e5d1b9 chore(component-testing): Correctly handle errors in plugins for dev-server:start (#15630)
* chore(component-testing): Correctly handle errors in plugins for dev-server events

* chore: imporve message

* Update packages/server-ct/src/project-ct.ts

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-03-25 13:07:59 +10:00
Dmitriy Kovalenko 1ecbe493ad chore(@cypress/react): Rework command logging and snapshotting (#15628)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-25 11:31:06 +10: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
Zach Bloomquist 16e1577848 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-24 16:27:56 -07:00
Chris Breiding d9c3ae24c3 fix: Fix "coordsHistory must be at least 2 sets of coords" error (#15643) 2021-03-24 15:30:34 -04:00
Lachlan Miller 56234e52d6 fix(runner-ct): add highlighting to spec list fuzzy find (#15604)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-03-23 19:10:14 -05:00
Jessica Sachs bf07644e78 Merge pull request #15617 from cypress-io/agg23/RunnerCTCleanup 2021-03-23 15:19:39 -04:00
Jessica Sachs 31d5057ca3 Merge branch 'develop' into agg23/RunnerCTCleanup 2021-03-23 14:09:39 -04:00
Zach Panzarino 3700fe7271 feat: create new spec file from desktop-gui (#15335)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-03-23 12:20:34 -04:00
Adam Gastineau e206fb6d1c Merge branch 'agg23/RunnerCTCleanup' of https://github.com/cypress-io/cypress into agg23/RunnerCTCleanup 2021-03-23 07:39:14 -07:00
Adam Gastineau 45f77a7469 Removed unnecessary useEffect to state 2021-03-23 07:38:59 -07:00
Lachlan Miller 1073064d8b Merge branch 'develop' into agg23/RunnerCTCleanup 2021-03-23 14:02:51 +10:00
Jessica Sachs a97318c4ad Merge pull request #15616 from cypress-io/refactor/use-public-paths 2021-03-22 23:07:46 -04:00
Jessica Sachs 2d88a43843 Merge branch 'develop' into refactor/use-public-paths 2021-03-22 19:34:18 -04:00
Zach Bloomquist 36f26d988f chore: fix NEXT_VERSION override (#15564) 2021-03-22 22:46:24 +00:00
Manuel Abascal cbb9664794 feat(issue-6229): added support for searching files using keyboard inputs based on OS (#15388)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2021-03-22 15:44:39 -04:00
Kukhyeon Heo a24d782384 fix: add the type definition for cy.writeFile with 4 arguments. (#15602)
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2021-03-22 15:43:36 -04:00
Adam Gastineau 23dfa5cb32 Fixed ugly text formatting 2021-03-22 10:04:36 -07:00
Adam Gastineau 32aef8711a Merge branch 'develop' of https://github.com/cypress-io/cypress into agg23/RunnerCTCleanup 2021-03-22 09:59:42 -07:00
ElevateBart 6983aaf3d1 tests: add a little wait to see loading 2021-03-22 11:52:00 -05:00
Barthélémy Ledoux bb279c34d5 Merge branch 'develop' into refactor/use-public-paths 2021-03-22 11:29:21 -05:00
ElevateBart 2917fe3f68 refactor: properly use the dev server publicPaths 2021-03-22 11:20:05 -05:00
Adam Gastineau ea1c817864 chore(component-testing): Stricter linting (#15588)
* Added more strict JSX rules

* Improved CT lint rules and fixed react-hooks

* Updated code to match linting rules in CT

* Added new linting rules to design-system

* Fixed funky text formatting within JSX

* Fixed missed text issue

* Added optional chaining to Babel config

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-23 01:34:14 +10:00
Lachlan Miller 43c8ae2a7c feat: support ct/e2e specific overrides in cypress.json (#15526)
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
2021-03-21 23:28:59 -04:00
Saturnino Abril 35be2aea2a feat: Add user's log option to cy.tick (#15586)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-03-20 15:05:29 -04:00
SurajChande e41cfc1757 build: Update dependencies with security vulnerabilities (#15168)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-03-20 09:32:55 -04:00
Jennifer Shehane 954db7095b chore: Remove percy-finalize from required jobs for npm-release (#15589) 2021-03-19 14:45:44 -04:00
Adam Gastineau 808a4968d0 Properly clean up useScreenshotHandler 2021-03-19 10:07:33 -07:00
Adam Gastineau 0c0cd4d271 Cleaned up data building and callbacks in RunnerCt render 2021-03-19 09:43:42 -07:00
Adam Gastineau 5fb4c12dea chore: Updated to latest ESLint and updated corresponding plugins (#15531) 2021-03-19 09:35:34 -07:00
Jessica Sachs 8793d56cce Merge branch 'develop' into agg23/ESLintUpgrade 2021-03-19 11:26:30 -04:00
Adam Gastineau dddeef0be6 Fixed SpecContent due to react-split-pane not working with fragment 2021-03-19 06:47:17 -07:00
Jessica Sachs f7c86654ae chore: merge master (a4bef60e2) into develop (#15573)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-19 01:44:14 -04:00
Jessica Sachs ed7791b546 Merge branch 'develop' into a4bef60e2-master-into-develop 2021-03-19 01:08:33 -04:00
Jessica Sachs 8286fcd0b9 chore: fix the Linux lint circleci task not finishing (#15572) 2021-03-18 21:47:40 -04:00
Jessica Sachs a4bef60e2a chore: cherry-picking conditional CI changes into master and fixing releaserc.js (#15571)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-18 20:59:57 -04: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
Dmitriy Kovalenko 9a1c8654ad fix(component-testing): Viewport resetting after applying snapshot (#15557) 2021-03-18 19:51:10 -04:00
Adam Gastineau cbda7bfae4 Began cleaning up RunnerCT.tsx 2021-03-18 13:43:36 -07:00
Adam Gastineau 6c09c77076 Merge branch 'agg23/ESLintUpgrade' of https://github.com/cypress-io/cypress into agg23/CTLinting 2021-03-18 13:32:15 -07:00
Adam Gastineau 3cb8d64cb7 Merge branch 'develop' of https://github.com/cypress-io/cypress into agg23/ESLintUpgrade 2021-03-18 11:38:56 -07:00
Adam Gastineau 7b4783b227 Updated code to match linting rules in CT 2021-03-18 10:55:53 -07:00
Adam Gastineau 7eb5cf91b3 Linted newly changed code from merge 2021-03-18 10:19:23 -07:00
Adam Gastineau 81296c2109 Merge branch 'agg23/ESLintUpgrade' of https://github.com/cypress-io/cypress into agg23/CTLinting 2021-03-18 10:14:20 -07:00