Commit Graph

16202 Commits

Author SHA1 Message Date
Lachlan Miller
98a9c06c40 feat(unification): adding specs list for the app (#18391)
* wip

* wip

* Adding required icons and strings for spec list

* adding icons with some duplication

* wip

* fixing the colors and classes

* removing the Icon from usage in the button and input

* green => jade

* wip

* Fixes

* wip

* merge

* fixing no projects state

* Adding better spec pattern parsing

* Adding routing for the runner

* adding more tests

* update tests

* chore: lint

* update types

* types

* chore: align vue-i18n version

* update findSpecs

* remove old spec

* omit new properties returned from findSpecs

* fix test

* use different type

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-07 22:35:30 +10: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
Cesar
ad1d88e076 feat: add remove project button (#18381)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-06 16:27:01 -04:00
Shawn Taylor
5bf6d95a5b fix(launchpad): prevent code colors from leaking out of reporter (#18382)
* fix code colors leaking out of reporter

* remove imports

* change colors to match designs

* use tailwind syntax
2021-10-06 15:56:16 -04:00
Tim Griesser
ef1a9ed9f8 Fix README on unified-desktop-gui 2021-10-06 14:43:45 -04:00
Tim Griesser
11ba5c53b1 chore: improving component test infra (#18378) 2021-10-06 14:21:13 -04:00
Mark Noonan
dfdc537aa4 chore(launchpad): launchpad UI tweaks (#18369)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-10-06 11:31:42 -04:00
Cesar
98f2604abd feat: wire up add project button (#18320)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-10-06 07:42:40 -07:00
Jessica Sachs
20ca60c8a3 feat(unify): adding larger defaults for the Launchpad window (#18248) 2021-10-05 17:13:40 -04:00
Lachlan Miller
585a3e281a fix(app): allow launching app dev server w/o relying on supportFile to bundle deps (#18354)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-10-05 14:26:16 -04:00
Shawn Taylor
8e3bb327bf feat(unify): reporter dark theme (#18313) 2021-10-05 14:07:51 -04:00
Mark Noonan
999a68dc46 feat(launchpad): UNIFY-371 header menu (#18338) 2021-10-04 16:44:08 -04: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
2f5e53d442 feat(graphql): expose specs via graphql (#18288) 2021-09-29 14:24:58 -04:00
Tim Griesser
b34c9c2b2b fix: assign default chosen browser & plugin initialization (#18287) 2021-09-28 17:31:51 -04:00
Cesar
1c58797637 feat: expose projects on global welcome page (#18263)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-28 13:36:09 -07:00
Jessica Sachs
338da82961 feat(frontend-shared): unifying frontend components, build tools, styles, test config, and more. (#18265)
* feat(frontend-shared): Adding shared components, styles, test tooling, build tooling, and plugins

* chore(launchpad): fix build for feat/fronted-shared-infra (#18267)

* wip: fix build

* fix tests

* modify tsconfig

* fix typing error

* simplify imports

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-28 17:48:18 +10:00
Lachlan Miller
377ef0aae9 chore(launchpad): lint vue files (#18212)
* work on linting vue

* update linting

* update linting

* linting npm/vue

* lint all vue files

* fix type check

* update lint

* lint
2021-09-28 11:37:50 +10:00
Tim Griesser
1d5b185c5b refactor: remove nexus-decorators, add data context (#18211)
- Add `@packages/data-context`
- Add `yarn gulp makePackage` for scaffolding a new server package
- Removes `nexus-decorators` in favor of regular Nexus, creating better separation between data & schema
- Possible to launch project in different browser types

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Cesar <cesaravitia@outlook.com>
2021-09-27 11:49:39 -04:00
Lachlan Miller
3a4b971e2f fix mountFragment tests 2021-09-27 13:39:10 +10:00
userquin
8614e97802 fix(unified-desktop-gui branch): initial installation on windows (#18247) 2021-09-25 14:18:17 -04:00
Jessica Sachs
cf05740557 fix(unify): fixing icons and supporting router within the shared cypress commands package (#18237) 2021-09-24 15:55:21 -04:00
Mark Noonan
5f3c94073a feat(launchpad): improve layout and design (#18238)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-24 13:47:06 -04:00
Mark Noonan
fdfc993bdb feat(launchpad): add design tokens from Figma (#18223)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-09-24 12:06:07 -04:00
Jessica Sachs
9fde5db7a0 fix(unify): appveyor windows issue + better icon types (#18226)
* fixing icon types and rimraf on windows

* typo. evil typo
2021-09-24 14:01:03 +10:00
Jessica Sachs
bd0365d9f7 fixing broken ct tests 2021-09-23 16:51:21 -04:00
Tim Griesser
0d90510714 fix types 2021-09-23 16:15:40 -04:00
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