Commit Graph

16174 Commits

Author SHA1 Message Date
Lachlan Miller 8a2fb2aa36 remove old code 2021-09-23 18:47:04 +10:00
Lachlan Miller c9a7b4de76 merge in develop 2021-09-23 18:44:53 +10:00
Lachlan Miller f61303817d chore: bump deps (#18213)
* bump deps

* update path

* update imports
2021-09-23 16:53:02 +10:00
Jessica Sachs 7f8e757bc2 feat(app): icon library supporting Cy's custom icons (#18195)
* feat: adding navigation to the frontend app

* cleaning up markup

* Adding layout and navigation and pages

* setImmediate fix

* custom-icons wip

* supporting duotone icons

* Updated the readme

* We don't need the router in our component tests yet.

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-23 12:04:00 +10:00
Jessica Sachs 0eb5bce67e feat(app): adding navigation, pages, router, and layout (#18194)
* feat: adding navigation to the frontend app

* cleaning up markup

* Adding layout and navigation and pages

* setImmediate fix

* Removing createRouter from the shared commands for now

* update yarn.lock

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-23 11:42:17 +10:00
github-actions[bot] 20c8c5faca chore: Update Chrome (stable) to 94.0.4606.54 (#18196)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-22 13:09:00 -04:00
Lachlan Miller 48a22f5c18 fix(launchpad): fix bugs introduced by urql/graphcache (#18193) 2021-09-22 11:51:02 -04:00
Jennifer Shehane f363eae9ec chore: bump yarn.lock (#18204) 2021-09-22 10:18:37 -05:00
Tim Griesser bad700b593 feat: add gulp makePackage, begin to scaffold data-context (#18186)
* add gulp makePackage, begin to scaffold data-context

* Don't type error on unused locals
2021-09-22 23:18:44 +10:00
Mark Noonan 3b8828907d feat(launchpad): Directory Upload in Global Mode (#18165)
* small html tweaks

* add basic implementation of vue3-file-selector

* add test for file upload

* update readme to reflect latest

* Update packages/launchpad/src/global/GlobalEmpty.vue

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* HTML tweaks

* add cypress-file-upload types

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-22 11:19:37 +10:00
Zach Bloomquist 0964ca2c7d chore(tests): fix flake in net stubbing/xhr/proxy logging tests (#18163) 2021-09-21 21:31:21 +00:00
Tim Griesser 2b57a2600c chore: remove nxs.gen.ts - should be created by codegen (#18184)
* chore: remove nxs.gen.ts - should be created by codegen

* Ensure the gen dir exists before adding files to it
2021-09-21 14:27:34 -04:00
github-actions[bot] f826d3aea0 chore: Update Chrome (beta) to 94.0.4606.54 (#18174)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-21 10:27:35 -04:00
Zach Bloomquist d6e4e22ab3 fix: add deprecation notice for win 32-bit (#18130)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-21 14:21:58 +00:00
Ben Kucera 9f9cf9e8b6 chore: fix broken firefox focus tests, bump resource class of chrome-beta job (#18133) 2021-09-21 09:34:48 -04:00
Cesar 0561f0b6da feat: persist project addition (#18113)
* add mutation to add a project

* await getProjectRoots

* move loading projects into its own mutation

* define mutations return as nonNull

* fix unit tests

* remove loadProjects mutation

* return Promise<LocalProject[]> from loadProjects mock

* add missing actions to TestActions
2021-09-21 10:50:21 +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
github-actions[bot] a87a373f6a chore: Update Chrome (beta) to 94.0.4606.50 (#18117)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-20 17:38:42 +00:00
Zach Bloomquist 32b9f935d8 release 8.4.1 [skip ci] v8.4.1 2021-09-17 17:40:52 -04:00
Tim Griesser 863e3680bb fix: GH env variable for test other projects (#18147)
* use GH_TOKEN rather than creds var
2021-09-17 15:39:12 -04:00
Zach Bloomquist 1b989c5baa fix(open_project): remove unnecessary fn wrapping from tryToCalls (#18146) 2021-09-17 18:58:10 +00:00
Ben Kucera 41524a9ab3 change @ts-expect-error -> @ts-ignore (#18047) 2021-09-17 12:13:10 -04:00
Lachlan Miller 5f94486bc2 merge in develop 2021-09-17 15:01:44 +10:00
Lachlan Miller 3ba3b6fed3 Merge pull request #18116 from cypress-io/16092021-wip-args
chore(server): simplify util/specs, types
2021-09-17 10:04:43 +10:00
Lachlan Miller ec4748ca2d return all specs from findSpecs, improve types 2021-09-16 16:32:34 +10:00
Lachlan Miller 390e1a276b typescript 2021-09-16 11:58:22 +10:00
Lachlan Miller 1346fa9365 remove unused code 2021-09-16 11:54:07 +10:00
Lachlan Miller e403e587e9 Merge branch 'develop' into unified-desktop-gui 2021-09-16 11:37:41 +10:00
Lachlan Miller dc8a1a2696 resolve conflicts 2021-09-16 11:36:59 +10:00
Lachlan Miller efb40620a6 Merge pull request #18101 from cypress-io/chore/remove-legacy-javascripts-config
chore: remove legacy javascripts config option and related code
2021-09-16 11:17:56 +10:00
Lachlan Miller 5ee03397f8 Merge pull request #18114 from cypress-io/chore/merge-in-develop-16-09-2021
merge in develop and resolve conflicts
2021-09-16 11:16:57 +10:00
Lachlan Miller 2b66182a66 merge in develop and resolve conflicts 2021-09-16 10:27:24 +10:00
Jennifer Shehane f82c08e3ea fix: Update DRONE branch used for Dashboard (#18062) 2021-09-15 15:14:26 -05:00
Tim Griesser 3f39d7bf84 chore: use dedicated test-runner:npm-release scope in circle (#18112) 2021-09-15 14:27:43 -04: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
github-actions[bot] c9af7ea51d chore: Update Chrome (stable) to 93.0.4577.82 and Chrome (beta) to 94.0.4606.41 (#18034)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-09-15 09:19:30 -04:00
Lachlan Miller 8bda0a9d02 chore: merge in develop to unified-desktop-gui (#18103)
* merge in develop

* remove accidentally merged file

* update types
2021-09-15 16:24:28 +10:00
Lachlan Miller da74782454 remove legacy javascripts option 2021-09-15 15:32:22 +10:00
Lachlan Miller 563a8a2fc8 bump to Vue 3.2.6 (#18098) 2021-09-15 00:33:45 -04:00
Cesar 1762caccd8 feat: add state for global mode (#18085)
* add state for global mode

* use GlobalEmpty over GlobalPage

* Add comment to clarify global type

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>

* Update server.ts

* make global non nullable

* move GlobalEmpty to Main.vue

* update ClientTestContext to have global

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-15 10:40:06 +10:00
Zachary Williams efe6d40028 fix: add @vue/compiler-sfc to fix dev errors (#18096)
* fix: add @vue/compiler-sfc to fix dev errors

* lock compiler sfc version

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-15 10:37:17 +10:00
Mark Noonan b61a17990a feat(launchpad): Browser launch screen UI (#18095)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-14 18:11:30 -04:00
Lachlan Miller 7261dec8e0 chore: add frontend-shared package (#18089)
* wip: shared frontend

* update

* update deps

* share client

* share urql client

* add codegen to app

* import client

* add foo

* add spec

* update

* remove old file

* remove duplicated files

* update files

* remove unused files
2021-09-15 01:19:13 +10:00
Kukhyeon Heo 7a78c1c617 chore: make hasBinary of socket.io-parser work more like the original (#17988) 2021-09-14 14:44:14 +00:00
Lachlan Miller 3f0450e332 chore(launchpad): launch e2e runner, perf improvements (#18073)
* add electron browser function

* wip: add separate page for config

* support launching e2e

* fix test

* merge in remote

* fix types

* conditionally assign browsers

* remove unused code

* remove old code

* remove old code

* update tests

* rebuild schema

* extract component

* update types to be more corrrect

* update types

* revert file
2021-09-14 13:43:19 +10:00
Zachary Williams 70c7c36781 fix: configure proper pages directory for next application (#18009)
* fix: find pages directory for next applications

* convert new files to typescript and add transpile step

* add tsconfig for plugins
2021-09-14 13:17:57 +10:00
Lachlan Miller 738469027f add missing file 2021-09-14 12:16:09 +10:00
Tim Griesser c3c40205e9 fix: move dependencies to devDependencies to fix create-build-artifacts package size guard (#18081) 2021-09-14 12:14:37 +10:00
Zach Bloomquist 0284b9d0e9 Merge branch 'develop' 2021-09-13 16:35:07 -04:00