Commit Graph

304 Commits

Author SHA1 Message Date
Tim Griesser 6a9f5a1a41 Merge branch 'develop' into unified-desktop-gui
* develop: (40 commits)
  fix(driver): Sticky elements within a fixed container will not prevent an element from being scrolled to (#18441)
  chore: make `create` function on server.ts obsolete (#18615)
  docs: Add instructions to squash commits to develop in Contributing (#18728)
  fix(@cypress/react): throw if using Next.js swc-loader without nodeVersion=system (#18686)
  refactor: remove Ramda (#18723)
  chore: Increase paralleled machines for desktop-gui tests (#18725)
  chore: Update Chrome (stable) to 95.0.4638.69 (#18696)
  chore: release @cypress/vue-v3.0.4
  chore: release @cypress/react-v5.10.2
  chore: release @cypress/schematic-v1.5.3
  fix: remove outdated registry link (#18710)
  chore: release @cypress/schematic-v1.5.2
  chore: release create-cypress-tests-v1.1.3
  chore: Update Chrome (beta) to 96.0.4664.27 (#18676)
  chore(tests): Remove flaky assertion that relies on png how compression (#18668)
  fix: make sure to go back to no-specs when delete spec file (#17760)
  fix: Next.JS 12 components testing failing with ` TypeError: Cannot read property 'traceChild' of undefined` (#18648)
  Backport .gitignore from unified-desktop-gui
  chore(docs): add 'Upgrading Electron' instructions (#18594)
  release 8.7.0 [skip ci]
  ...
2021-11-02 21:35:26 -04:00
Alejandro Estrada 081dd19cc6 feat: Use .config files (#18578)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-02 10:24:39 -04:00
Jennifer Shehane 0273f3ebae Merge branch 'develop' into 9.0-release 2021-11-01 11:58:55 -06:00
Tim Griesser c0d781d28f refactor: remove Ramda (#18723) 2021-11-01 13:37:33 -04:00
Emily Rohrbough e396956534 feat: remove windows 32-bit support (#18630)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-10-29 08:54:02 -05:00
Blue F 196e8f62cc feat: Deprecate run-ct / open-ct, and update all examples to use --ct instead (#18422)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-26 10:36:44 -04:00
BlueWinds e7d6e6db82 Add shorter --ct alias for --component 2021-10-07 10:25:57 -07:00
BlueWinds e01d3acfe8 Add --e2e and --component CLI options 2021-10-07 10:25:46 -07:00
Lachlan Miller db3e7b3aab chore: merge in develop to unified-desktop-gui (#18388)
* chore: merge in develop

* fix types
2021-10-07 17:29:14 +10:00
Barthélémy Ledoux 7cca9b713a feat: add defineConfig function to help type config (#18302)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-05 10:44:50 -05:00
Tim Griesser c200e95e14 chore: unify e2e tests launchpad (#18314) 2021-09-30 16:50:39 -04:00
Jessica Sachs d39b1694aa feat: improved DX and support for running component and e2e tests w/ gulp (#18135)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-09-30 12:11:47 -04:00
Lachlan Miller c9a7b4de76 merge in develop 2021-09-23 18:44:53 +10:00
Tim Griesser 94541d4f18 feat: merging / delegating remote queries to cloud schema (#17875)
Changes:
- Pulls down & stitches in the "Cypress Cloud" schema from remote. Currently defaulted to "staging" so we can make quick fixes / iteration there
- Add dedicated type checking CircleCI job `check-ts`
- Adds [graphcache](https://formidable.com/open-source/urql/docs/graphcache/) to normalize the cache & provide better auto-reactivity when data changes
- Removes `LocalProject` / `DashboardProject` in favor of `Project` / `CloudProject`
- General cleanup of Vue components' GraphQL fragments
- Parallelizes launchpad tests & recording to new Cypress project: https://dashboard.cypress.io/projects/sehy69/runs
  - Did this b/c tests were frequently timing out, need to figure out the source of this
- Basic mocks for remote schema
2021-09-20 17:12:59 -04:00
Arne Westphal 8249d2ee0c fix(cli): Respect NO_PROXY on cypress download (#17702)
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-09-20 18:25:54 +00:00
Tim Griesser a851d797a8 feat: improved DX for unified-desktop-gui (#18099)
- Moves graphql-codegen config to the root, which will serve all packages needing it
- Adds gulpfile for coordinating scripts related to dev environment in launchpad app
- yarn dev from the root runs yarn gulp dev, which:
  Runs autobarrel for rolling up the @packages/graphql files
  Cleans the dist & cache for .vite
  Starts the a codegen watcher for Nexus
  Starts the graphql-codegen --watch & highlights output
  Starts vite servers for launchpad & app
  Starts electron watch.js
2021-09-15 11:54:14 -04:00
Michael Luo 74ada1157c fix: add yarn v2 pnp support to default webpack processor (#17335) 2021-07-21 20:06:28 +00:00
Ben Kucera 8a4848837a fix(breaking_change): default to headless and 1280x720 for cypress run in all browsers (#17309)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-07-19 11:18:52 -05:00
mrmeku cf689dd609 feat: Support running cypress as node process (#16505) (#16537)
Co-authored-by: Ben Alman <cowboy@rj3.net>
2021-07-09 09:38:28 -05:00
Jennifer Shehane 63236d307a fix: Update error to not indicate this 'usually' is due to deps (#17112) 2021-07-06 10:15:21 -05:00
Nikolai Røed Kristiansen 39e1786211 chore: Vendor @cypress/listr-verbose-renderer (#16855) 2021-06-08 14:08:14 -05:00
Braden Mars 315d845432 fix: Migrate from listr to listr2 (#16663) 2021-06-01 10:26:03 -04:00
Kukhyeon Heo 8e0e3c1b50 chore: update extract-zip to 2.0.1 (#16544) 2021-05-17 20:11:05 +00:00
Minijus L 6bc7e7da0f fix: use 'ca' and 'cafile' npm config options for binary download (#8877)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-05-10 22:14:54 +00:00
Adam Gastineau b8527a2a7f feat(component-testing): Expose CT through CLI module API (#16368)
* Added testingType CLI module option

* Removed isComponentTesting custom arg and replaced with testingType

* Added default value to docstring

* Removed mutating of args

* Added Module API manual testing docs
2021-05-07 12:44:15 -04:00
Jessica Sachs 8d0829fb26 feat: adding electron support for cypress component testing (#15731) 2021-04-01 18:15:20 -04:00
Jessica Sachs e657481ff2 Merge branch 'develop' into 7.0-release 2021-03-31 18:00:24 -04:00
Lachlan Miller 906b48bc69 make open-ct and run-ct public 2021-03-30 16:39:49 +10:00
Adam Gastineau fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
renovate[bot] b52ac98a69 feat(deps): update dependency electron to version 12.x 🌟 (#15292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-03-10 15:24:00 +00:00
ElevateBart 52e97bedd5 fix: setup all missing options for run-ct
Now that run-ct is using the run command of cypress,
it can benefit from a wider range of options.
The most important for me was `--headless` but the complete list is
longer:
- `--parallel`
- `--reporter`
- `--spec`
- `--no-exit`
... among others
2021-02-12 17:15:39 -06:00
ElevateBart c5e784de8e fix: add exit management on run-ct cli comand 2021-02-09 17:16:25 -06:00
Zach Bloomquist 09afc48e14 fix(cli): use per-pid filename for downloaded cypress zip (#14952) 2021-02-09 15:02:37 +00:00
Lachlan Miller 2d182902ca chore: update files based on TR review 2021-02-08 16:49:52 +10:00
Barthélémy Ledoux 9668694bc6 chore: make run-ct consistent with open-ct (#14902)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-02-04 20:54:44 -05: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
Jennifer Shehane d1d15e6cfe chore: Replace usage of moment in cli / server code (#9069) 2021-01-26 13:49:21 +06:30
Dmitriy Kovalenko 3326e8a1d6 feat(component-testing): Cli changes (#14483) 2021-01-11 13:16:49 -05:00
Gleb Bahmutov 6a42af33d9 feat(cli): add --component to the version command (#9248) 2020-11-23 08:13:23 -05:00
Jennifer Shehane bb0d98d3c6 Merge branch 'develop' into v6.0-release 2020-11-17 22:38:39 +06:30
Gleb Bahmutov 84d1afd27d feat: print bundled Node and Electron versions in cypress version (#9183) 2020-11-16 13:17:24 -05:00
Jennifer Shehane bae9d7da73 Merge branch 'develop' into v6.0-release 2020-10-30 13:02:17 +06:30
Jennifer Shehane 61088bac2a fix: Show better error message during cypress cache list when no cache (#9023)
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-10-30 11:43:33 +06:30
Jennifer Shehane b471a0cb87 Merge branch 'develop' into v6.0-release 2020-10-28 17:54:42 +06:30
Jennifer Shehane 3a8d9e62d4 chore: Remove code around deprecated APIs (#8951) 2020-10-27 00:45:19 +06:30
Ben Kucera 1f75c81964 fix: use modern cli compile target, remove unneeded polyfills (#8938)
Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-10-26 10:39:49 -04:00
Gleb Bahmutov 3ce20beee4 fix: set status property on the module API resolved object (#8799) 2020-10-19 15:20:52 +06:30
Greg Lahaye b56c8c8688 feat: add cache prune command (#8766)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-10-09 15:14:19 -04:00
Kukhyeon Heo aa4772c4cf feat: Print folder sizes with cypress cache list command. (#8590) 2020-10-05 11:31:59 -04:00
renovate[bot] f1d4026b03 feat(deps): update dependency electron to version 10.1.3 🌟 (#8406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-09-29 13:54:38 -04:00