Commit Graph

3400 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
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 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 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 2d88a43843 Merge branch 'develop' into refactor/use-public-paths 2021-03-22 19:34:18 -04: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
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
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
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
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
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 7b4783b227 Updated code to match linting rules in CT 2021-03-18 10:55:53 -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
Adam Gastineau 0b449fe058 Merge branch 'develop' into agg23/ESLintUpgrade 2021-03-18 09:47:55 -07:00
Adam Gastineau d6b904a6a0 Fixed incorrect line numbers after disabling linting rule 2021-03-18 09:15:54 -07:00
Adam Gastineau 82b1fead17 Removed some added lint exceptions 2021-03-18 06:21:16 -07:00
Chris Breiding 592c9f935a chore: Fix flaky percy snapshots (#15537) 2021-03-17 21:10:15 -04:00
Jessica Sachs e60a02912f fix: specs overflow horizontally and z-index issues (#15547) 2021-03-17 18:29:30 -04:00
Jessica Sachs ecccf54440 fix: addressing style regressions in the CT runner (#15542)
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
2021-03-17 16:36:55 -04:00
Ben Kucera 6abc245f91 fix: exception when recording with no tests in specfile (#15517) 2021-03-17 11:51:37 -04:00
Dmitriy Kovalenko 8c9cf19b5f fix(component-testing): Search spec overflowing (#15534) 2021-03-17 17:37:47 +02:00
Zach Bloomquist fdcf4825b8 fix: enable contextIsolation by default in Electron (#15493) 2021-03-17 14:32:54 +00:00
Lachlan Miller f2b880c09d feat(design-system): FileExplorer (#15513)
* wip: cleaning up the specs list and swapping it to be a filetree

* wip: refactor

* wip: refactor

* wip: work on refactor

* chore: improve types

* styling

* chore: remove all references to Cypress in tree list

* chore: remove all references to Cypress in tree list

* extract spec list component

* write some tests

* correctly update state

* chore: refactor

* update test

* make props optional

* optimizations

* add back search

* use memo

* run spec

* run spec

* fix a11l nav

* add tests for spec list a11y nav

* fix tests:

* remove unused

* update version

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-17 10:29:32 -04:00
Adam Gastineau adbd21d417 chore: Updated to latest ESLint and updated corresponding plugins 2021-03-16 13:59:24 -07:00
Zach Bloomquist 7f27100b44 fix node types 2021-03-16 16:24:19 -04:00
Zach Bloomquist 8286c0bfb3 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-16 16:02:33 -04:00
Adam Gastineau 319787bba4 Improved CT lint rules and fixed react-hooks 2021-03-16 12:04:19 -07:00
Zach Bloomquist 9f939668b1 fix: add test for cy.intercept having response for multiple aliases (#15528)
Co-authored-by: KHeo <sainthkh@naver.com>
2021-03-16 18:40:33 +00:00
Zach Bloomquist ecca7da836 electron@12.0.1 2021-03-16 10:25:30 -04:00
Zach Panzarino cb281d17e4 fix: studio icon displays properly on tests with long title (#15415) 2021-03-15 23:26:07 -04:00
Chris Breiding 237c426707 fix: Revert cypress.json changes (#15499) 2021-03-15 18:01:06 -04:00