* 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]
...
* feat: detect framework, guess component glob and query files
* add test for Storybook detection and spec generation
* fix test flake
* chore(app): simplify glob finding logic (#18562)
* rebase, use globby, create new test project
* fix ts and test scaffold
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* feat: use shikijs for highlighting code
* add line numbers
* fix Jess's remarks
* remove last instances of prism
* fix: remove unused prism packages
* fix broken build
* remove prism
* remnove prism one last time
* remove the last piece of prism in tests
* remove prism and refactor
* restore proper fe-shared test
* use windi to color shiki
* rename theme and create test
* cosmetic fixes
* avoid the jank
* fix image imports in typescript
* restore mistake
* make the shiki theme generator
* gitignore the shiki-heme generated
* add the shiki theme generation to yarn build
* make shiki theme look good
* last colors to update
* styling fixes
* styling fixes
* styling fixes
* styling fixes
* theme
* fix relative positioning
* Update .gitignore
* Update packages/frontend-shared/src/components/ShikiHighlight.vue
* remove conflicting copy button
* dont top level await
* add a readme for theme generation
* ignore generated theme
* fix integration test in launchpad
* fix other integration test
* bring back the cypress theme
* fixing public path issue
* make e2e work
* fix yarn dev (remove the double slash)
* review theme with ryan
* make copy on click optional
* adjust viewports
* move generation of theme before vite build
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* update server
* add launchMode param
* update logic
* update types
* update gql
* basic WIP for e2e
* hot reload
* dead code
* try to conditionally launch existing runner
* types
* update server
* params
* append gql port
* override to default ot e2e runner on launchpad and app e2e tests
* do not set launchpad variable for e2e runs
* use window to get graphql port and correctly run e2e conditionally using CIRCLECI env. var
- 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>
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
- 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
* 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>
* wip: Structuring context & schema so it can be used on the client
* chore: fix dev mode
* Continuing to restructure graphql patterns
* Cleaning up the server
* Don't hash for now, for vite
* fix for CI
* WIP on integrating with vue
* yarn lock
* no need to return props from setup
* use useResult for more concise and better type safety
* fix regression
* wip: migrate to apollo
* Wip: mostly working with pollInterval
* apollo -> urql
* cleanup
* continuing to cleanup
* fix: updates to tests, strict type checking
* Tests passing
* wip: attempting rename
* adding @packages/graphql
* simplified fragment testing
* fixing build scripts
* remove --inspect-brk
* fix ci scripts
* fix build again
* Fix tests
* Add express as dep to @packages/graphql
* fix packages
* chore(launchpad): minor updates (#17551)
* apply general improvemets from PR comments
* remove unused file
* comment out test for now
* stub out missing story module
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
* refactor: use getPathToDesktopIndex for launchpad path
* chore: add dependencies for graphql
* Get GraphQL & Vue working together
* update vue and remove need for patch-package
* add apollo example
* Update Wizard.vue
* Add prebuild
* update types
* update tests
* use debug instead of console.log
* skip test
* close gql server
* fix server unit tests
* try changing policies
* try to install angular via package.json injection
* update command
* move graphql-codegen to dependencies
* update package.json
* bump deps
* add gql
* update build
* add codegen.yml to build
* add schema to build
* include src for launchpad
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>